We're Hiring!

Compilation of jace: Linker errors

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Compilation of jace: Linker errors

Postby Cosinus42 » Thu Aug 22, 2013 2:53 am

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
Cosinus42
 
Posts: 4
Joined: Fri Aug 16, 2013 10:54 am

Re: Compilation of jace: Linker errors

Postby Cosinus42 » Thu Aug 22, 2013 5:04 am

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.
Cosinus42
 
Posts: 4
Joined: Fri Aug 16, 2013 10:54 am


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest