Search found 167 matches

by Andreas
Mon Nov 01, 2004 3:43 pm
Forum: Beginners Help
Topic: Howto compile tutorial1 on linux?
Replies: 3
Views: 380

OK, a friend of mine told me the line should look like this:

Code: Select all

g++ -I/usr/include/irrlicht/ -lIrrlicht -o main main.c
and now i get a different error... :D
/tmp/cczuGtin.o(.text+0x6f): In function `main':
: undefined reference to `createDevice'
collect2: ld returned 1 exit status
any ideas?
by Andreas
Mon Nov 01, 2004 9:54 am
Forum: Beginners Help
Topic: Howto compile tutorial1 on linux?
Replies: 3
Views: 380

Howto compile tutorial1 on linux?

Hi irrlichter, i'm a nooby and trying to compile the first tutorial's main.cpp under linux. I tried: g++ -I/usr/include/irrlicht/ -L/usr/lib/ -l/usr/lib/libIrrlicht.a -o main main.c but get the following error: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot fin...