glutes link error |
Author :
joedeng99
Post Date :
2006-01-12 08:50
Posts :
4
|
I met trouble when I build the glutes sample 03OpenGL Window as error.
Linking...
Creating library emulatorDbg/sample.lib and object emulatorDbg/sample.exp
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup
emulatorDbg/sample.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
sample.exe - 2 error(s), 0 warning(s)
Did anyone met this before ?
Joe |
Author :
grant
Post Date :
2006-01-12 09:20
Posts :
117
|
Hi,
A likely cause for this error is that the wrong version of the glutes.lib file is being used. I see that you are compiling for the emulator. You must therefore make sure that you are using the x86 version of the library. You will need to make use of the ARM version of the library when wanting to compile for the PDA itself.
I have also received this error before when using a library compiled in VS2005 for EVC++ 4.0 so if you are still having problems, try compiling the glutes library from the source or download the EVC++ 4.0 GLUT|ES library from the 2nd OpenGL|ES tutorial page :
http://www.zeuscmd.com/tutorials/opengles/02-SettingUpYourEnvironment.php#glutes
Regards,
Grant |
Author :
joedeng99
Post Date :
2006-01-12 09:30
Posts :
4
|
Grant:
After re-compile, it works now.
Thanks
Joe |
All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005