THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/10/2006 at 04:29, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
MSVC natively comes with OGL and when I try to include glut.h and use a GL funciton in my code, VC++ gives me a compiler error as a typedef in gl.h collides with the c4d api "pi" definition.
typedef void (APIENTRY * PFNGLARRAYELEMENTARRAYEXTPROC)(GLenum mode, GLsizei count, const GLvoid* pi);
Any idea how to solve this problem?