fltk installation on Mac 10.8.3

后端 未结 1 1955
青春惊慌失措
青春惊慌失措 2021-01-17 04:34

I\'m struggling with fltk installation on my Mac, I\'d like to run in on Xcode 4. After downloading the file and unzip it and trying to follow the

相关标签:
1条回答
  • 2021-01-17 05:00

    You don't need to use autoconf or the options you mention. You can compile FLTK on OS X like this, if you have Xcode 4 and Command Line Tools installed:

    ./configure CC=clang CXX=clang++
    make
    sudo make install
    

    At least that worked fine for me...

    I've also built it on OS X with Xcode, but then you have to go to the

    fltk-1.3.2/ide/Xcode4
    

    Directory, and open the FLTK.xcodeproj file with Xcode, then choose "Demo" as the build target and "Build for Archive". Then you can manually move the files to /usr/local/ if you want, or as a framework in /Library/Frameworks.

    I'd go with option 1 though.

    0 讨论(0)
提交回复
热议问题