次の行でコードをコンパイルしようとすると: (私はboost 1.51
, with gcc 4.6.3
inを使用していUBuntu 12.04 LTS 64 bits
ます)
#include <boost/date_time/posix_time/posix_time.hpp>
dotFile << "// " << boost::posix_time::second_clock::local_time() << std::endl;
次のエラーが表示されます。
sources/sctg/src/main.cc: In function 'void printDot(sctg::Configuration*, std::string, std::vector<sctg::Task*>*, std::vector<sctg::Event*>*)':
sources/sctg/src/main.cc:1029:31: error: 'boost::posix_time' has not been declared
解決方法はありますか?