Jump to content

Error compiling MTA:SA


Recommended Posts

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 :S I downloaded three times and don't work. I tried another downloader and don't work too.

Link to comment

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...