Hello there. I've been trying to compile the example codes from the Windows
Mobile 2003 SE SDK from Imagination Technologies for OpenGL ES 1.0 Common
Lite profile. My current commandline is:
arm-wince-mingw32ce-g++  -DARMV4 -D_ARM_ -DUNICODE -D_UNICODE
-DPVRT_FIXED_POINT_ENABLE -DDEBUG -D_WIN32_IE=0x0400
-I/home/daniel/Desktop/testegl/Include
-I/home/daniel/Desktop/testegl/Windows/Include
-L/home/daniel/Desktop/testegl/PocketPCARMV4/Lib
OGLESHelloTriangle_Windows.cpp -oteste.exe -llibGLES_CL

There are probably better ways to do it, but I want to make something easy
to drop in and start compiling. Everything ALMOST works. I get the following
messages from the compiler:
OGLESHelloTriangle_Windows.cpp: In function 'int WinMain(HINSTANCE__*,
HINSTANCE__*, TCHAR*, int)':
OGLESHelloTriangle_Windows.cpp:163: error: 'MONITOR_DEFAULTTOPRIMARY' was
not declared in this scope
OGLESHelloTriangle_Windows.cpp:163: error: 'MonitorFromPoint' was not
declared in this scope
OGLESHelloTriangle_Windows.cpp:388: warning: passing NULL to non-pointer
argument 3 of 'BOOL PeekMessageW(tagMSG*, HWND__*, UINT, UINT, UINT)'
OGLESHelloTriangle_Windows.cpp:388: warning: passing NULL to non-pointer
argument 4 of 'BOOL PeekMessageW(tagMSG*, HWND__*, UINT, UINT, UINT)'

Im using the binary distribution 0.59 and Im using Ubuntu 9.04. The line
causing the errors is the following:

163: hMonitor    = MonitorFromPoint(p, MONITOR_DEFAULTTOPRIMARY);

(I belive I shouldnt worry about the warnings, right?)

Im wondering. Its probably a missing include or perhaps a missing library
(or both?). What should I do? And congrats for the amazing project.

cheers

Daniel "NeoStrider" Monteiro
========================================
|_|0|_|  Linux Registered User #424188
|_|_|0| http://batterypoweredgames.blogspot.com/
|0|0|0| Visit to grab games for your mobile device!
========================================
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to