<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yarolig</id>
	<title>UFOpaedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yarolig"/>
	<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/Special:Contributions/Yarolig"/>
	<updated>2026-05-01T08:38:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Compiling_with_Microsoft_Visual_C%2B%2B_(OpenXcom)&amp;diff=118614</id>
		<title>Compiling with Microsoft Visual C++ (OpenXcom)</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Compiling_with_Microsoft_Visual_C%2B%2B_(OpenXcom)&amp;diff=118614"/>
		<updated>2024-04-06T14:51:16Z</updated>

		<summary type="html">&lt;p&gt;Yarolig: /* unresolved external symbol &amp;quot; YAML &amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Libraries ==&lt;br /&gt;
* SDL: https://libsdl.org/release/SDL-devel-1.2.15-VC.zip&lt;br /&gt;
* SDL_mixer: https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-devel-1.2.12-VC.zip&lt;br /&gt;
* SDL_image: https://www.libsdl.org/projects/SDL_image/release/SDL_image-devel-1.2.12-VC.zip &lt;br /&gt;
&lt;br /&gt;
==Setting up==&lt;br /&gt;
&lt;br /&gt;
# Download [https://windows.github.com/ GitHub for Windows].&lt;br /&gt;
# Download the source code from [https://github.com/SupSuper/OpenXcom here], by pushing &#039;&#039;&#039;Clone in Desktop&#039;&#039;&#039;.&lt;br /&gt;
# Download and install [http://store.steampowered.com/app/7760/ X-COM: UFO Defense]. &lt;br /&gt;
# Navigate to &#039;&#039;&#039;&amp;lt;path-to-game&amp;gt;\XCOM\&#039;&#039;&#039; and copy the following folders.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GEODATA&lt;br /&gt;
GEOGRAPH&lt;br /&gt;
ROUTES&lt;br /&gt;
MAPS&lt;br /&gt;
SOUND&lt;br /&gt;
TERRAIN&lt;br /&gt;
UFOGRAPH&lt;br /&gt;
UFOINTRO&lt;br /&gt;
UNITS &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
5. Navigate to &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\bin\UFO&#039;&#039;&#039; and paste the folders in there. &lt;br /&gt;
&lt;br /&gt;
==Compiling (x32 Release)==&lt;br /&gt;
# Download and install Visual Studio. A free version is available [https://www.visualstudio.com/products/visual-studio-community-vs here].&lt;br /&gt;
# Download the following dependencies for the appropriate version of Visual Studio:&lt;br /&gt;
#* [http://openxcom.org/download/dev/openxcom-deps-win-vc2010.zip 2010]&lt;br /&gt;
#* [http://openxcom.org/download/dev/openxcom-deps-win-vc2013.zip 2013]&lt;br /&gt;
#* [http://openxcom.org/download/dev/openxcom-deps-win-vc2015.zip 2015]&lt;br /&gt;
#* [http://openxcom.org/download/dev/openxcom-deps-win-vc2017.zip 2017+]&lt;br /&gt;
# Extract the archive&#039;s contents to &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\&#039;&#039;&#039;&lt;br /&gt;
#Navigate to &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\src&#039;&#039;&#039; and open &#039;&#039;&#039;OpenXcom.2010.sln&#039;&#039;&#039;.&lt;br /&gt;
#Compile the project by right clicking on &#039;&#039;&#039;OpenXcom&#039;&#039;&#039; and selecting &#039;&#039;&#039;Build&#039;&#039;&#039;. Upgrading the project may be needed on newer versions of Visual Studio.&lt;br /&gt;
#Navigate to &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\bin&#039;&#039;&#039; then copy all the &#039;&#039;&#039;DLLs&#039;&#039;&#039; from &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\bin\Win32&#039;&#039;&#039; to &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\bin\Win32\Release&#039;&#039;&#039;&lt;br /&gt;
#Move the &#039;&#039;&#039;common&#039;&#039;&#039;, &#039;&#039;&#039;UFO&#039;&#039;&#039; and &#039;&#039;&#039;standard&#039;&#039;&#039; folders from &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\bin&#039;&#039;&#039; to &#039;&#039;&#039;&amp;lt;path-to-repo&amp;gt;\OpenXcom\bin\Win32\Release&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Certain anti-viruses such as Avast may stop the project from building. Add the OpenXcom folder as an expection. &lt;br /&gt;
* See the [http://msdn.microsoft.com/library/dd831853.aspx Visual Studio Documentation] for more information on the IDE.&lt;br /&gt;
&lt;br /&gt;
==Issues fixed==&lt;br /&gt;
===Failed To Load Palette===&lt;br /&gt;
Copy the X-Com resources to your &#039;&#039;&#039;bin&#039;&#039;&#039; folder, see [[Installing (OpenXcom)|Installing]] for more details.&lt;br /&gt;
&lt;br /&gt;
===afxres.h not found===&lt;br /&gt;
Remove &#039;&#039;&#039;resource.h&#039;&#039;&#039; and &#039;&#039;&#039;OpenXcom.rc&#039;&#039;&#039; from the project.&lt;br /&gt;
&lt;br /&gt;
===MSVCR100.DLL not found===&lt;br /&gt;
Install these [http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=5555 files].&lt;br /&gt;
&lt;br /&gt;
===Platform &#039;x64&#039; cannot be found===&lt;br /&gt;
Compile as Win32.&lt;br /&gt;
&lt;br /&gt;
===unresolved external symbol &amp;quot;&amp;lt;blah-blah-blah&amp;gt; YAML &amp;lt;blah&amp;gt;&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
Try adding &amp;lt;code&amp;gt;YAML_CPP_DLL&amp;lt;/code&amp;gt; define to the project properties&lt;br /&gt;
&lt;br /&gt;
===linker errors===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
2&amp;gt;CVTRES : fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1, language:0x0409&lt;br /&gt;
&lt;br /&gt;
2&amp;gt;LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right-click in Solution Explorer on the openxcom project, click Properties.&lt;br /&gt;
Linker -&amp;gt; Manifest File -&amp;gt; Generate Manifest = No (/MANIFEST:NO)&lt;br /&gt;
&lt;br /&gt;
[[Category:OpenXcom]]&lt;/div&gt;</summary>
		<author><name>Yarolig</name></author>
	</entry>
</feed>