error when try to complie the DEmo_oSceneLoader

pigboy_th

21-11-2006 03:32:08

I download the file to be my example on my project but when i try to complie the error is occur like this :

Linking...
LINK : fatal error LNK1104: cannot open file '..\obj\debug\OgreOSMScene.obj'
Build log was saved at "file://c:\Documents and Settings\aiaw\Desktop\Room\oSceneLoader_demo_dagon\obj\Debug\BuildLog.htm"
Demo_oSceneLoader - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

and when i try to copy and paste the code in my project it occur like this :

Linking...
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
bin\Debug\ogre_light.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Documents and Settings\aiaw\My Documents\Visual Studio 2005\Projects\ogre_light\ogre_light\obj\Debug\BuildLog.htm"
ogre_light - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

How can I do
p.s. I'm also newbie in programing . Does any one can tell me where should i start to be understand all of the thing to programming in ogre .

Thank you for ur kindness ( 4 newbie :-> )

Lioric

22-11-2006 15:25:27

Use the search, there are similar threads about your issue