PDA

View Full Version : Unable to use FLTK



swearbylinux
12-16-2003, 01:57 AM
I am a computer newbee working on P4 2.4 with RH8 OS.Whenever i try to compile GL programs having FLTK header files i get undefined reference for FLTK functions even though i give all the link options for X and FL and GL libraries. What I get is undefined reference to all FL functions used in the program like undefined reference to FL_Window::FL_Window (int ,int ,*char) etc

shinpaughp
12-17-2003, 11:51 AM
you said you gave all link options... did you give all include options? -I/some/path/to/include //path to include files
-lGL -lGLU //libs to link with
-L/path/to/required/lib //path to libs being linked