[GEM-dev] gem fails on 10.4

Hans-Christoph Steiner hans at eds.org
Fri Nov 20 07:51:04 CET 2009


I got the 10.4/i386 build server going, and I see this:

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.oGemPBuffer.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*)'

If you need to test which version of gcc is in use, you can use what I  
have for FTGL:

#if defined(__APPLE_CC__) && __APPLE_CC__<5400

.hc




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

'You people have such restrictive dress for women,’ she said, hobbling  
away in three inch heels and panty hose to finish out another pink- 
collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf






More information about the GEM-dev mailing list