I have a whack-a-mole type game using FLTK and I have compiled/run the game on 
a linux server. I need to compile/run it on a sun machine (putty) and cannot 
figure out how to do so. I use the following on linux:


Compiling the Code:
==================
g++ -c Graph.cpp `fltk-config --cflags --ldflags`
g++ -c GUI.cpp `fltk-config --cflags --ldflags`
g++ -c Window.cpp `fltk-config --cflags --ldflags`
g++ -c Simple_window.cpp `fltk-config --cflags --ldflags`
g++ -c Scoreboard.cpp `fltk-config --cflags --ldflags`
g++ -c Main_window.cpp `fltk-config --cflags --ldflags`
g++ -c moles.cpp `fltk-config --cflags --ldflags`
g++ game.cpp -o game GUI.o Graph.o moles.o Window.o Main_window.o 
Simple_window.o Scoreboard.o `fltk-config --cflags --ldflags` -lfltk_images

Running the Code:
================
./game

This works on linux. Please help
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to