且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法打开文件“SDL2.lib"

更新时间:2022-03-15 23:32:22

我指的是 VS 2010,但我之前读过一些人在他们的项目属性中使用 VC++ 目录而不是链接器时遇到了错误-> 常规-> 其他库目录.

I'm referencing VS 2010, but I've read before that some people have had errors when using the VC++ Directories in their project properties as opposed to the Linker->General->Additional Library Directories.

不幸的是,除了确保正确链接目录之外,真的没有什么可做的了.这个问题真的只有一个答案.这也可能取决于您选择的 SDL 下载,您是下载开发库还是二进制文件?

Unfortunately, there really isn't much more to do besides making sure the directories are linked properly. There really is only one answer to this question. It also may depend on the download of SDL you chose, are you donwloading the Development Library as opposed to the binary?