Problem compiling 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
bicunisa
Posts: 34
Joined: Thu Apr 27, 2006 10:34 pm
Contact:

Problem compiling Irrlicht

Post by bicunisa »

Hello guys, I just downloaded the Irrlicht source from SVN and tried to compile it.

I got no problems compiling the VS.NET project, but when I tried to compile it using Code::Blocks I get this error:

Code: Select all

Linking dynamic library: Irrlicht.dll
Creating library file: libIrrlicht.a
.objs\source\Irrlicht\CSceneManager.o:CSceneManager.cpp:(.text+0x3cdc): undefined reference to `irr::scene::CSphereSceneNode::CSphereSceneNode(float, int, irr::scene::ISceneNode*, irr::scene::ISceneManager*, int, irr::core::vector3d<float> const&, irr::core::vector3d<float> const&, irr::core::vector3d<float> const&)'
collect2: ld returned 1 exit status
Process terminated with status 1 (2 minutes, 47 seconds)
0 errors, 0 warnings
And no files are created in the Win32-gcc folders :(

Any ideas what's wrong?


P.S. Since there is no .cbp file I opened the .dev file project in Code::Blocks without problem.
OMG another MMORPG project! AztlanRPG
bicunisa
Posts: 34
Joined: Thu Apr 27, 2006 10:34 pm
Contact:

Post by bicunisa »

Problem solved guys. :D


Seems like the .dev project file don't have this file in its list of files to compile:
CSphereSceneNode.cpp

So I just added it to the project, and added this one to the headers:
CSphereSceneNode.h

And that's it!
OMG another MMORPG project! AztlanRPG
sRc
Posts: 431
Joined: Thu Jul 28, 2005 1:44 am
Location: Salt Lake City, Utah
Contact:

Post by sRc »

yah niko just added those, he updated one of the project files but i dont think any of the others
The Bard sRc

Blog | Twitter
Post Reply