When i try to compile the (unmodified main.cpp)Demo from the exemple directory in irrlicht 1.4.1 i get o couple of errors...
I want to know if the problem is from my compiler ( Microsoft Visual C++ 6.0 ) or the script has some bugs
Thanx .
Error compiling the Demo from irrlicht 1.4.1
I didn't post the errors because are lots of them...
When i compile the main.cpp i get :
Linking...
main.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CDemo::~CDemo(void)" (??1CDemo@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDemo::run(void)" (?run@CDemo@@QAEXXZ)
main.obj : error LNK2001: unresolved external symbol "public: __thiscall CDemo::CDemo(bool,bool,bool,bool,bool,enum irr::video::E_DRIVER_TYPE)" (??0CDemo@@QAE@_N0000W4E_DRIVER_TYPE@video@irr@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CMainMenu::run(bool &,bool &,bool &,bool &,bool &,enum irr::video::E_DRIVER_TYPE &)" (?run@CMainMenu@@QAE_NAA_N0000AAW4E_DRIVER_TYPE@video@irr@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: __thiscall CMainMenu::CMainMenu(void)" (??0CMainMenu@@QAE@XZ)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/main.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
When i compile the main.cpp i get :
Linking...
main.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CDemo::~CDemo(void)" (??1CDemo@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDemo::run(void)" (?run@CDemo@@QAEXXZ)
main.obj : error LNK2001: unresolved external symbol "public: __thiscall CDemo::CDemo(bool,bool,bool,bool,bool,enum irr::video::E_DRIVER_TYPE)" (??0CDemo@@QAE@_N0000W4E_DRIVER_TYPE@video@irr@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CMainMenu::run(bool &,bool &,bool &,bool &,bool &,enum irr::video::E_DRIVER_TYPE &)" (?run@CMainMenu@@QAE_NAA_N0000AAW4E_DRIVER_TYPE@video@irr@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: __thiscall CMainMenu::CMainMenu(void)" (??0CMainMenu@@QAE@XZ)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/main.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Re: Error compiling the Demo from irrlicht 1.4.1
Ewww. I still have to use MSV"C++" 6.0 in my work, but there's no reason to inflict it on yourself unless absolutely necessary. It will not compile DX9 headers, for one thing (because it's not strictly a C++ compiler).Laptev wrote:Microsoft Visual C++ 6.0
Visual C++ Express 2008 is free, and vastly better. If it won't run on your machine (2K Pro FTW) then Visual C++ Express 2005 is still available. I would strongly urge you to upgrade.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Strange thing is that many people complain about wrong overload resolutions, where VC6 tries to use the three parameter core::max_ instead of the two parameter version, or vice versa. This is really 
If someone knows how to fix this I'd really appreciate any help, and it seems to work here because the compiler did compile the file somehow...
If someone knows how to fix this I'd really appreciate any help, and it seems to work here because the compiler did compile the file somehow...
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Sorry, I just can't see that it's worthwhile investing any time in supporting MSV"C++" 6.0 any more. Microsoft don't do it.
I'd advocate simply dropping support for it from 1.5 onwards, and removing the project files.
I'd advocate simply dropping support for it from 1.5 onwards, and removing the project files.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
