开发者

Boost::Archive causing weird linker error

Does anyone have a clue why those two lines would cause 开发者_开发问答that linker error?

std::ifstream ifs("filename.file");
boost::archive::binary_iarchive iarchv( ifs );

Error 8 fatal error LNK1104: cannot open file 'F:\dev\project\build\win32-unit\tests\Debug\framework_core_tests.lib' ramework_core_tests framework_core_tests

The same happens with any Boost::Archive type.

Its trying to link against a library of the same name as my executable for some reason when that project doesn't nor never existed and is not defined as a library to link against in my project files.


maybe you should add a reference to a lib that contains that functions?


You have compiled this library with core tests.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜