以前应该说: 我在这里以及其他网站上阅读了很多帖子并试了很多东西,但是我无法摆脱这个问题,所以请不要只把它标记为一个dublicate,而是帮我快速解决问题! :) 提前谢谢!
我有一个问题,我想,链接我的库是正确的......
首先,我的设置:
*include directories:*
$(SolutionDir)deps/include/;$(SolutionDir);$(IncludePath)
*library directories:*
$(SolutionDir)deps/lib/Release/;$(SolutionDir)Release/bin/;$(LibraryPath)
*additional dependencies:*
SDL2.lib;SDL2_mixer.lib;SDL2_ttf.lib;SDL2main.lib;opengl32.lib;glew32.lib;Bengine.lib;Box2D.lib;%(AdditionalDependencies)
The (first) error is the following:
Error LNK2001 Unresolved external Symbol "__imp__vprintf". NinjaPlatformer *PathToProgram*\Platformer\NinjaPlatformer\Box2D.lib(b2Settings.obj)
我的文件夹具有以下结构:
Platformer
Debug
bin
some stuff...
Release
bin
some stuff...
Bengine (My GameEngine)
some stuff...
deps
include
Box2D, GL, glm, SDL, TTF
lib
Debug / Release:
The libs, I mentioned at the top of the question
NinjaPlatformer (Main Program)
some files for main program
(不知道是否需要,但这里是错误日志):Error Log(sry,它是德语...)