Difference between revisions of "Compiling with Microsoft Visual C++ (OpenXcom)"
Jump to navigation
Jump to search
RaTcHeT302 (talk | contribs) (Microsoft Visual Studio is only on Windows, duh.) |
RaTcHeT302 (talk | contribs) |
||
Line 16: | Line 16: | ||
* See the [http://msdn.microsoft.com/library/dd831853.aspx Visual Studio Documentation] for more information on the IDE. | * See the [http://msdn.microsoft.com/library/dd831853.aspx Visual Studio Documentation] for more information on the IDE. | ||
− | == | + | ==Issues fixed== |
+ | ===Failed To Load Palette=== | ||
+ | Copy the X-Com resources to your '''bin''' folder, see [[Installing (OpenXcom)|Installing]] for more details. | ||
− | ''' | + | ===afxres.h not found=== |
− | + | Remove '''resource.h''' and '''OpenXcom.rc''' from the project. | |
− | + | ===MSVCR100.DLL not found=== | |
− | |||
− | |||
− | |||
A: You're using the pre-built dependencies with an old Visual C++ version so you need to install the [http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5555 VC++ 2010 Redist]. | A: You're using the pre-built dependencies with an old Visual C++ version so you need to install the [http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5555 VC++ 2010 Redist]. | ||
− | + | ===Platform 'x64' cannot be found=== | |
− | + | Compile as Win32. | |
[[Category:OpenXcom]] | [[Category:OpenXcom]] |
Revision as of 16:15, 28 May 2015
Setting up
- Download GitHub for Windows.
- Download the source code from here, by pushing Clone in Desktop.
Compiling
- Download and install Visual Studio. A free version is available here.
- Download the following dependencies for the appropiate version of Visual Studio.
- Extract the files to <path-to-repo>\OpenXcom\
- Navigate to <path-to-repo>\OpenXcom\src and open OpenXcom.2010.sln.
- Compile and run the project by pressing the Start Debugging button with a green arrow on the top toolbar.
- Certain anti-viruses such as Avast may stop the project from building. Add the OpenXcom folder as an expection.
- See the Visual Studio Documentation for more information on the IDE.
Issues fixed
Failed To Load Palette
Copy the X-Com resources to your bin folder, see Installing for more details.
afxres.h not found
Remove resource.h and OpenXcom.rc from the project.
MSVCR100.DLL not found
A: You're using the pre-built dependencies with an old Visual C++ version so you need to install the VC++ 2010 Redist.
Platform 'x64' cannot be found
Compile as Win32.