Hi there!
I am new to wxWidgets . After support from the forum participants, I managed to build the static libraries necessary to implement the code with wxWidgets . However, during the compilation of the samples, all of the OpenGL samples failed to compile. The warnings/errors for the sample Pinguin are as follows :
penguin : warning PRJ0041 : Cannot find missing dependency 'winwlm.h' for file 'penguin.rc'. Your project may still build, but may continue to appear out of date until this file is found.
The same warning for 'macwin32.h' (6 times!)
The same warning for 'rpcerr.h'
The same warning for 'rpcmac.h'
The same warning for 'macname1.h'
The same warning for 'macpub.h'
The same warning for 'macapi.h'
The same warning for 'macname2.h'
The same warning for 'aygshell.h'
Any idea why I get these warnings?
And
Compiling...
trackball.c
Compiling...
dxfrenderer.cpp
.\dxfrenderer.cpp(27) : fatal error C1189: #error : "OpenGL required: set wxUSE_GLCANVAS to 1 and rebuild the library"
penguin.cpp
.\penguin.cpp(24) : fatal error C1189: #error : "OpenGL required: set wxUSE_GLCANVAS to 1 and rebuild the library"
Generating Code...
Build log was saved at "file...." penguin - 2 error(s), 0 warning(s)
Unfortunately, I do not understand the error C1189 that repeats twice : "OpenGL required: set wxUSE_GLCANVAS to 1"
Any idea why I get these errors for OpenGL?
I appreciate any comment/help/recommendation/link .
Regards
M.
System Information : XP Proffessional, Visual C++ Express Edition