简体   繁体   中英

How do I link libraries in VS C++ 2010 express?

I have been trying to link some WDK libraries to my project in Visual Studio C++ 2010 express. When I look under the properties of my project, the properties window is pretty blank, (I don't have many options). Am I even allowed to link libraries to my project in the express edition? How do I link to these external libraries?

Right click on the project (not the solution) and choose properties. The title bar of the dialog that pops up should say "[project name] Property Pages". It should not say "Solution [project name] Property Pages".

Then go to "Configuration Properties -> Linker -> General" and add the path to your libs to "Additional Library Directories". You will also need to add the specific library files to the "Configuration Properties -> Linker -> Input" list.

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