我的项目遇到了一个奇怪的问题。
我最近编写了我的计算机,只需设置项目的备份,安装所需的一切并重新构建它。 我已经设置了libs,DLL,所以项目运行没有任何问题,而且确实如此。唯一的问题是我的精灵不再渲染了! 没有错误,音乐播放资产在正确的位置,我调试并加载图像,发送正确的信息进行渲染,但图像不会出现在屏幕上。 我没有更改任何源文件或任何东西,并检查了一切两次,甚至开始一个新项目再次构建它,似乎没有任何工作。
我正在使用SDL并使用OpenGL进行渲染。 在制作我的电脑之前,一切都已经过去了。
你有这样的问题吗?我能错过什么?
编辑: 这是运行我的应用程序时的日志:
“二进制文件未使用调试信息构建”是什么意思?我不记得它是否曾经在工作时发生过。
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\SDLSkeleton.exe', Symbols loaded.
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\ntdll.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\kernel32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\KernelBase.dll'
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\SDL.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\advapi32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\sechost.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\gdi32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\user32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\lpk.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\usp10.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\winmm.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\opengl32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\glu32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\ddraw.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\dciman32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\setupapi.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\cfgmgr32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\oleaut32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\ole32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\devobj.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\dwmapi.dll'
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\SDL_image.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\SDL_ttf.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\libfreetype-6.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\zlib1.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\SDL_mixer.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcp90.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcr90.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\apphelp.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\AppPatch\AcLayers.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\sspicli.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\shell32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\shlwapi.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\userenv.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\profapi.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\winspool.drv'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\mpr.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\imm32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\msctf.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\KBDUS.DLL'
'SDLSkeleton.exe': Unloaded 'C:\Windows\System32\KBDUS.DLL'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\KBDBR.DLL'
'SDLSkeleton.exe': Unloaded 'C:\Windows\System32\KBDBR.DLL'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\dsound.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\powrprof.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\cryptbase.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\clbcatq.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\MMDevAPI.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\propsys.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\AudioSes.dll'
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\mikmod.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\wdmaud.drv'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\ksuser.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\avrt.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\msacm32.drv'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\msacm32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\midimap.dll'
The thread 'Win32 Thread' (0x1724) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1190) has exited with code 0 (0x0).
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\smpeg.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\nvoglv32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\version.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\wintrust.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\crypt32.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\msasn1.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\ntmarta.dll'
'SDLSkeleton.exe': Loaded 'C:\Windows\System32\Wldap32.dll'
The thread 'Win32 Thread' (0x85c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xdfc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x10dc) has exited with code 0 (0x0).
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\libpng12-0.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Unloaded 'C:\DevProjects\SDLSkeleton\Debug\libpng12-0.dll'
'SDLSkeleton.exe': Loaded 'C:\DevProjects\SDLSkeleton\Debug\libpng12-0.dll', Binary was not built with debug information.
'SDLSkeleton.exe': Unloaded 'C:\DevProjects\SDLSkeleton\Debug\libpng12-0.dll'