繁体   English   中英

MSVC和FreeGlut编译器错误

[英]MSVC and FreeGlut Compiler Error

编译时收到大量这些消息,这使得编译一个简单的程序非常耗时。

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。

您的pdb文件与库二进制文件不同步

在Windows中, pdb保存模块的调试信息。 它链接到特定的版本。 如果您重建库,则必须产生一个新的pdb文件。 您拥有的pdb文件不同步,因此您必须删除(或重命名)该文件(找到文件freeglut_static.pdb)或重新编译该库并生成一个最新的pdb文件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM