Menu
Forums
Login | Register

Home > Forums > OpenGL ES > glutes link error Page :  1 
glutes link error
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
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
Grant:
After re-compile, it works now.
Thanks

Joe

Home > Forums > OpenGL ES > glutes link error Page :  1 

You need to be logged in to reply to this topic.


All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005

Read the Disclaimer

Links