drk Posted March 7, 2012 Share Posted March 7, 2012 I'm trying to compile MTA:SA on Windows but I get error "c:\users\twitter\desktop\mtasa-blue\mta10\core\stdinc.h(11) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory" d3dx9.h isn't in source code I downloaded three times and don't work. I tried another downloader and don't work too. Link to comment
Kenix Posted March 8, 2012 Share Posted March 8, 2012 You need install DirectX SDK. Put all header files/libs in directory VS.( Like this: C:\Program Files\Microsoft Visual Studio 9.0\VC ( in folders: include, lib ) ( I had the same problem. ) Also you can add all this files to your project in VS. VS = Visual studio Link to comment
Winky Posted March 8, 2012 Share Posted March 8, 2012 Make sure you have the prerequisites: https://wiki.multitheftauto.com/wiki/Compiling_MTASA Link to comment
drk Posted March 8, 2012 Author Share Posted March 8, 2012 The problem is solved, no need anymore Winky Link to comment
Kenix Posted March 13, 2012 Share Posted March 13, 2012 I have problem with compile mta. So i start compile and in debug output i see it. fatal error C1047: The object or library file '.\Release\CClient.obj' was created with an older compiler than other objects; rebuild old objects and libraries LINK : fatal error LNK1257: code generation failed Build log was saved at "file://c:\mta-sa-blue\MTA10\mods\deathmatch\Release\BuildLog.htm" Client - Deathmatch - 1 error(s), 4 warning(s) I try delete CClient.obj and it's same and i try rebuild project, also clean and build and all the same. Link to comment
Kenix Posted March 13, 2012 Share Posted March 13, 2012 Rebuild whole solution Maybe you mean Rebuild solution? I tested. The same. Link to comment
drk Posted March 13, 2012 Author Share Posted March 13, 2012 Download MTA:SA 1.3 source code and use Visual Studio 2008 ( not the Express Edition and you need SP1 ( idk ) ). Link to comment
Recommended Posts