2010-01-05 4 views
1

간단한 프로그램을 컴파일하는 데 시간이 많이 걸리는 컴파일 중이 메시지를 많이 수신합니다.MSVC 및 FreeGlut 컴파일러 오류

freeglut_static.lib(freeglut_callbacks.obj) : warning LNK4204: 'z:\CST328\Lab1\block\Release\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info 
1>freeglut_static.lib(freeglut_cursor.obj) : warning LNK4204: 'z:\CST328\Lab1\block\Release\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info 
1>freeglut_static.lib(freeglut_display.obj) : warning LNK4204: 'z:\CST328\Lab1\block\Release\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info 

어쨌든 이것을 방지 할 수 있습니까? 내 과제물을 훨씬 더 즐겁게 만들겠습니까? :)

편집 : 나는의 Microsoft Visual C++ Express에 2008 년

답변

6

당신의 PDB 파일을 사용하고 있습니까 이 라이브러리 바이너리

Windows의

와 동기화되는 pdb이 모듈에 대한 디버그 정보를 보유하고 있습니다. 특정 빌드와 연결됩니다. 라이브러리를 다시 빌드하려면 새 pdb 파일을 만들어야합니다. 가지고있는 pdb 파일이 동기화되지 않았기 때문에 freeglut_static.pdb 파일을 삭제 (또는 이름 바꾸기)하거나 라이브러리를 다시 컴파일하고 최신 pdb 파일을 생성해야합니다.

+0

freeglut.callbacks.pdb 파일을 찾을 수 없습니다. 다른 도움말은 무엇입니까? Visual Studio 2008 Static 프로젝트를 다시 빌드했습니다. 새 lib 파일을 올바른 위치에 두어 오류를 수정해야합니까? – bobber205

+0

파일은 freeglut_static.pdb이어야합니다. – Alon