SRB2 source suddenly stopped compiling.

Status
Not open for further replies.

Kaysakado

Member
In DX_Error.c, I'm getting an error saying DDraw.h and DSound.h don't exist, (They're #included) and that prompts a lot more errors, due to variables apparentally from those two files.
 
Try reinstalling the DirectX devpak. If it's installed correctly, those header files should be found. It might be worth checking your include path, too.
 
Oogaland said:
It might be worth checking your include path, too.
Did you try this, too? If the files are in your compiler's default include directory (check!), then it shouldn't need to be set specially anyway, but this is your next port of call.
 
If you're talking about Project->Project Options->Directories->Include Directories, I did check, and it was balnk.
 
Kaysakado said:
If you're talking about Project->Project Options->Directories->Include Directories, I did check, and it was balnk.
Those directories are extras for the individual project. The global settings are shown in Tools->Compiler Options->Directories->C Includes and ...->C++ Includes.
 
C includes has the following:
Code:
[My Dev-C++ folder]\include
And C++ includes has this:
Code:
[My Dev-C++ folder]\lib\gcc\mingw32\3.4.2\include
[My Dev-C++ folder]\include\c++\3.42\backward
[My Dev-C++ folder]\include\c++\3.42\mingw32
[My Dev-C++ folder]\include\c++\3.42
[My Dev-C++ folder]\include
 
Bump/double post.

Also, since Dev-C++ seems to not be working anymore, can someone give me instructions on how to compile in Visual Studio? That might work.
 
Kaysakado said:
Bump/double post.

Also, since Dev-C++ seems to not be working anymore, can someone give me instructions on how to compile in Visual Studio? That might work.
It's considerably fiddlier to set up than Dev-C++.

You need FMod 3.75 and nasm. Depending on which version of Visual Studio you're using, you might also need the DirectX SDK, the Platform SDK and the Processor Pack. Visual C++ 6 is the only environment that will work directly without tweaking (after installing the requisite bits and pieces), but newer versions should work in theory.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top