Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Rapture on September 05, 2009, 08:24:56 pm

Title: CB + irrlicht + Ubuntu
Post by: Rapture on September 05, 2009, 08:24:56 pm
Hello I am a new member.... I hope this my new trip with CB will be a good trip :D
I'm an italian boy e my english isn't good.

I have a problem...
How can I configure CB + irrlicht in my ubuntu 9.04??
Code
Linking console executable: ../../bin/gcc/HelloWorld
.objs/main.o: In function `main':
/home/alex/UnrealProject/irrlicht-1.5/examples/01.HelloWorld/main.cpp:130: undefined reference to `irr::createDevice(irr::video::E_DRIVER_TYPE, irr::core::dimension2d<int> const&, unsigned int, bool, bool, bool, irr::IEventReceiver*)'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
What can I do??
Title: Re: CB + irrlicht + Ubuntu
Post by: MortenMacFly on September 05, 2009, 09:32:24 pm
What can I do??
Link against the irrlicht lib in the right order. Next time please post the full build log (see my sig how to enable it).