开发者

Cannot add library in VC++ 2008: My System is Different

开发者 https://www.devze.com 2022-12-31 22:09 出处:网络
Hopefully someone can tell me what\'s going on here.I\'m trying to link to gdiplus.lib and I tried to go to \"Properties - Linker - Input - Additional Dependencies\" to add the library but I do NOT ha

Hopefully someone can tell me what's going on here. I'm trying to link to gdiplus.lib and I tried to go to "Properties - Linker - Input - Additional Dependencies" to add the library but I do NOT have that secti开发者_JAVA技巧on. I'm using Visual C++ 2008. Here's what I see:

  • Common Properties
    • Framework and References
  • Configuration Properties
    • General
    • Degugging
    • C/C++
    • Librarian
    • Resources
    • XML Document Generator
    • Browse Information
    • Build Events
    • Custom Build Step

I've checked every subcategory and there is NOT a "Linker" section or an "Input" section. Once again, this is Visual C++ 2008 without any customizations or strange settings. I have a screenshot at http://drp.ly/13ma9l if anybody's interested.

How come my Property panel is completely different than everyone else's? Typical Microsoft crap I suppose...


The "Linker" section changes to "Librarian" if the project is set to compile as a static library. Make sure Configuration Properties -> General -> Configuration Type is set to "Application (.exe)" and not to "Static Library (.lib)." Click "Apply" to save the changes.

The "Librarian" section does have an "Additional Dependencies" field. Use that instead of the "Linker" section.

0

精彩评论

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

关注公众号