错误消息
在函数“function”中引用了无法解析的外部符号“symbol”
可是明明我已经设置 MSVC 链接了 这个 lib ,我能够100%保证这个函数在库里面定义了, 但是问题出在哪呢?
下面是对我的Solution
make sure that the target that is being built is the same as the target that the libraries you have are. So if you've downloaded the 64-bit GLFW libraries, make sure your VS project is building for a Win64 target.
因为库的构建平台为64位
而MSVC 即使在 64位系统默认也是WIN32
要保证构建的平台是一样的,如下图