提升库已连接但引发错误

时间:2014-04-04 11:50:53

标签: boost

我正在尝试构建Cryptohaze工具。我做了所有那些在win 7 build faq中 http://www.cryptohaze.com/wiki/index.php/Windows_7_Build_Setup 我构建了voost 1_49_0,并指出了系统路径中的直觉。 但我得到的错误如下:

ch_grt_common.lib(GRTTableSearchV1.obj) : error LNK2019: unresolved external symbol "public: __cdecl boost::iostreams::mapped_file_source::mapped_file_source(void)" (??0mapped_file_source@iostreams@boost@@QEAA@XZ) referenced in function "public: __cdecl GRTTableSearchV1::GRTTableSearchV1(void)" (??0GRTTableSearchV1@@QEAA@XZ)
10>ch_grt_common.lib(GRTTableSearchV2.obj) : error LNK2001: unresolved external symbol "public: __cdecl boost::iostreams::mapped_file_source::mapped_file_source(void)" (??0mapped_file_source@iostreams@boost@@QEAA@XZ)
10>ch_grt_common.lib(GRTTableSearchV3.obj) : error LNK2001: unresolved external symbol "public: __cdecl boost::iostreams::mapped_file_source::mapped_file_source(void)" (??0mapped_file_source@iostreams@boost@@QEAA@XZ)
10>ch_grt_common.lib(GRTTableSearchV1.obj) : error LNK2019: unresolved external symbol "private: void __cdecl boost::iostreams::mapped_file_source::open_impl(struct boost::iostreams::basic_mapped_file_params<class boost::iostreams::detail::path> const &)" (?open_impl@mapped_file_source@iostreams@boost@@AEAAXAEBU?$basic_mapped_file_params@Vpath@detail@iostreams@boost@@@23@@Z) referenced in function "public: void __cdecl boost::iostreams::mapped_file_source::open<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(struct boost::iostreams::basic_mapped_file_params<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > const &)" (??$open@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@mapped_file_source@iostreams@boost@@QEAAXAEBU?$basic_mapped_file_params@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@12@@Z)
10>ch_grt_common.lib(GRTTableSearchV2.obj) : error LNK2001: unresolved external symbol "private: void __cdecl boost::iostreams::mapped_file_source::open_impl(struct boost::iostreams::basic_mapped_file_params<class boost::iostreams::detail::path> const &)" (?open_impl@mapped_file_source@iostreams@boost@@AEAAXAEBU?$basic_mapped_file_params@Vpath@detail@iostreams@boost@@@23@@Z)
10>ch_grt_common.lib(GRTTableSearchV3.obj) : error LNK2001: unresolved external symbol "private: void __cdecl boost::iostreams::mapped_file_source::open_impl(struct boost::iostreams::basic_mapped_file_params<class boost::iostreams::detail::path> const &)" (?open_impl@mapped_file_source@iostreams@boost@@AEAAXAEBU?$basic_mapped_file_params@Vpath@detail@iostreams@boost@@@23@@Z)
10>ch_grt_common.lib(GRTTableSearchV1.obj) : error LNK2019: unresolved external symbol "public: char const * __cdecl boost::iostreams::mapped_file_source::data(void)const " (?data@mapped_file_source@iostreams@boost@@QEBAPEBDXZ) referenced in function "public: virtual void __cdecl GRTTableSearchV1::SetTableFilename(char const *)" (?SetTableFilename@GRTTableSearchV1@@UEAAXPEBD@Z)
10>ch_grt_common.lib(GRTTableSearchV2.obj) : error LNK2001: unresolved external symbol "public: char const * __cdecl boost::iostreams::mapped_file_source::data(void)const " (?data@mapped_file_source@iostreams@boost@@QEBAPEBDXZ)
10>ch_grt_common.lib(GRTTableSearchV3.obj) : error LNK2001: unresolved external symbol "public: char const * __cdecl boost::iostreams::mapped_file_source::data(void)const " (?data@mapped_file_source@iostreams@boost@@QEBAPEBDXZ)
10>ch_grt_common.lib(GRTTableSearchV2.obj) : error LNK2019: unresolved external symbol "public: void __cdecl boost::iostreams::mapped_file_source::close(void)" (?close@mapped_file_source@iostreams@boost@@QEAAXXZ) referenced in function "public: virtual __cdecl GRTTableSearchV2::~GRTTableSearchV2(void)" (??1GRTTableSearchV2@@UEAA@XZ)
10>ch_grt_common.lib(GRTTableSearchV3.obj) : error LNK2019: unresolved external symbol "public: __cdecl boost::random::random_device::~random_device(void)" (??1random_device@random@boost@@QEAA@XZ) referenced in function "public: __cdecl CHRandom::CHRandom(void)" (??0CHRandom@@QEAA@XZ)
10>ch_grt_common.lib(GRTTableSearchV3.obj) : error LNK2019: unresolved external symbol "public: unsigned int __cdecl boost::random::random_device::operator()(void)" (??Rrandom_device@random@boost@@QEAAIXZ) referenced in function "public: __cdecl CHRandom::CHRandom(void)" (??0CHRandom@@QEAA@XZ)
10>ch_grt_common.lib(GRTTableSearchV3.obj) : error LNK2019: unresolved external symbol "public: __cdecl boost::random::random_device::random_device(void)" (??0random_device@random@boost@@QEAA@XZ) referenced in function "public: __cdecl CHRandom::CHRandom(void)" (??0CHRandom@@QEAA@XZ)

我该如何解决?

0 个答案:

没有答案