i tried to compile my program but it exited with these errors..............i
have installed the fltk software by 1. ./configure
                         2. make
                         3. make install
my header files are in the folder /usr/local/include/fltk

[EMAIL PROTECTED]/fltk]$ fltk2-config --compile test.cpp
gcc -I/usr/local/include -I/usr/include/freetype2 -Wno-non-virtual-dtor -o
test test.cpp -L/usr/local/lib /usr/local/lib/libfltk2.a -lX11 -lXi
-lXinerama -lXft -lpthread -lm -lXext -lsupc++
test.cpp:1:19: error: FL/Fl.H: No such file or directory
test.cpp:2:26: error: FL/Fl_Window.H: No such file or directory
test.cpp:3:23: error: FL/Fl_Box.H: No such file or directory
test.cpp: In function 'int main(int, char**)':
test.cpp:6: error: 'Fl_Window' was not declared in this scope
test.cpp:6: error: 'window' was not declared in this scope
test.cpp:6: error: expected type-specifier before 'Fl_Window'
test.cpp:6: error: expected `;' before 'Fl_Window'
test.cpp:7: error: 'Fl_Box' was not declared in this scope
test.cpp:7: error: 'box' was not declared in this scope
test.cpp:7: error: expected type-specifier before 'Fl_Box'
test.cpp:7: error: expected `;' before 'Fl_Box'
test.cpp:8: error: 'FL_UP_BOX' was not declared in this scope
test.cpp:10: error: 'FL_BOLD' was not declared in this scope
test.cpp:10: error: 'FL_ITALIC' was not declared in this scope
test.cpp:11: error: 'FL_SHADOW_LABEL' was not declared in this scope
test.cpp:14: error: 'Fl' has not been declared

please help
_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to