Some

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

Some

Post by Guest »

When I try to compile in VC++ 6 I get an error saying that there are undeclared identifiers. I have even tryed compiling the example code that was used to make the "demo" but I still recieve errors :?
I have included the correct directory as I am aware of (C:/engine/irrlicht/include)
Gav
Posts: 23
Joined: Fri Jul 16, 2004 12:28 pm

Post by Gav »

have to include ../whatever/whatever/irrlicht/lib" as well i believe?
Guest

Post by Guest »

ok sweet, ill try that
Guest

Post by Guest »

nope, still get an error :(
here is what I get:

--------------------Configuration: Demo - Win32 Debug--------------------
Compiling...
CDemo.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
c:\engine\irrlicht\examples\demo\cdemo.cpp(112) : error C2065: 'OutputDebugString' : undeclared identifier
Error executing cl.exe.

Demo.exe - 1 error(s), 0 warning(s)
Gav
Posts: 23
Joined: Fri Jul 16, 2004 12:28 pm

Post by Gav »

i'm not sure! Im only new to irrlicht myself..
i guess you could just comment out that line? :lol:
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post by Spintz »

CDemo.h only inlcudes windows.h if USE_AUDIERE is defined. If you took out the define for Audiere, cause you don't have it, either get it, or move

Code: Select all

#include <windows.h>
outside of the

Code: Select all

#ifdef USE_AUDIERE
...
#endif
block.
Image
Post Reply