[gambit-list] How to build with Visual C++ 11 (2012)

Ralph Moritz ralph.moeritz at outlook.com
Fri Apr 12 18:10:50 EDT 2013


Marc Feeley <feeley <at> iro.umontreal.ca> writes:

> 
> On 2013-04-12, at 1:10 AM, Ralph Möritz <ralph.moeritz <at> outlook.com>
wrote:
> 
> >>> Hi,
> >>> 
> >>> I've downloaded `gambc-v4_6_7-devel.tgz' and want to compile it with MSVC
> >>> 11. I've tried tweaking `misc\vc2008.bat' but it bombs out with errors 
[SNIP]
> The problem is that you are in the wrong directory!  You should be in the
Gambit root directory and type:
> 
>    misc\vc2008.bat

I tried this but still get the link errors posted in my last message, namely:

/out:gsi.exe 
..\lib\libgambc.lib 
_gsilib.obj 
_gambcgsi.obj 
_gsi.obj 
_gsi_.obj 
Kernel32.Lib 
User32.Lib 
Gdi32.Lib 
WS2_32.Lib 
_gsi.obj : error LNK2001: unresolved external symbol 
____S__23__23_type_2d_18_2d_2babe060_2d_9af6_2d_456f_2d_a26e_2d_40b592f690ec
_gsi.obj : error LNK2001: unresolved external symbol 
____S__23__23_type_2d_36_2d_85099702_2d_35ec_2d_4cb8_2d_ae55_2d_13c4b9b05d10
_gsi.obj : error LNK2001: unresolved external symbol 
____S_io_2d_exception_2d_handler
gsi.exe : fatal error LNK1120: 3 unresolved externals

/out:gsc.exe 
..\lib\libgambc.lib 
_host.obj 
_utils.obj 
_source.obj 
_parms.obj 
_env.obj 
_ptree1.obj 
_ptree2.obj 
_gvm.obj 
_back.obj 
_front.obj 
_prims.obj 
_t-c-1.obj 
_t-c-2.obj 
_t-c-3.obj 
_gsclib.obj 
_gambcgsc.obj 
_gsc.obj 
_gsc_.obj 
Kernel32.Lib 
User32.Lib 
Gdi32.Lib 
WS2_32.Lib 
_source.obj : error LNK2001: unresolved external symbol 
____S__23__23_type_2d_9_2d_edd21ef2_2d_ee48_2d_407f_2d_a9a9_2d_c1c361078e55
_source.obj : error LNK2001: unresolved external symbol ____S_read_2d_cont
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___assert
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___asm
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___x86
_gambcgsc.obj : error LNK2001: unresolved external symbol _____20___codegen
_gambcgsc.obj : error LNK2001: unresolved external symbol 
_____20___t_2d_univ
_gsc.obj : error LNK2001: unresolved external symbol 
____S__23__23_type_2d_18_2d_2babe060_2d_9af6_2d_456f_2d_a26e_2d_40b592f690ec
_gsc.obj : error LNK2001: unresolved external symbol 
____S__23__23_type_2d_36_2d_85099702_2d_35ec_2d_4cb8_2d_ae55_2d_13c4b9b05d10
_gsc.obj : error LNK2001: unresolved external symbol 
____S_io_2d_exception_2d_handler
gsc.exe : fatal error LNK1120: 10 unresolved externals

Anyway, I've given up on VC11 and managed to build Gambit using MinGW.




More information about the Gambit-list mailing list