Unresolved external symbols in Visual Studio 2010

两盒软妹~` 提交于 2019-12-01 05:21:23

Apologies if this is overly pedantic. If this is a pre-built library (not built as part of the project/solution) then make sure you

a) #include the correct header
b) #define any requisite macros
c) speciy additional .lib dependencies as shown below. 

You will need to specify a fully qualifed path (d:\src\project\libs\camera.lib) unless the libary file is in the LIB environment variable.

In the Property Pages for your project, navigate to Configuration > Linker > Input and add the lib file to the Additional Dependencies setting. This applies to VC++ 2008, probably likewise to 2010.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!