Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
i downloaded boost library 1.55 and i bootstrap and i linked that to visual studio 2012 by including library path and additional include directory. while i compile my project i have an error as ' cannot open libboost_serialization-vc110-mt-gd-1_54.lib'. i dont know where i have gone wrong?.
Posted
Comments
[no name] 15-Aug-14 10:23am    
You did not add the path to the libraries.

1 solution

It sounds like you though that the library is the header files. Probably you configured the path to them, so the compiler is happy with you.
But no, the main library content is object and library file, not header files. You need to reference all files you want to line to the linker, all you *.obj and *.lib files. Besides, you probably need to understand what the build does better, in particular:
http://en.wikipedia.org/wiki/Compiler[^],
http://en.wikipedia.org/wiki/Linker_%28computing%29[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900