Opened 7 years ago

Closed 7 years ago

#11320 closed Bugs (worksforme)

error link boost lib filesystem and serialisation

Reported by: gregory.boero-teyssier@… Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

hello I'm on Visual studio 2013 I try to use managed c++ to create gui, my project use an unmanaged c++ lib with using boost filesystem and serialisation library but visual c++ throw a link error : visual c++ error lnk1104 cannot open file 'boost_serialization-vc120-mt-gd-1_56.lib' when i comment the include of serialisation header I've the same error with filesystem and when i comment the both ligne i've no error with the others boost lib

Change History (1)

comment:1 by Beman Dawes, 7 years ago

Resolution: worksforme
Status: newclosed

This sort of question is best asked on the Boost Users mailing list. You will get a faster response there.

Serialization and Filesystem are compiled libraries. Many other boost libraries are header only, so that might explain why the other libraries work, but these two do not work. If that is the case, check that the VC++ IDE Property Pages | Linker | General | Additional Library Directories path is set correctly, and that the .lib files are actually present at that location.

HTH,

--Beman

Note: See TracTickets for help on using tickets.