Author Topic: CB + irrlicht + Ubuntu  (Read 5775 times)

Rapture

  • Guest
CB + irrlicht + Ubuntu
« 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??

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: CB + irrlicht + Ubuntu
« Reply #1 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).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ