2013-02-10 5 views
0

나는 비주얼 스튜디오 C++ 2010 익스프레스에 대한 설정 SDL에 노력하고있어 아직SDL 설정은 Visual Studio를

#include "SDL.h" 

int main(int argc, char* args[]) { 
    //Start SDL 
    SDL_Init(SDL_INIT_EVERYTHING); 

    SDL_Quit(); 
    return 0; 
} 

그리고 간단한 프로그램을 실행할 때 나는 끊임없이 다음과 같은 오류를 얻을 내가받을 다음과 같은 오류

'SDLtest.exe': Loaded 'C:\Users\Sean Kwon\Desktop\c++_programs\SDLtest\Debug\SDLtest.exe', Symbols loaded. 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\SDL.dll', Binary was not built with debug information. 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\ddraw.dll' 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\dwmapi.dll' 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\setupapi.dll' 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\devobj.dll' 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\oleaut32.dll' 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\ole32.dll' 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\cfgmgr32.dll' 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\dciman32.dll' 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\KBDUS.DLL', Cannot find or open the PDB file 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\KBDUS.DLL' 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\KBDUS.DLL', Cannot find or open the PDB file 
'SDLtest.exe': Unloaded 'C:\Windows\SysWOW64\KBDUS.DLL' 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file 
'SDLtest.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file 
The thread 'Win32 Thread' (0x15e4) has exited with code 0 (0x0). 
The thread 'Win32 Thread' (0x150c) has exited with code 0 (0x0). 
The program '[5584] SDLtest.exe: Native' has exited with code 0 (0x0). 
나는 나의 SysWOW64와 폴더에 .DLL 폴더를 추가하지만, 난 여전히 같은 오류를 얻을 ...

+0

해당 출력에는 치명적인 오류가 없습니다. 응용 프로그램이 실행되어 '0'을 반환했습니다. – Chad

+0

창을 출력하지 않아도됩니까? –

+0

비디오를 초기화하고 잠시 (1) 코드에 넣으십시오. –

답변

1

귀하의 코드가 성공적으로 실행되었으며 0

0123을 반환

"PDB 파일을 찾을 수 없거나 열 수 없습니다" 큰 부분에 대한 이러한 경고는 무시해도됩니다. 이러한 경고는 컴파일러가 나열된 dll에 대한 디버그 정보를 찾을 수 없음을 의미합니다. IDE가 내부적으로 링크하거나 OS API가 사용하는 것과 같은 외부 종속성의 심볼을로드하기위한 것으로, 일반적으로 프로그램의 기본 디버깅에는 필요하지 않습니다.

시도해보십시오. these tutorials을 시도하거나 SDL 설정 및 사용에 대한 자세한 내용은 SDL 설명서를 참조하십시오.

0

PDB 파일을 찾을 수 없습니다. 즉, PDB 파일을 가져와야합니다.

도구 -> 옵션 -> 디버깅 -> 기호

검사 'Microsoft 기호 서버'당신이 놓치고있는 기호를로드합니다.

관련 문제