简体   繁体   中英

Linking boost library to c++ project

I wanna use MySQL Connector/C++ in Visual Studio. So i read I need Boost library. I got that library and build it as explained in tutorial. I set include directories in Visual Studio to point to Boost include folder, and also set Additional Library Directories to point to boost_1_54_0\\stage\\lib , but which lib file should I include in Additional Dependencies? I can see that library for smart pointers is used but I cant find which lib file is that?

If you are only going to build with Visual Studio, boost supports auto-linking. As long as the compiler can find the libraries that are not header only, boost should take care of this for you. More information can be found here: Boost Auto Linking

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM