2

Windows の mingw で boost ライブラリをコンパイルしましたが、タグなしのライブラリ名が必要です。たとえば、boost python は libboost_python-mgw48-mt-1_54.dll ではなく、libboost_python です。http://www.boost.org/boost-build2/doc/html/bbv2/overview/builtins/features.htmlで答えの1つを見つけました。それは言った

tag

The tag feature is used to customize the name of the generated files. The value should have the form:

@rulename

where rulename should be a name of a rule with the following signature:

rule tag ( name : type ? : property-set )

しかし、私はそのような情報を使用する方法がわかりません。

ここに私のコンパイルコマンドがあります

b2 ツールセット=gcc バリアント=リリース リンク=共有スレッド=マルチ ランタイム リンク=共有 --with-python

libboost_python-mgw48-mt-1_54.dll を取得します。だから私は使うと思います

b2 toolset=gcc variant=release link=shared threading=multi runtime-link=shared tag=@ rule tag ( name : type ) --with-python

libboost_python.dll を取得しますが、機能しません

4

0 に答える 0