Hi, im trying to integrate fltk into a program im porting to linux (yes,
windows user im afraid)
However, after installing all neccessary fltk packages i get these errors:
Here is a log from "make"
[sudo] password for graham:
g++ -Wall -g -Iinc -Iinc/core -D__LINUXBUILD__ `fltk-config --cflags` -Iinc/gui
-DGUI -c -o src/gui/gui_conn.o src/gui/gui_conn.cpp
src/gui/gui_conn.cpp:5:25: error: Fl/Fl_Group.h: No such file or directory
src/gui/gui_conn.cpp:6:26: error: Fl/Fl_Choice.h: No such file or directory
src/gui/gui_conn.cpp:7:23: error: Fl/fl_ask.h: No such file or directory
In file included from inc/core/core.h:8,
from src/gui/gui_conn.cpp:3:
inc/core/array.h: In instantiation of âArray<Comport>â:
inc/core/comports.h:15: instantiated from here
inc/core/array.h:54: warning: deprecated covariant return type for âT*
Array<T>::get(int) [with T = Comport]â
inc/core/array.h:28: warning: overriding âvirtual void* PArray::get(int)â
inc/core/array.h:55: warning: deprecated covariant return type for âconst T*
Array<T>::get(int) const [with T = Comport]â
inc/core/array.h:29: warning: overriding âvirtual const void*
PArray::get(int) constâ
src/gui/gui_conn.cpp:9: error: expected initializer before â*â token
src/gui/gui_conn.cpp:10: error: expected initializer before â*â token
src/gui/gui_conn.cpp:11: error: expected initializer before â*â token
src/gui/gui_conn.cpp:12: error: expected initializer before â*â token
src/gui/gui_conn.cpp:14: error: variable or field âcb_driver_selectedâ
declared void
src/gui/gui_conn.cpp:14: error: âFl_Widgetâ was not declared in this scope
src/gui/gui_conn.cpp:14: error: âwâ was not declared in this scope
src/gui/gui_conn.cpp:14: error: expected primary-expression before âvoidâ
make: *** [src/gui/gui_conn.o] Error 1
Any help appreciated :)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk