>
> On 15 May 2008, at 18:34, Greg wrote:
>
> > Hi, im trying to integrate fltk into a program im porting to linux =20
> > (yes, windows user im afraid)
> >
> > However, after installing all neccessary fltk packages i get these =20
> > errors:
> >
> > Here is a log from "make"
> >
> > [sudo] password for graham:
> > g++ -Wall -g -Iinc -Iinc/core -D__LINUXBUILD__ `fltk-config --=20
> > cflags` -Iinc/gui -DGUI   -c -o src/gui/gui_conn.o src/gui/=20
> > gui_conn.cpp
> > src/gui/gui_conn.cpp:5:25: error: Fl/Fl_Group.h: No such file or =20
> > directory
> > src/gui/gui_conn.cpp:6:26: error: Fl/Fl_Choice.h: No such file or =20
> > directory
> > src/gui/gui_conn.cpp:7:23: error: Fl/fl_ask.h: No such file or =20
> > directory
>
> Unix is case sensitive, so you probably meant <FL/Fl_Group.H>  (etc.) =20=
>
> - note that there are two (2) case changes in that line from what you =20=
>
> have shown...
>
> > In file included from inc/core/core.h:8,
> >                  from src/gui/gui_conn.cpp:3:
> > inc/core/array.h: In instantiation of =91Array<Comport>=92:
> > inc/core/comports.h:15:   instantiated from here
> > inc/core/array.h:54: warning: deprecated covariant return type for =20
> > =91T* Array<T>::get(int) [with T =3D Comport]=92
> > inc/core/array.h:28: warning:   overriding =91virtual void* =20
> > PArray::get(int)=92
> > inc/core/array.h:55: warning: deprecated covariant return type for =20
> > =91const T* Array<T>::get(int) const [with T =3D Comport]=92
> > inc/core/array.h:29: warning:   overriding =91virtual const void* =20
> > PArray::get(int) const=92
> > src/gui/gui_conn.cpp:9: error: expected initializer before =91*=92 =
> token
> > src/gui/gui_conn.cpp:10: error: expected initializer before =91*=92 =
> token
> > src/gui/gui_conn.cpp:11: error: expected initializer before =91*=92 =
> token
> > src/gui/gui_conn.cpp:12: error: expected initializer before =91*=92 =
> token
> > src/gui/gui_conn.cpp:14: error: variable or field =20
> > =91cb_driver_selected=92 declared void
>
> These look like problems in your code, I guess - or maybe with the =20
> STL? Or perhaps things that are messed up because your headers are =20
> wrong? I guess we'd need to see more context, if fixing your includes =20=
>
> doesn't sort it.
>
> > src/gui/gui_conn.cpp:14: error: =91Fl_Widget=92 was not declared in =20=
>
> > this scope
> > src/gui/gui_conn.cpp:14: error: =91w=92 was not declared in this scope
> > src/gui/gui_conn.cpp:14: error: expected primary-expression before =20
> > =91void=92
>
> Probably a consequence of not including the headers correctly above, =20
> I guess...
>
>
>
>
>
>

Thanks for the help. I did change <Fl/Fl_Group.H> <FL/Fl_Group.H>

However, doing likewise with the other includes did not work. I get the same 
error: "No such file or directory" hmmm...they are definitely there though.

Thanks.


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to