编译alglib时出现错误。我该怎么办?
我可以使用vs 2012在发布模式下将源代码编译为.lib吗?
注意:vs2010,C ++,发布模式,获取.lib
.................................................. ...........
我有一个库,其中包括.h和.cpp。为了加快我整个项目的编译速度,我想让它们成为一个.lib。根据下面的答案,如果我想加速并且不想在我的所有工作中使用vs 2012,我别无选择,只能编译一个dll?
1>LINK : fatal error LNK1000: Internal error during BuildLibrary
1>
1> Version 10.00.30319.01
1>
1> ExceptionCode = C0000005
1> ExceptionFlags = 00000000
1> ExceptionAddress = 6C8E2803 (6C700000)
"F:\VS2010\VC\bin\c2.dll"
1> NumberParameters = 00000002
1> ExceptionInformation[ 0] = 00000000
1> ExceptionInformation[ 1] = 014005CA
1>
1> CONTEXT:
1> Eax = 00000025 Esp = 0105D44C
1> Ebx = 0105D50C Ebp = 0105D464
1> Ecx = 014005CA Esi = 6C96D3A2
1> Edx = 6B55CC48 Edi = 6C9635FC
1> Eip = 6C8E2803 EFlags = 00010206
1> SegCs = 00000023 SegDs = 0000002B
1> SegSs = 0000002B SegEs = 0000002B
1> SegFs = 00000053 SegGs = 0000002B
1> Dr0 = 00000000 Dr3 = 00000000
1> Dr1 = 00000000 Dr6 = 00000000
1> Dr2 = 00000000 Dr7 = 00000000