S.O.S.Linking Problem

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
Reza Khajavi
Posts: 4
Joined: Mon Apr 06, 2009 11:02 am
Location: ferdowsi

S.O.S.Linking Problem

Post by Reza Khajavi »

[b]Hi
I have a problem when trying to build OpenSees in VC++ 2005[/b] :cry: :

24>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
23>libcpmtd.lib(xmbtowc.obj) : error LNK2019: unresolved external symbol __imp__InterlockedCompareExchange@12 referenced in function __GetLocaleForCP
23>.\..\..\bin/quickMain.exe : fatal error LNK1120: 1 unresolved externals
.
.
.
24>tclMain.obj : error LNK2019: unresolved external symbol __imp__TclFormatInt referenced in function "void __cdecl g3TclMain(int,char * *,int (__cdecl*)(struct Tcl_Interp *),int,int)" (?g3TclMain@@YAXHPAPADP6AHPAUTcl_Interp@@@ZHH@Z)
24>.\..\..\bin/openSees.exe : fatal error LNK1120: 1 unresolved externals
.
.
.
========== Rebuild All: 23 succeeded, 2 failed, 0 skipped ==========

[b]I will really appriciate if someone helps me [/b]:wink: .
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

make sure you have tcl8.5 installed and the latest tar ball from the last release.
Reza Khajavi
Posts: 4
Joined: Mon Apr 06, 2009 11:02 am
Location: ferdowsi

The problem insists

Post by Reza Khajavi »

Thanks fmk. I have installed Tcl 8.5.4.0 and Opensees2.0.01. well, I don't know what tar ball is. I'm running Windows XP. However, the problem still insists. Your kindly advice is appriciated.
msa_imeg
Posts: 19
Joined: Sun Mar 09, 2008 9:15 pm
Location: Ferdowsi University of Mashhad

Post by msa_imeg »

Hi Reza ! :)
I have this problem too
remove quickMain and work with opensees or openseesTk in vs2005 project space .
Reza Khajavi
Posts: 4
Joined: Mon Apr 06, 2009 11:02 am
Location: ferdowsi

Post by Reza Khajavi »

Hi young man,
It worked. :lol:
Thanks.
Post Reply