- Posts: 1971
Difficulty building emulator on Ubuntu
- hexfet
-
Topic Author
- Offline
Less
More
26 Jan 2014 19:19 - 26 Jan 2014 19:20 #19193
by hexfet
Difficulty building emulator on Ubuntu was created by hexfet
Hoping someone's already been through this and can point me to a solution. I'm using Ubuntu 13.10 desktop.
I had to install the libx11-dev package to get FLTK to compile, but now it fails at link time. It looks like the X11 library(ies?) aren't found. Don't know anything about X and google hasn't helped. The xorg packages are installed.
Here's the first few errors, which are followed by another couple pagefuls.
I had to install the libx11-dev package to get FLTK to compile, but now it fails at link time. It looks like the X11 library(ies?) aren't found. Don't know anything about X and google hasn't helped. The xorg packages are installed.
Here's the first few errors, which are followed by another couple pagefuls.
~/radiocontrol/deviation/deviation/src$ make TARGET=emu_devo10
+ Building 'emu_devo10.elf'
/usr/local/lib/libfltk.a(Fl_get_system_colors.o): In function `getsyscolor(char const*, char const*, char const*, char const*, void (*)(unsigned char, unsigned char, unsigned char))':
Fl_get_system_colors.cxx:(.text+0x25a): undefined reference to `XGetDefault'
Fl_get_system_colors.cxx:(.text+0x27b): undefined reference to `XParseColor'
/usr/local/lib/libfltk.a(Fl_get_system_colors.o): In function `fl_parse_color(char const*, unsigned char&, unsigned char&, unsigned char&)':
Fl_get_system_colors.cxx:(.text+0x2d9): undefined reference to `XParseColor'
/usr/local/lib/libfltk.a(Fl_get_system_colors.o): In function `Fl::scheme(char const*)':
Fl_get_system_colors.cxx:(.text+0x858): undefined reference to `XGetDefault'
Last edit: 26 Jan 2014 19:20 by hexfet.
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
26 Jan 2014 19:49 #19200
by PhracturedBlue
Replied by PhracturedBlue on topic Difficulty building emulator on Ubuntu
I am still on 12.04, but I just install the libfltk1.1-dev package and did not compile libfltk from scratch. I have no issues building the emulator that way. I would not expect you to get libfltk.a (instead I'd expect to link to libfltk.so) and that is possibly part of the issue.
- hexfet
-
Topic Author
- Offline
Less
More
- Posts: 1971
26 Jan 2014 20:10 #19209
by hexfet
Replied by hexfet on topic Difficulty building emulator on Ubuntu
Thanks! That fixed it. libfltk1.3-dev was available and seems to work fine.
Need to improve my search skills...did not find an fltk package when I started.
Need to improve my search skills...did not find an fltk package when I started.
Time to create page: 0.023 seconds
-
Home
-
Forum
-
Development
-
Development
- Difficulty building emulator on Ubuntu