hey guy's i have a problem i have irrlich source working now i can make a dll and that poop but i dont knew where to start and i tryd to compile the Demo in the ../../examples/demo folder but i gat errors he has problems whit irrklang so the error is
Switching to target: default
Compiling: main.cpp
In file included from main.cpp:12:
CDemo.h:21:91: irrKlang.h: No such file or directory
In file included from main.cpp:12:
CDemo.h:65: error: `audio' has not been declared
CDemo.h:65: error: ISO C++ forbids declaration of `ISoundEngine' with no type
CDemo.h:65: error: expected `;' before '*' token
CDemo.h:66: error: `audio' has not been declared
CDemo.h:66: error: ISO C++ forbids declaration of `ISoundSource' with no type
CDemo.h:66: error: expected `;' before '*' token
CDemo.h:67: error: `audio' has not been declared
CDemo.h:67: error: ISO C++ forbids declaration of `ISoundSource' with no type
CDemo.h:67: error: expected `;' before '*' token
Process terminated with status 1 (0 minutes, 0 seconds)
10 errors, 0 warnings
so whats the problem pleas help grts TreX
Problem with CDemo
-
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact:
If you open up the source file CDemo.h and look at line 21, you'll know what you need to do.
Here is what you'll see there...
Travis
Here is what you'll see there...
Code: Select all
#ifdef USE_IRRKLANG
# include <irrKlang.h>
// problem here? go to http://www.ambiera.com/irrklang and download
// the irrKlang library or undefine USE_IRRKLANG at the beginning
// of this file.
# ifdef _IRR_WINDOWS_
# pragma comment (lib, "irrKlang.lib")
# endif
#endif