Page 1 of 1

Compilation of jace: Linker errors

PostPosted: Thu Aug 22, 2013 2:53 am
by Cosinus42
Dear all,

I am very new to bio-formats and would like to include it into my C++ code. I follow these building instructions: https://www.openmicroscopy.org/site/sup ... ndows.html

I am almost done, but when I start jace.sln and compile it, I get a lots of linker errors of that type:

"error LNK2001: unresolved external symbol 'class boost::system::error_category const & __cdecl boost::system::generic_category(void)' (?generic_category@system@boost@@YAABVerror_category@12@XZ"

or

error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'posix_category''(void)" (??__Eposix_category@system@boost@@YAXXZ)

Unfortunately, I have no idea, what the problem could be. I am very thankful to any help and advise!

Regards
Christina

Re: Compilation of jace: Linker errors

PostPosted: Thu Aug 22, 2013 5:04 am
by Cosinus42
I managed to resolve the problem on my own. Here is what I did.

I did not build 64bit libraries but 32bit libraries. To build 64bit libraries, I first had to install the Microsoft Windows SDK v7.1. To install that, I first had to uninstall the Visual Studio redistributables.

Then, I built the libraries again (using CMake) and now, jace.sln compiles.