Back to Blog
This was the error : main.cpp:1:19: fatal error: FL/Fl.h: No such file or directory Here is the older code that also didn't work #include įl_Window window(200, 200, "Window title") įl_Box box(0,0,200,200,"Hey, I mean, Hello, World!") So this is my story and here I am asking for some advice! Probably shouldn't have done it anyway Authentication realm: Subversion repository I was asked for some password and I just entered my Ubuntu username password, which of course was not correct. When I tried to run this line svn co fltk-1.3 To update to the latest version, just go into the fltk-1.3įIXME: no FL_SYMBOL font (-symbol-), font 15 (Zapf-Dingbats) I like to use subversion to install the latest FLTK-1.3.release: svn co fltk-1.3 If you are planning to use the Code::Blocks IDE, also install this sudo apt-get install codeblocks These two are optional, but highly recommended: sudo apt-get install libasound2-dev Open a shell and install some software: sudo apt-get install g++ Widget *box = new Widget(20, 40, 260, 100, "Hello, World!") Īnd tried to compile using: g++ -o win main.cppĪfter this failure I followed the original instruction what come with FLTK which looked like this I have been trying to install this FLTK library: sudo apt-get install libfltk1.3-dev
0 Comments
Read More
Leave a Reply. |