build opensees 2.4.6 on 64bit windows7 by vs2010,need help
Moderators: silvia, selimgunay, Moderators
build opensees 2.4.6 on 64bit windows7 by vs2010,need help
25> Generating Code...
25>LINK : warning LNK4075: 忽略“/INCREMENTAL”(由于“/FORCE”规范)
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _heap_alloc 已在 LIBCMT.lib(malloc.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _recalloc 已在 LIBCMT.lib(recalloc.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _expand 已在 LIBCMT.lib(expand.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _msize 已在 LIBCMT.lib(msize.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_malloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_realloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_recalloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_offset_malloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_offset_realloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_offset_recalloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_free 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_msize 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbghook.obj) : warning LNK4006: __crt_debugger_hook 已在 LIBCMT.lib(dbghook.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(isctype.obj) : warning LNK4006: _isctype_l 已在 LIBCMT.lib(isctype.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(isctype.obj) : warning LNK4006: _isctype 已在 LIBCMT.lib(isctype.obj) 中定义;已忽略第二个定义
25> 正在创建库 .\..\..\bin\OpenSees.lib 和对象 .\..\..\bin\OpenSees.exp
25>LINK : warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
25>LINK : warning LNK4098: 默认库“LIBCMTD”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
25>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: 无法解析的外部符号 "public: __cdecl ShellNLDKGQ::ShellNLDKGQ(void)" (??0ShellNLDKGQ@@QEAA@XZ),该符号在函数 "public: virtual class Element * __cdecl FEM_ObjectBrokerAllClasses::getNewElement(int)" (?getNewElement@FEM_ObjectBrokerAllClasses@@UEAAPEAVElement@@H@Z) 中被引用
25>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: 无法解析的外部符号 "public: __cdecl ShellDKGQ::ShellDKGQ(void)" (??0ShellDKGQ@@QEAA@XZ),该符号在函数 "public: virtual class Element * __cdecl FEM_ObjectBrokerAllClasses::getNewElement(int)" (?getNewElement@FEM_ObjectBrokerAllClasses@@UEAAPEAVElement@@H@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_VS3D4WuadWithSensitivity(void)" (?OPS_VS3D4WuadWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_AV3D4QuadWithSensitivity(void)" (?OPS_AV3D4QuadWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_ASID8QuadWithSensitivity(void)" (?OPS_ASID8QuadWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_AC3D8HexWithSensitivity(void)" (?OPS_AC3D8HexWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewShellNLDKGQ(void)" (?OPS_NewShellNLDKGQ@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewShellDKGQ(void)" (?OPS_NewShellDKGQ@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_ConcreteD(void)" (?OPS_ConcreteD@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderUniaxialMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *)" (?TclModelBuilderUniaxialMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@@Z) 中被引用
25>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_BilinearOilDamper(void)" (?OPS_BilinearOilDamper@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderUniaxialMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *)" (?TclModelBuilderUniaxialMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@@Z) 中被引用
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewMaterialCMM(void)" (?OPS_NewMaterialCMM@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderNDMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderNDMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVTclModelBuilder@@@Z) 中被引用
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewAcousticMedium(void)" (?OPS_NewAcousticMedium@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderNDMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderNDMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVTclModelBuilder@@@Z) 中被引用
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewLinearCap(void)" (?OPS_NewLinearCap@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderNDMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderNDMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVTclModelBuilder@@@Z) 中被引用
25>.\..\..\bin/OpenSees.exe : fatal error LNK1120: 13 个无法解析的外部命令
25>
25>生成失败。
25>
25>已用时间 00:00:06.46
========== 全部重新生成: 成功 24 个,失败 1 个,跳过 0 个 ==========
25>LINK : warning LNK4075: 忽略“/INCREMENTAL”(由于“/FORCE”规范)
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _heap_alloc 已在 LIBCMT.lib(malloc.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _recalloc 已在 LIBCMT.lib(recalloc.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _expand 已在 LIBCMT.lib(expand.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _msize 已在 LIBCMT.lib(msize.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_malloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_realloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_recalloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_offset_malloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_offset_realloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_offset_recalloc 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_free 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _aligned_msize 已在 LIBCMT.lib(align.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(dbghook.obj) : warning LNK4006: __crt_debugger_hook 已在 LIBCMT.lib(dbghook.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(isctype.obj) : warning LNK4006: _isctype_l 已在 LIBCMT.lib(isctype.obj) 中定义;已忽略第二个定义
25>LIBCMTD.lib(isctype.obj) : warning LNK4006: _isctype 已在 LIBCMT.lib(isctype.obj) 中定义;已忽略第二个定义
25> 正在创建库 .\..\..\bin\OpenSees.lib 和对象 .\..\..\bin\OpenSees.exp
25>LINK : warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
25>LINK : warning LNK4098: 默认库“LIBCMTD”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
25>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: 无法解析的外部符号 "public: __cdecl ShellNLDKGQ::ShellNLDKGQ(void)" (??0ShellNLDKGQ@@QEAA@XZ),该符号在函数 "public: virtual class Element * __cdecl FEM_ObjectBrokerAllClasses::getNewElement(int)" (?getNewElement@FEM_ObjectBrokerAllClasses@@UEAAPEAVElement@@H@Z) 中被引用
25>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: 无法解析的外部符号 "public: __cdecl ShellDKGQ::ShellDKGQ(void)" (??0ShellDKGQ@@QEAA@XZ),该符号在函数 "public: virtual class Element * __cdecl FEM_ObjectBrokerAllClasses::getNewElement(int)" (?getNewElement@FEM_ObjectBrokerAllClasses@@UEAAPEAVElement@@H@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_VS3D4WuadWithSensitivity(void)" (?OPS_VS3D4WuadWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_AV3D4QuadWithSensitivity(void)" (?OPS_AV3D4QuadWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_ASID8QuadWithSensitivity(void)" (?OPS_ASID8QuadWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_AC3D8HexWithSensitivity(void)" (?OPS_AC3D8HexWithSensitivity@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewShellNLDKGQ(void)" (?OPS_NewShellNLDKGQ@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>element.lib(TclElementCommands.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewShellDKGQ(void)" (?OPS_NewShellDKGQ@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderElementCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *,class TclModelBuilder *)" (?TclModelBuilderElementCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@PEAVTclModelBuilder@@@Z) 中被引用
25>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_ConcreteD(void)" (?OPS_ConcreteD@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderUniaxialMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *)" (?TclModelBuilderUniaxialMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@@Z) 中被引用
25>material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_BilinearOilDamper(void)" (?OPS_BilinearOilDamper@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderUniaxialMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class Domain *)" (?TclModelBuilderUniaxialMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVDomain@@@Z) 中被引用
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewMaterialCMM(void)" (?OPS_NewMaterialCMM@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderNDMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderNDMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVTclModelBuilder@@@Z) 中被引用
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewAcousticMedium(void)" (?OPS_NewAcousticMedium@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderNDMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderNDMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVTclModelBuilder@@@Z) 中被引用
25>material.lib(TclModelBuilderNDMaterialCommand.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl OPS_NewLinearCap(void)" (?OPS_NewLinearCap@@YAPEAXXZ),该符号在函数 "int __cdecl TclModelBuilderNDMaterialCommand(void *,struct Tcl_Interp *,int,char const * *,class TclModelBuilder *)" (?TclModelBuilderNDMaterialCommand@@YAHPEAXPEAUTcl_Interp@@HPEAPEBDPEAVTclModelBuilder@@@Z) 中被引用
25>.\..\..\bin/OpenSees.exe : fatal error LNK1120: 13 个无法解析的外部命令
25>
25>生成失败。
25>
25>已用时间 00:00:06.46
========== 全部重新生成: 成功 24 个,失败 1 个,跳过 0 个 ==========
Re: build opensees 2.4.6 on 64bit windows7 by vs2010,need he
I have the same problem . I am using Window 10, 64 bit. I have tried to compile Opensees 2.4 but failed with MS Visual Studio 2010, 2012 and even 2015
.
I also failed with Window 7, 64 bit too.
![Sad :(](./images/smilies/icon_sad.gif)
I also failed with Window 7, 64 bit too.
Re: build opensees 2.4.6 on 64bit windows7 by vs2010,need he
The problem has gone with visual studio 2015 rc. So this is indeed a bug of vs, not protobuf.
news word: www.tinbai.net - https://ziki.vn/danh_muc/43/tu-say-quan-ao
Re: build opensees 2.4.6 on 64bit windows7 by vs2010,need he
Hi tikiviet,
So what is your solution so far?
I intend to install a new Window 7 32bit in an old computer.
So what is your solution so far?
I intend to install a new Window 7 32bit in an old computer.
Re: build opensees 2.4.6 on 64bit windows7 by vs2010,need he
badinhle wrote:
> I have the same problem . I am using Window 10, 64 bit. I have tried to
> compile Opensees 2.4 but failed with MS Visual Studio 2010, 2012 and even
> 2015
.
> I also failed with Window 7, 64 bit too.
I also face that problem, I cannot build Opensees 2.4.6 with VS 2008, 2010, 2012, 2013, 2015 (express edition, too) using Windows 10 x64, Windows 8.1 x64 and Windows 7 x64
Some errors are like: cannot find "tcl.h", when it build TclModelBuilder.h
Can anyone help us, please!!!
> I have the same problem . I am using Window 10, 64 bit. I have tried to
> compile Opensees 2.4 but failed with MS Visual Studio 2010, 2012 and even
> 2015
![Sad :(](./images/smilies/icon_sad.gif)
> I also failed with Window 7, 64 bit too.
I also face that problem, I cannot build Opensees 2.4.6 with VS 2008, 2010, 2012, 2013, 2015 (express edition, too) using Windows 10 x64, Windows 8.1 x64 and Windows 7 x64
Some errors are like: cannot find "tcl.h", when it build TclModelBuilder.h
Can anyone help us, please!!!
Re: build opensees 2.4.6 on 64bit windows7 by vs2010,need he
you just need to install TCl/tk 8.5 to the location C:\Program Files\Tcl, then after you will come to other problems stage