COMPILE PROB

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
nindc
Posts: 1
Joined: Sun Jul 29, 2007 12:00 am

COMPILE PROB

Post by nindc »

hi i'm having really compiling problems in visual c++ express , this is my config

win xp sp2
visual c++ express 2005
microsoft platform SDK 2003
directx 9 SDK june 2007


first i try to compile the examples but i got this linking error

LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup


then i thought that maybe it would be a better way compiling the library source , but got this

CIrrDeviceWin32.obj : error LNK2019: unresolved external symbol "class irr::video::IVideoDriver * __cdecl irr::video::createDirectX8Driver(class irr::core::dimension2d<int> const &,struct HWND__ *,unsigned int,bool,bool,class irr::io::IFileSystem *,bool,bool,bool,bool)" (?createDirectX8Driver@video@irr@@YAPAVIVideoDriver@12@ABV?$dimension2d@H@core@2@PAUHWND__@@I_N2PAVIFileSystem@io@2@2222@Z) referenced in function "private: void __thiscall irr::CIrrDeviceWin32::createDriver(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,bool,bool)" (?createDriver@CIrrDeviceWin32@irr@@AAEXW4E_DRIVER_TYPE@video@2@ABV?$dimension2d@H@core@2@I_N2222@Z)


i've been wasting time setting up the project properties with no result.


please help me , i'm getting tired, i think is a visual express problem .


thanx
mybrainisfull
Posts: 15
Joined: Sun Jul 29, 2007 4:51 pm
Location: State College, PA

bin\Win32-VisualStudio\Irrlicht.dll

Post by mybrainisfull »

Try putting this file into your windows\system32 folder.
It solved the issue for me.
mybrainisfull
Posts: 15
Joined: Sun Jul 29, 2007 4:51 pm
Location: State College, PA

Post by mybrainisfull »

Oops..I'm new around here


I meant this file if it wasn't clear on that last msg

bin\Win32-VisualStudio\Irrlicht.dll
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

heh I saw it :wink:


rather then that.. add irrlicht as an include under options->vc directories

there is a combo box with executable, includes, lib... becomes pretty obvious at that point.


also make sure you're adding the lib/win32 visual studio 32bit/lib.a

and not just the lib directory.
Post Reply