[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libfltk-dev: which "config.h"



I am trying to compile the programs in /usr/share/doc/libfltk1/examples/.

After copying the files to /tmp and gunzipping the .gz files I get the following error when I run "make":

c++ -I.. -g  -fPIC -Wall -Wno-return-type   -I/usr/X11R6/include CubeMain.cxx -cCubeMain.cxx:26: config.h: No such file or directory
In file included from CubeViewUI.h:12,
                 from CubeMain.cxx:28:
CubeView.h:28: config.h: No such file or directory
make: *** [CubeMain.o] Error 1

There are no config.h in the fltk-packages and there are many

config.h's on my system.  Which one is supposed to do the job?

I have tried the one in /usr/include/linux and then later in the
compilation process all sorts of errors show up like

In file included from /usr/include/stdio.h:57,
                 from CubeViewUI.h:9,
                 from CubeMain.cxx:28:
/usr/include/libio.h:263: type specifier omitted for parameter
/usr/include/libio.h:263: parse error before `)'
/usr/include/libio.h:272: type specifier omitted for parameter
/usr/include/libio.h:272: parse error before `)'
/usr/include/libio.h:368: syntax error before `('

I thought just typing "make" was supposed to work :(

Johann

-- 
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
     "But as it is written, Eye hath not seen, nor ear 
      heard, neither have entered into the heart of man, the
      things which God hath prepared for them that love 
      him."      I Corinthians 2:9 



Reply to: