Hi,
This is my first message in macrumors and I really need help,
In order to work on C++, I just have installed Xcode on mac Os 10.5.8, after
In order to install the Fltk I followed this link
https://forums.macrumors.com/threads/150040/
Step 1 and 2 are OK.
in step 3: the author said:
after pasting the following code in terminal:
I have in the directory these files: config.log and fltk-config and fltk-config.sh.save
to do Step 4, I creat a new project and past in the window main.cpp this code:
I had 9 erors such as : No such file or directory 🙁 🙁
Can you please help me?
(sorry about my english, I'm a french 😱
This is my first message in macrumors and I really need help,
In order to work on C++, I just have installed Xcode on mac Os 10.5.8, after
In order to install the Fltk I followed this link
https://forums.macrumors.com/threads/150040/
Step 1 and 2 are OK.
in step 3: the author said:
Now locate to the directory where you will save and execute and create your projects. Now in terminal type this, you will create this in the directory where you will be saving your projects:
after pasting the following code in terminal:
Code:
pico fltk-config.sh
/usr/local/bin/fltk-config --compile $1
echo "The file " + $1 + " may have been compiled, check for errors above this statement."
echo "The file will be saved as " + $1 + " minus the cpp or cxx extension."
to do Step 4, I creat a new project and past in the window main.cpp this code:
Code:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
int main()
{
Fl_Window *win;
win = new Fl_Window(400, 300, "Hello FLTK");
win->end();
win->show();
return Fl::run();
}
I had 9 erors such as : No such file or directory 🙁 🙁
Can you please help me?
(sorry about my english, I'm a french 😱