fltkglue.cpp Ubuntu 11.10

Archives Forums/Linux Discussion/fltkglue.cpp Ubuntu 11.10

Captain Wicker (crazy hillbilly)(Posted 2012) [#1]
When I try to build the maxgui module, it stops on the 'fltkglue.cpp' file and says fatal error where it says
#if _usexpm
    #include <X11/xpm.h>
#endif
.
What is wrong? I am on Ubuntu 11.10 and need some help getting MaxGUI or any other GUI alternative working with Ubuntu. Thanks in advance guys! :D

~ Cap.


dawlane(Posted 2012) [#2]
What the exact error message? If it's "fatal error: X11/xpm.h: No such file or directory compilation terminated." then run
sudo apt-get install libxpm-dev
and try to rebuild the modules again.


Captain Wicker (crazy hillbilly)(Posted 2012) [#3]
thank you is fixed now. :D


Derron(Posted 2012) [#4]
need some help getting MaxGUI or any other GUI alternative working with Ubuntu


Try wxMax from Brucey ... the apps look more matured/native as FLTK-applications.

To get it working some modifications/trials-errors are needed and the way you have to work with wxWidgets is kind of different to MaxGui but it has way more controls already included in bruceys releases.


for your apt-get experience: if you get errors containing "-lGL", do the same as dawlane proposed.
replace "-l" with "lib" and add "-dev" - most times the resulting name is the package you will have to add.
$ sudo apt-get install libgl-dev


PS: if you think about upgrading to Ubuntu 12.04 LTS (long term support) - do it soon as some things may break and need manual maintenance.
Will save you headaches later.


bye Ron


Captain Wicker (crazy hillbilly)(Posted 2012) [#5]
thnx