私は明らかに見ることができないようです。私は私のプロジェクトのためにいくつかのBoostライブラリの機能を使用したいと私はこれらの素敵なエラーに突然のすべてを取得しています知っている:'boost :: system :: generic_category()'への未定義の参照はありますか?
ここLinking CXX executable ATFOR CMakeFiles/ATFOR.dir/stdafx.cc.o: In function
__static_initialization_and_destruction_0(int, int)': stdafx.cc:(.text+0x3c): undefined reference to
boost::system::generic_category()' stdafx.cc:(.text+0x48): undefined reference toboost::system::generic_category()' stdafx.cc:(.text+0x54): undefined reference to
boost::system::system_category()' CMakeFiles/ATFOR.dir/Main.cc.o: In function__static_initialization_and_destruction_0(int, int)': Main.cc:(.text+0x29d): undefined reference to
boost::system::generic_category()' Main.cc:(.text+0x2a9): undefined reference toboost::system::generic_category()' Main.cc:(.text+0x2b5): undefined reference to
boost::system::system_category()' collect2: error: ld returned 1 exit status
あなたは私のCMakeLists.txt、ヘッダー、メインを見つける:http://pastie.org/8231509
することができますように私はCMakeListsでたくさんのことを試してみました。私はプロジェクトに必要なすべてのヘッダを持っていると確信しています。とにかく、私は前にそのようなエラーがあったことはありません。私は今のところアイデアが残っていないので、何が間違っているかについての提案や解決を本当に感謝します。あらかじめThx。それはあなたのプログラムにリンクされるのを
これはエラーを修正しませんでした:/ – Auberotte
Cmakeはファイルシステム、システム、...のlibsを見つけたと言いますが、私が 'make'するとまだリンクエラーがあります。私はlibboost-1.53.0-すべてのデベロッパー、私は必要なすべてを持っている必要があります。私に含める必要があるboost :: systemのヘッダがありますか? 1つも見つからなかった – Auberotte