开发者

How to get access to external libraries and header files VC10

开发者 https://www.devze.com 2023-01-27 01:23 出处:网络
I\'m going to get a book th开发者_StackOverflowat uses Xerces C++. I\'m currently using VS 2010 ultimate, so the program doesn\'t miss any features. I\'ve downloaded the precompiled binaries for windo

I'm going to get a book th开发者_StackOverflowat uses Xerces C++. I'm currently using VS 2010 ultimate, so the program doesn't miss any features. I've downloaded the precompiled binaries for windows x86 VC10. My question is what do I have to do to my environmental variables and files to be able to have Visual studio import the header files i.e. #include . I have no experience linking external libraries, so I need a simple explanation.


Right click on your project -> Properties -> C/C++ -> General -> Additional Include Directories

Include the path of Xerces include files.

For Lib Properties Linker -> General -> Additional Library Directories

Include the path of Xerces lib files.

In Linker -> General -> Input -> Additional dependencies

Add the libs required for linking.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号