[GEM-dev] GemPBuffer.cpp:271: error: invalid conversion from 'GLint*' to 'long int*'

Hans-Christoph Steiner hans at at.or.at
Tue Nov 3 17:59:38 CET 2009


Build error on Mac OS X 10.4/Intel.  I almost have a new build server  
deployed:

g++ -c      -I/sw/include   -I/sw/include/freetype2 -I..  -I/usr/ 
include/FTGL -I/usr/include/freetype2 -I/Users/pd/auto-build/pd-devel/ 
pd/src  -DHAVE_CONFIG_H -I/sw/include -I/sw/include/FTGL -g -O2 -fPIC - 
freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign- 
jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings  
GemPBuffer.cpp -o ../Objects/GemPBuffer.o
GemPBuffer.cpp: In constructor 'PBuffer::PBuffer(int, int, int)':
GemPBuffer.cpp:269: error: invalid conversion from 'GLint*' to 'long  
int*'
GemPBuffer.cpp:269: error:   initializing argument 2 of 'CGLError  
CGLGetVirtualScreen(_CGLContextObject*, long int*)'
GemPBuffer.cpp:271: error: invalid conversion from 'GLint*' to 'long  
int*'
GemPBuffer.cpp:271: error:   initializing argument 3 of 'CGLError  
CGLChoosePixelFormat(const CGLPixelFormatAttribute*,  
_CGLPixelFormatObject**, long int*)'
GemPBuffer.cpp:282: error: invalid conversion from 'GLint*' to 'long  
int*'
GemPBuffer.cpp:282: error:   initializing argument 2 of 'CGLError  
CGLGetVirtualScreen(_CGLContextObject*, long int*)'
GemPBuffer.cpp: In member function 'void PBuffer::enable()':
GemPBuffer.cpp:306: error: invalid conversion from 'GLint*' to 'long  
int*'
GemPBuffer.cpp:306: error:   initializing argument 2 of 'CGLError  
CGLGetVirtualScreen(_CGLContextObject*, long int*)'
make[3]: *** [GemPBuffer.o] Error 1
make[2]: *** [Base] Error 2



.hc


----------------------------------------------------------------------------

All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated.... -John Donne






More information about the GEM-dev mailing list