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

Hans-Christoph Steiner hans at at.or.at
Fri Jun 19 07:29:22 CEST 2009


its from the nightly build.  I don't really know enough to mettle  
there with the SVN.

.hc

On Jun 18, 2009, at 10:52 PM, chris clepper wrote:

> I think gemframebuffer replaced that code.  Perhaps delete the file?
>
> On Thu, Jun 18, 2009 at 1:35 PM, Hans-Christoph Steiner  
> <hans at at.or.at> wrote:
>
> On Mac OS X 10.4/intel
>
> g++ -c    -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  -I/sw/include   -I/ 
> sw/include/freetype2 -I..  -I/usr/include/FTGL -I/usr/include/ 
> freetype2 -I/Users/pd/auto-build/pd-extended/pd/src  GemPBuffer.cpp - 
> o ../Objects/GemPBuffer.o
> GemPBuffer.cpp: In constructor 'PBuffer::PBuffer(int, int, int)':
> GemPBuffer.cpp:270: error: invalid conversion from 'GLint*' to 'long  
> int*'
> GemPBuffer.cpp:270: error:   initializing argument 2 of 'CGLError  
> CGLGetVirtualScreen(_CGLContextObject*, long int*)'
> GemPBuffer.cpp:272: error: invalid conversion from 'GLint*' to 'long  
> int*'
> GemPBuffer.cpp:272: error:   initializing argument 3 of 'CGLError  
> CGLChoosePixelFormat(const CGLPixelFormatAttribute*,  
> _CGLPixelFormatObject**, long int*)'
> GemPBuffer.cpp:283: error: invalid conversion from 'GLint*' to 'long  
> int*'
> GemPBuffer.cpp:283: error:   initializing argument 2 of 'CGLError  
> CGLGetVirtualScreen(_CGLContextObject*, long int*)'
> GemPBuffer.cpp: In member function 'void PBuffer::enable()':
> GemPBuffer.cpp:307: error: invalid conversion from 'GLint*' to 'long  
> int*'
> GemPBuffer.cpp:307: error:   initializing argument 2 of 'CGLError  
> CGLGetVirtualScreen(_CGLContextObject*, long int*)'
> make[3]: *** [GemPBuffer.o] Error 1
> make[2]: *** [Base] Error 2
> make[1]: *** [/Users/pd/auto-build/pd-extended/Gem/src/ 
> Gem.pd_darwin] Error 2
> make: *** [extended_install] Error 2
>
>
>
> ----------------------------------------------------------------------------
>
> 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
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>



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

If you are not part of the solution, you are part of the problem.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20090619/625a22fd/attachment.htm>


More information about the GEM-dev mailing list