compile error and just some questions about irrlicht

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
jjk2
Posts: 4
Joined: Sun Jul 29, 2007 8:27 pm

compile error and just some questions about irrlicht

Post by jjk2 »

i've taken a look at the demos, and wow, i am so awestruck. i'm surprised my integrated video card can handle this.


I'm using Dev C++

I am open up the projects in the /example directory. they compile wonderfully.

Now, why is it that when I createa new.cpp and copy paste the exact same code from helloworld example, it gives me the following?

Code: Select all

  [Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc' 
I even place the new.cpp in the same directory as the examples provided.

I'm stumped. I've also taken a look at the searches on this forum. but yet to see the same error.

also some side question: does irrlict have networking built in as well? what does irrlicht mean anyhow. what is the system requirement for irredit?

Thanks again.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

you don'z link against the lib irrlicht.a !!!
look at the project settingd (properties) of the examples...
you'll have to link against the correct lib and specify the Irrlicht include folder !!! ;)

no, no network capability...

look at the Irrlicht homepage, there somewhere is explained what Irrlicht means and how it's pronounced...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Dark IP
Posts: 2
Joined: Tue Aug 14, 2007 3:08 pm

Post by Dark IP »

Well, I'm using this thread now because i got the same problem, when i try it without a project file.

BUT, if i try, let's say, one of the examples there is a much more confusing error.
D:\Dev-Cpp\Examples\irrlicht\examples\01.HelloWorld\Makefile.win [Build Error] [main.o] Error 1
thats what the compiler says and here is the compiler log:
Compiler: Default compiler
Building Makefile: "D:\Dev-Cpp\Examples\irrlicht\examples\01.HelloWorld\Makefile.win"
Führt make... aus
make.exe -f "D:\Dev-Cpp\Examples\irrlicht\examples\01.HelloWorld\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include"

g++.exe: main.cpp: No such file or directory
g++.exe: no input files

make.exe: *** [main.o] Error 1

Ausführung beendet
Oh well, i'm sorry for mixing some german in it, but the main problem should be clear: while Compiling, the compiler can't find the source file anymore! And I don't know how to solve this problem.

I tired some of the examples of Irrlicht, as well as copy them and put them somewhere else (with correcting the pathes, of couse).

It would be really nice, if someone could solve it beause i want to use this engine so much!! Thanks :)
Post Reply