にブーストを使用してハッキングの多くの後、私は、iPhoneのためのデバイスとシミュレータの両方をブーストライブラリをコンパイルするために管理しているが、私はそれらを使用しようとすると、私は言ってXcodeのデバッガでエラーが表示されます。はiPhone
dyld: Library not loaded: libboost_graph.so.1.40.0
を
私の推測は、iphoneで許可されていないダイナミックライブラリローダーです。私は-Lboost_graph
とアプリをコンパイラフラグとしてリンクしています。私はここに非常に基本的な何かが欠けています推測している
./bjam $1 $2 $3 \
toolset=darwin \
architecture=arm \
target-os=iphone \
macosx-version=iphone-3.0 \
define=_LITTLE_ENDIAN \
--layout=system \
--libdir=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib \
--includedir=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include \
link=static \
runtime-link=static
./bjam $1 $2 $3 \
toolset=darwin \
architecture=x86 \
target-os=iphone \
macosx-version=iphonesim-3.0 \
--layout=system \
--libdir=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/lib \
--includedir=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include \
link=static \
runtime-link=static
が、何:
これは私がブーストを構築するために使用されるスクリプトはありますか?
は私が間違っているかもしれない
あなたは今まで、この問題の解決方法を見つけましたか? –
この関連の答えを参照してください:http://stackoverflow.com/questions/1577838/how-to-build-boost-libraries-for-iphone – Aleph7