FLTK builds ok (w/some makefile tweaks) under cygwin, but I can't seem to get
FLWM to link. I get the following. Has anyone been successful in building FLWM?
c++ -L/usr/local/lib -o flwm main.o Frame.o Rotated.o Menu.o FrameWindow.o Deskt
op.o Hotkeys.o -L/usr/local/lib -lfltk -L/usr/X11R6/lib -lX11 -lXext -lm
main.o(.text+0x17d):main.C: undefined reference to `fl_xevent'
main.o(.text+0x1b8):main.C: undefined reference to `fl_xevent'
main.o(.text+0x1d3):main.C: undefined reference to `fl_xevent'
main.o(.text+0x383):main.C: undefined reference to `fl_colormap'
main.o(.text+0x97c):main.C: undefined reference to `fl_open_display(void)'
[etc., etc.]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For what it's worth, years after the question was posted... (maybe someone else will find it useful :)
I built flwm for cygwin X just a couple of days ago. I had to make some changes to the FLTK make definitions, but once I got fltk working, flwm built and linked just fine.
I used flwm 1.02 and fltk 1.1.7.
./configure
make
I did have a minor issue when I changed config.h to define an ACTIVE_COLOR: contrast() needed to be changed to fl_contrast. (This is a fltk 1.0 to 1.1 issue.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FLTK builds ok (w/some makefile tweaks) under cygwin, but I can't seem to get
FLWM to link. I get the following. Has anyone been successful in building FLWM?
c++ -L/usr/local/lib -o flwm main.o Frame.o Rotated.o Menu.o FrameWindow.o Deskt
op.o Hotkeys.o -L/usr/local/lib -lfltk -L/usr/X11R6/lib -lX11 -lXext -lm
main.o(.text+0x17d):main.C: undefined reference to `fl_xevent'
main.o(.text+0x1b8):main.C: undefined reference to `fl_xevent'
main.o(.text+0x1d3):main.C: undefined reference to `fl_xevent'
main.o(.text+0x383):main.C: undefined reference to `fl_colormap'
main.o(.text+0x97c):main.C: undefined reference to `fl_open_display(void)'
[etc., etc.]
For what it's worth, years after the question was posted... (maybe someone else will find it useful :)
I built flwm for cygwin X just a couple of days ago. I had to make some changes to the FLTK make definitions, but once I got fltk working, flwm built and linked just fine.
I used flwm 1.02 and fltk 1.1.7.
./configure
make
I did have a minor issue when I changed config.h to define an ACTIVE_COLOR: contrast() needed to be changed to fl_contrast. (This is a fltk 1.0 to 1.1 issue.)