Compiling the engine...

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
elvencode
Posts: 33
Joined: Thu Oct 02, 2003 11:10 am
Location: Italy
Contact:

Compiling the engine...

Post by elvencode »

when trying to compile the last version of the engine, the VC6 compiler stops with this:

Code: Select all

--------------------Configuration: Irrlicht - Win32 Release--------------------
Linking...
   Creating library ..\Release/Irrlicht.lib and object ..\Release/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)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CSceneNodeAnimatorDelete::CSceneNodeAnimatorDelete(class irr::scene::ISceneManager *,unsigned int)" (??0CSceneNodeAnimatorDelete@scene@irr@@QAE@PAVISceneMa
nager@12@I@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CSceneNodeAnimatorCollisionResponse::CSceneNodeAnimatorCollisionResponse(class irr::scene::ISceneManager *,class irr::scene::ITriangleSelector *,class irr:
:scene::ISceneNode *,class irr::core::vector3d<float> const &,class irr::core::vector3d<float> const &,float,class irr::core::vector3d<float> const &,float)" (??0CSceneNodeAnimatorCollisionResponse@scene@irr@@QAE@PAVISceneManager@12@PAVITriangleSele
ctor@12@PAVISceneNode@12@ABV?$vector3d@M@core@2@3M3M@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CTriangleSelector::CTriangleSelector(class irr::scene::IMesh *,class irr::scene::ISceneNode *)" (??0CTriangleSelector@scene@irr@@QAE@PAVIMesh@12@PAVISceneN
ode@12@@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CTriangleBBSelector::CTriangleBBSelector(class irr::scene::ISceneNode *)" (??0CTriangleBBSelector@scene@irr@@QAE@PAVISceneNode@12@@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::COctTreeTriangleSelector::COctTreeTriangleSelector(class irr::scene::IMesh *,class irr::scene::ISceneNode *,int)" (??0COctTreeTriangleSelector@scene@irr@@Q
AE@PAVIMesh@12@PAVISceneNode@12@H@Z)
CSceneManager.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::scene::CMetaTriangleSelector::CMetaTriangleSelector(void)" (??0CMetaTriangleSelector@scene@irr@@QAE@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall irr::CIrrDeviceStub::getVersion(void)" (?getVersion@CIrrDeviceStub@irr@@UAEPBGXZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual class irr::ITimer * __thiscall irr::CIrrDeviceStub::getTimer(void)" (?getTimer@CIrrDeviceStub@irr@@UAEPAVITimer@2@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual class irr::gui::ICursorControl * __thiscall irr::CIrrDeviceStub::getCursorControl(void)" (?getCursorControl@CIrrDeviceStub@irr@@UAEPAVICursorControl@gui@2@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual class irr::scene::ISceneManager * __thiscall irr::CIrrDeviceStub::getSceneManager(void)" (?getSceneManager@CIrrDeviceStub@irr@@UAEPAVISceneManager@scene@2@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual class irr::gui::IGUIEnvironment * __thiscall irr::CIrrDeviceStub::getGUIEnvironment(void)" (?getGUIEnvironment@CIrrDeviceStub@irr@@UAEPAVIGUIEnvironment@gui@2@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual class irr::io::IFileSystem * __thiscall irr::CIrrDeviceStub::getFileSystem(void)" (?getFileSystem@CIrrDeviceStub@irr@@UAEPAVIFileSystem@io@2@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual class irr::video::IVideoDriver * __thiscall irr::CIrrDeviceStub::getVideoDriver(void)" (?getVideoDriver@CIrrDeviceStub@irr@@UAEPAVIVideoDriver@video@2@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall irr::CIrrDeviceStub::~CIrrDeviceStub(void)" (??1CIrrDeviceStub@irr@@UAE@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "protected: void __thiscall irr::CIrrDeviceStub::createGUIAndScene(class irr::IEventReceiver *)" (?createGUIAndScene@CIrrDeviceStub@irr@@IAEXPAVIEventReceiver@2@@Z)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: __thiscall irr::CIrrDeviceStub::CIrrDeviceStub(void)" (??0CIrrDeviceStub@irr@@QAE@XZ)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: void __thiscall irr::video::CVideoModeList::setDesktop(int,class irr::core::dimension2d<int> const &)" (?setDesktop@CVideoModeList@video@irr@@QAEXHABV?$dimension2d@H@core@3@@Z)
CIrrDeviceWin32.obj : error LNK2001: unresolved external symbol "public: void __thiscall irr::video::CVideoModeList::addMode(class irr::core::dimension2d<int> const &,int)" (?addMode@CVideoModeList@video@irr@@QAEXABV?$dimension2d@H@core@3@H@Z)
..\Release/Irrlicht.dll : fatal error LNK1120: 23 unresolved externals
Error executing link.exe.

Irrlicht.dll - 24 error(s), 0 warning(s)
is a problem of something not compiled or is a problem of the sources? i'd like to try fixing the OpenGL issue like the font rendering, and add some FX that not interfere with the actual work of niko :o
WingedWarrior
Posts: 8
Joined: Mon Nov 10, 2003 2:34 pm

Post by WingedWarrior »

Hi Ya

The Visual C++ project file that come with source has some of the files missing thats all :) . You just need to locate them (in the source directory) and re-add them to the project.

Some of the missing files I can point out from below are:
CGUIInOutFader.cpp
CGUIInOutFader.h
CMeshManipulator.cpp
CMeshManipulator.h
....
etc

Just look for any error where you get 'error LNK2001: unresolved external symbol' the class name that follows needs to be added.

Happy compiling :D
Guest

Post by Guest »

oh, thanks, i've not thinked about it :mrgreen: there're so much classes that i've only checked if the files were in the sources and not if are added to the project! :roll:


PS ...and i use VC every day at work :lol:
Post Reply