#165 pyopengl-2.0.0.44 compile fails (maybe due to Tk-8.5?)

open
nobody
None
5
2007-06-10
2007-06-10
Federico Ferri
No

i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -pipe
-fomit-frame-pointer -march=athlon-xp -fPIC -I/usr/include -I/usr/local/include
-I/usr/X11R6/include -I/usr/lib/tk8.4/include -I/usr/include/python2.4/Numeric
-Isrc/gle/src -I/usr/include/python2.4 -Isrc/Togl-1.5
-I/usr/lib/tk8.5/../../include -I/usr/include -I/usr/include
-I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include
-I/usr/include/python2.4/Numeric -Isrc/gle/src -I/usr/include/python2.4 -c
src/Togl-1.5/togl.c -o build/temp.linux-i686-2.4/src/Togl-1.5/togl.o -O2 -pipe
-fomit-frame-pointer -march=athlon-xp
src/Togl-1.5/togl.c:143:2: error: #error Sorry, you will have to edit togl.c to
include the right tkInt.h file
src/Togl-1.5/togl.c: In function 'Togl_Init':
src/Togl-1.5/togl.c:711: warning: passing argument 3 of 'Tcl_CreateCommand'
from incompatible pointer type
src/Togl-1.5/togl.c: In function 'Togl_Configure':
src/Togl-1.5/togl.c:942: warning: passing argument 5 of 'Tk_ConfigureWidget'
from incompatible pointer type
src/Togl-1.5/togl.c: In function 'Togl_Cmd':
src/Togl-1.5/togl.c:1160: warning: passing argument 3 of 'Tcl_CreateCommand'
from incompatible pointer type
src/Togl-1.5/togl.c: In function 'SetupOverlay':
src/Togl-1.5/togl.c:1242: error: 'TkWindow' undeclared (first use in this
function)
src/Togl-1.5/togl.c:1242: error: (Each undeclared identifier is reported only
once
src/Togl-1.5/togl.c:1242: error: for each function it appears in.)
src/Togl-1.5/togl.c:1242: error: 'winPtr' undeclared (first use in this
function)
src/Togl-1.5/togl.c:1242: error: expected expression before ')' token
src/Togl-1.5/togl.c: In function 'Togl_MakeWindowExist':
src/Togl-1.5/togl.c:1363: error: 'TkWindow' undeclared (first use in this
function)
src/Togl-1.5/togl.c:1363: error: 'winPtr' undeclared (first use in this
function)
src/Togl-1.5/togl.c:1363: error: expected expression before ')' token
src/Togl-1.5/togl.c:1364: error: 'winPtr2' undeclared (first use in this
function)
src/Togl-1.5/togl.c: In function 'ToglCmdDeletedProc':
src/Togl-1.5/togl.c:1871: error: 'TkWindow' undeclared (first use in this
function)
src/Togl-1.5/togl.c:1871: error: 'winPtr' undeclared (first use in this
function)
src/Togl-1.5/togl.c:1871: error: expected expression before ')' token
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

Discussion

  • Federico Ferri
    Federico Ferri
    2007-06-10

    Logged In: YES
    user_id=1628983
    Originator: YES

    oups... sorry: I tested just now with latest 2.0.* stable and it compiles fine, so probably this report doesn't makes sense