[英]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.