Jump to content

.h file errors


Recommended Posts

Posted

i try to compile mta 1.4 but it give these errors:

------ Build started: Project: CEGUI - DirectX9GUIRenderer, Configuration: Release Win32 ------ 
Compiling... 
d3d9renderer.cpp 
..\..\..\..\..\src\renderers\directx9GUIRenderer\d3d9renderer.cpp(31) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory 
d3d9texture.cpp 
..\..\..\..\..\src\renderers\directx9GUIRenderer\d3d9texture.cpp(31) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory 
Build log was saved at "file://c:\MTASOURCE\vendor\cegui-0.4.0-custom\makefiles\win32\VC++7.1\Renderers\DirectX9Renderer\Release\BuildLog.htm" 
CEGUI - DirectX9GUIRenderer - 2 error(s), 0 warning(s) 

In Project: Client - Deathmatch, Configuration: Release Win32 is errors:

c:\mtasource\vendor\portaudio\pa_win_ds_dynlink.h(66) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory 
pa_win_ds.c 
..\..\..\vendor\portaudio\pa_win_ds.c(60) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory 

and client - GUI

c:\mtasource\mta10\gui\StdInc.h(14) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory 

and Project: Client - Core

c:\mtasource\mta10\core\StdInc.h(11) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory 

How i can fix this?

  • MTA Team
Posted

You seem to be missing DirectX SDK. Make sure you have installed all the needed packages before compiling.

List of needed packages: https://wiki.multitheftauto.com/wiki/Compiling_MTASA

One of the [VCP] leaders // honorary member of the =PCP= gang.

 

Do not PM me your MTA:SA Client / Server support questions, Lua scripting questions, unban requests or server toplist concerns - please ask them here: MTA:SA Support subforum, here: Scripting subforum, here: Ban appeals or here: Servers instead.

For other inquiries - please expect delays in replies when messaging me.

Posted

Now it looks working fine... :D thx guys

EDIT: works perfectly now!! i made my first "edit" to the source code and it worked out perfect!!! thank you guys for helping me get things running :D

  • 3 weeks later...
  • 2 weeks later...
  • Recently Browsing   0 members

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