Help Fltk1.1.10 in Xcode

Discussion in 'Mac Programming' started by sandrine88, Aug 2, 2010.

  1. sandrine88 macrumors newbie

    Joined:
    Aug 2, 2010
    #1
    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

    http://forums.macrumors.com/showthread.php?t=150040
    Step 1 and 2 are OK.

    in step 3: the author said:
    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."
    
    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:
    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 :eek:
     
  2. sandrine88 thread starter macrumors newbie

    Joined:
    Aug 2, 2010
    #2
    I didn't find it :(

    can you help me please?

    thanks to all
     

Share This Page