I'm building cinelerra from source since there appears to be no debian
etch binary.

I'm having problems to get certain source files to recoginize the
OpenGL headers properly, for example:


make[2]: Entering directory `/usr/local/src/cinelerra-6-2008/hvirtual/guicast'
/bin/sh ../libtool --tag=CXX --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H -I. -I.. -I../quicktime   -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -MT
bcsynchronous.lo -MD -MP -MF .deps/bcsynchronous.Tpo -c -o
bcsynchronous.lo bcsynchronous.C
 g++ -DHAVE_CONFIG_H -I. -I.. -I../quicktime -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT
bcsynchronous.lo -MD -MP -MF .deps/bcsynchronous.Tpo -c
bcsynchronous.C  -fPIC -DPIC -o .libs/bcsynchronous.o
bcsynchronous.C: In member function 'void
BC_Synchronous::delete_window_sync(BC_SynchronousCommand*)':
bcsynchronous.C:409: error: 'glDeleteShader' was not declared in this scope
make[2]: *** [bcsynchronous.lo] Error 1

I try various things like explicitly #include
"/usr/include/GL/glext.h", but this for some reason silently doesn't
get the prototype.

Eventually this is overcome by copying and pasting the prototype for
glDeleteShader from the /usr/include/GL/glext.h file into the
bcsynchronous.C file, which is hack but no other ideas. That fixes it.

But there seems to be a general problem, because a great many source
files do not appear to have GL prototypes in scope. It is not always
OpenGL 2.0 functions either, sometimes it is OpenGL 1.3 stuff.

Any idea why is the make process not finding OpenGL headers properly?

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to