Page 1 of 1

COMPILE PROB

Posted: Sun Jul 29, 2007 12:07 am
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

bin\Win32-VisualStudio\Irrlicht.dll

Posted: Sun Jul 29, 2007 5:56 pm
by mybrainisfull
Try putting this file into your windows\system32 folder.
It solved the issue for me.

Posted: Sun Jul 29, 2007 5:57 pm
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

Posted: Sun Jul 29, 2007 7:57 pm
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.