debug版本无问题,但是到了release版本就报错,具体报错信息如下

--------------------Configuration: 9class - Win32 Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
9class.cpp
9classDoc.cpp
9classView.cpp
MainFrm.cpp
Generating Code...
Linking...
LINK : error : Internal error during ReadSymbolTable
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 004623F2
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 00000008
CONTEXT:
Eax = 005C093C Esp = 0012E6D8
Ebx = 00000002 Ebp = 00A50384
Ecx = 005C093C Esi = 00AA0064
Edx = 00000000 Edi = 00AA0064
Eip = 004623F2 EFlags = 00010246
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 0000003B SegGs = 00000000
Dr0 = 0012E6D8 Dr3 = 00000002
Dr1 = 00A50384 Dr6 = 005C093C
Dr2 = 00000000 Dr7 = 00000000
Error executing link.exe.
Tool execution canceled by user.

---------------------------------------------------

最终解决方法:ALT+F7打开工厂设置,在左上角Setting  for处选择win32 release,在Microsoft foundation classes出选择static library保存退出即可~

4b9bdeb44aed2e73575807a98701a18b85d6fae0

 

最后修改日期:2013 年 9 月 23 日

留言

撰写回覆或留言

发布留言必须填写的电子邮件地址不会公开。