Hello guys,

I am also having troubles in compiling fltk 1.1.10rc1 that I have downloaded
from the website. Is this fltk1.1.10rc compatible with fltk 1.1.9?
Well, the problem is that I am not being able to compile this on my ubuntu
9.10.  I have done a lot of research on google and couldn't find a solution.


What I have done till now is:

1- Downloaded fltk  1.1.10rc1 from fttk.org;
2- Unziped the tar.gz
3- In fltk 1.1.10rc1 folder I did:

# ./configure
# make

It worked well. I didnt get any error running make.  I also installed a
bunch of other libs such as openGL (and Mesa) the fltk development libs and
as the make didnt return any error I assume it should work. I run the
examples compiled during the make process in the test folder and worked
well.

But when I try to compile my own application, I get the following error:

pedrolinha...@pedrolinhares-desktop:~/Documents/C++_Programs/FLTK/hello$
fltk-config --compile hello.cpp
g++ -I/usr/include/freetype2 -D_THREAD_SAFE -D_REENTRANT -o hello hello.cpp
-Wl,-Bsymbolic-functions -lfltk
hello.cpp:1:18: error: FL/Fl.h: No such file or directory
hello.cpp:2:22: error: FL/Fl_Box.h: No such file or directory
hello.cpp:3:25: error: FL/Fl_Window.h: No such file or directory
hello.cpp: In function ‘int main(int, char**)’:
hello.cpp:7: error: ‘Fl_Window’ was not declared in this scope
hello.cpp:7: error: expected ‘;’ before ‘window’
hello.cpp:8: error: ‘Fl_Box’ was not declared in this scope
hello.cpp:8: error: expected ‘;’ before ‘box’
hello.cpp:9: error: ‘window’ was not declared in this scope
hello.cpp:12: error: ‘Fl’ has not been declared
pedrolinha...@pedrolinhares-desktop:~/Documents/C++_Programs/FLTK/hello$

What could be the problem?

What are the arguments I should provide to g++ 4.4 to get it working?

Best regards,

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

Reply via email to