linux maxgui compile error

Archives Forums/Linux Discussion/linux maxgui compile error

slenkar(Posted 2009) [#1]
it fails on this line:

include <X11/extensions/Xdbe.h>

I know for certain that I have x11-dev installed

here is the output
Building Modules
Compiling:Fl_Double_Window.cxx
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:40:33: error: X11/extensions/Xdbe.h: No such file or directory
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx: In function &#128;int can_xdbe()&#128;:
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:49: error: &#128;XdbeQueryExtension&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:52: error: &#128;XdbeScreenVisualInfo&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:52: error: &#128;a&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:52: error: &#128;XdbeGetVisualInfo&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:57: error: &#128;XdbeFreeVisualInfo&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx: In member function &#128;void Fl_Double_Window::flush(int)&#128;:
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:274: error: &#128;XdbeCopied&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:274: error: &#128;XdbeAllocateBackBufferName&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:308: error: &#128;XdbeSwapInfo&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:308: error: expected `;' before &#128;s&#128;
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:309: error: &#128;s&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:310: error: &#128;XdbeCopied&#128; was not declared in this scope
/home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx:311: error: &#128;XdbeSwapBuffers&#128; was not declared in this scope
Build Error: failed to compile /home/keith/Desktop/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Double_Window.cxx



SebHoll(Posted 2009) [#2]
Are you on Ubuntu 9.04 by any chance? I suddenly got this error when I upgraded from Ubuntu 8.10 and I've no idea what went wrong. Anyone any idea what package we need?


slenkar(Posted 2009) [#3]
Im on Xubuntu 8 but I updated all the packages on the update manager


Brucey(Posted 2009) [#4]
Dunno. I've got loads of X11 dev packages installed. Never seen this one myself though.

X double-buffer extension.

Perhaps one of these :

libxxf86vm-dev
x11proto-core-dev
x11proto-gl-dev
x11proto-kb-dev
x11proto-xext-dev
libxft-dev

(I wondered how long it would take Seb to hide these posts :-p )


SebHoll(Posted 2009) [#5]
(I wondered how long it would take Seb to hide these posts :-p )


It wasn't me! (Honest)


SebHoll(Posted 2009) [#6]
Yep - Apparently this package has the files in it: x11proto-xext-dev

http://ns2.canonical.com/jaunty/x11/x11proto-xext-dev


slenkar(Posted 2009) [#7]
thanks