compiling irrligcht problem

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
-=guest=-

compiling irrligcht problem

Post by -=guest=- »

Hi, I want to add the fog function to IVideoDirectX8 but when i compile it it results in a bunch of unresolved externals
Linking...
Creating library ..\Debug/Irrlicht.lib and object ..\Debug/Irrlicht.exp
CGUIEnvironment.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::gui::CGUIInOutFader::CGUIInOutFader(class irr::gui::IGUIEnvironment *,class irr::gui::IGUIElement *,int,class irr::core::rect<int>)" (??0CGUIInOutFader@gui@irr@
@QAE@PAVIGUIEnvironment@12@PAVIGUIElement@12@HV?$rect@H@core@2@@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CMeshManipulator::CMeshManipulator(void)" (??0CMeshManipulator@scene@irr@@QAE@XZ)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CWaterSurfaceSceneNode::CWaterSurfaceSceneNode(float,float,float,class irr::scene::IMesh *,class irr::scene::ISceneNode *,class irr::scene::ISceneManager *
,int,class irr::core::vector3d<float> const &,class irr::core::vector3d<float> const &,class irr::core::vector3d<float> const &)" (??0CWaterSurfaceSceneNode@scene@irr@@QAE@MMMPAVIMesh@12@PAVISceneNode@12@PAVISceneManager@12@HABV?$vector3d@M@core@2@3
3@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CParticleSystemSceneNode::CParticleSystemSceneNode(bool,class irr::scene::ISceneNode *,class irr::scene::ISceneManager *,int,class irr::core::vector3d<floa
t> const &,class irr::core::vector3d<float> const &,class irr::core::vector3d<float> const &)" (??0CParticleSystemSceneNode@scene@irr@@QAE@_NPAVISceneNode@12@PAVISceneManager@12@HABV?$vector3d@M@core@2@33@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CDummyTransformationSceneNode::CDummyTransformationSceneNode(class irr::scene::ISceneNode *,class irr::scene::ISceneManager *,int)" (??0CDummyTransformatio
nSceneNode@scene@irr@@QAE@PAVISceneNode@12@PAVISceneManager@12@H@Z)
.....
any idea why this happens?
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

I think the reason is that you are using Irrlicht 0.4 and Visual Studio 6.0.
Try a newer Irrlicht version, or add all .cpp files to the project, in the 0.4 release not all .cpp files have been added, because I forgot to try to compile it with visual studio 6.0 before I made the release.
Guest

Post by Guest »

thanx alot I downloaded 0.4.2 and it works fine now
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

niko wrote:I think the reason is that you are using Irrlicht 0.4 and Visual Studio 6.0.
Try a newer Irrlicht version, or add all .cpp files to the project, in the 0.4 release not all .cpp files have been added, because I forgot to try to compile it with visual studio 6.0 before I made the release.
Yes, I've been switching back and forth between DevCPP and MSVC with IrrLicht-Tetris, and I keep forgeting to build on both before releasing .zips :wink:
a screen cap is worth 0x100000 DWORDS
Post Reply