0

boost::locale ライブラリ ( http://cppcms.sourceforge.net/boost_locale/html/tutorial.html#a5771bce93e200c36f7cd9dfd0e5deaa )をビルドしようとしていますが、これはまだboostへの統合について検討中ですが、cmakeコマンドは次のようにスローします:

   D:\lib\boost_locale_v2.92\build>cmake ..
-- Looking for ICU libraries
-- Looking for iconv
-- Looking for Boost
CMake Error: The following variables are used in this project, but they are se
to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake fi
s:
BOOST_THREAD
    linked by target "boost_locale-static" in directory D:/lib/boost_locale_v2
2
ICU_DATA
    linked by target "boost_locale-static" in directory D:/lib/boost_locale_v2
2
ICU_I18N
    linked by target "boost_locale-static" in directory D:/lib/boost_locale_v2
2
ICU_INCLUDE_DIR
   used as include directory in directory D:/lib/boost_locale_v2.92
ICU_UC
    linked by target "boost_locale-static" in directory D:/lib/boost_locale_v2
2

-- Configuring incomplete, errors occurred!

ICU と boost を持っていますが、boost::locale 用の標準の cmake スクリプトを変更する方法がわかりません。どんな助けでも大歓迎です

4

2 に答える 2

0

インストール手順を注意深くお読みください。

http://cppcms.sourceforge.net/boost_locale/html/building_boost_locale.html

あなたは提供する必要があります:

cmake -DCMAKE_INCLUDE_PATH=/path/to/boost/include;path/to/icu/include -DCMAKE_LIBRARY_PATH=/path/to/icu/lib ..
于 2011-02-22T19:54:51.273 に答える
0

実際、これらのエラー メッセージは十分に明確です。どこに何があるのか​​を示す必要があります: ブースト スレッド ライブラリの場所、ICU インクルード ディレクトリなど。

于 2011-02-19T17:31:23.157 に答える