1

MAC OS X Mountain Lion に Boost 1_53_0 をインストールして使用し、最新の XCODE 4.6 で使用しようとしています。小さな MS VS MFC C++ アプリを移植したいと考えています。Windows から MAC への開発を行いました。

具体的には、boost を静的ライブラリとしてインストールしてビルドする必要があります。私はMACでのプログラミングにまったく慣れていません。XCODE は現在、GCC ではなく libc++ で LLVM Clang を使用していることを理解しています。LinuxでGCCをいくつか使用しました。

http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.htmlの指示に従い始めました 。

しかし、すぐにトラブルに見舞われました。Mountain Lion と XCode 4.6 でブーストを静的にインストールしてコンパイルする方法の詳細な手順を知っている人はいますか?

以下は、端末の入力と出力で、どこまで到達したかを示しています。

ありがとう。

ターミナル IO:

./bootstrap.sh --with-bjam=BJAM --with-toolset=TOOLSET  
users-Mac-mini:boost_1_53_0 user$ ./bootstrap --with-bjam=BJAM --with-toolset=TOOLSET

-bash: ./bootstrap: No such file or directory

users-Mac-mini:boost_1_53_0 user$ ./bootstrap.sh --with-bjam=BJAM --with-toolset=TOOLSET

-n Detecting Python version... 

2.7

-n Detecting Python root... 

/System/Library/Frameworks/Python.framework/Versions/2.7

-n Unicode/ICU support for Boost.Regex?... 

not found.

Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:
    ./b2

To adjust configuration, edit 'project-config.jam'.

Further information:
   - Command line help:
     ./b2 --help
   - Getting started guide: 
     <had to remove link in order to post question>
   - Boost.Build documentation:
      <had to remove link in order to post question>

users-Mac-mini:boost_1_53_0 user$ ./b2 link=static threading=multi toolset=darwin cxxflags="-arch i386 -arch x86_64" macosx-version=10.6 stage

-bash: ./b2: No such file or directory
4

0 に答える 0