Vincent BEFFARA wrote:
> Hello,
>
> I have been trying to compile version 3.0 of the 'enblend' package
> (that's a wonderful tool to create panoramas, by the way), but fink gets
> the following error when compiling gpu.cc:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -fpermissive -Wno-long-double
>    -I/sw/include -g -O3 -ffast-math -Wall -D_GNU_SOURCE
>    -D_FILE_OFFSET_BITS=64 -DENBLEND_CACHE_IMAGES -DNDEBUG -I../include -g
>    -O2 -c -o enblend-gpu.o `test -f 'gpu.cc' || echo './'`gpu.cc
> gpu.cc: In function 'void printInfoLog(void*)':
> gpu.cc:76: warning: invalid conversion from 'int*' to 'GLint*'
> gpu.cc:76: warning:   initializing argument 3 of 'void 
> glGetObjectParameterivARB(void*, GLenum, GLint*)'
> gpu.cc:79: warning: invalid conversion from 'int*' to 'GLsizei*'
> gpu.cc:79: warning:   initializing argument 3 of 'void glGetInfoLogARB(void*, 
> GLsizei, GLsizei*, GLcharARB*)'
> gpu.cc: In function 'bool initGPU(int*, char**)':
> gpu.cc:160: warning: invalid conversion from 'int*' to 'GLint*'
> gpu.cc:160: warning:   initializing argument 2 of 'void glGetIntegerv(GLenum, 
> GLint*)'
> gpu.cc: In function 'bool configureGPUTextures(unsigned int, unsigned int)':
> gpu.cc:198: error: 'GL_RGBA32F_ARB' was not declared in this scope
>
>
> Am I doing something wrong, or do I miss a critical package to do the
> compilation ? (I'm guessing something like opengl from the error messages,
> but I tried various combinations of gl packages and none worked ...)
>
> Thanks for your help,
>
>   /vincent
>
> PS: For the record : up-to-date rsynced 10.4 unstable tree, OS X 10.4.9
> on a G5 iMac.
>
>   
It works for me in a clean build.  What version is your g++?  And do you 
have the OpenGL SDK package from the Xcode Tools installed?

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to