fatal error LNK1120:

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

Moderators: silvia, selimgunay, Moderators

Post Reply
akbar.mahvash
Posts: 2
Joined: Fri Jan 08, 2010 3:42 pm
Location: Lehigh University

fatal error LNK1120:

Post by akbar.mahvash »

Hi
I am trying to compile opensees but I get these errors
24>tkMain.obj : error LNK2019: unresolved external symbol _Tcl_PkgInitStubsCheck referenced in function "void __cdecl Tk_MainOpenSees(int,char * *,int (__cdecl*)(struct Tcl_Interp *),struct Tcl_Interp *)" (?Tk_MainOpenSees@@YAXHPAPADP6AHPAUTcl_Interp@@@Z1@Z)
24>.\..\..\bin/openSeesTk.exe : fatal error LNK1120: 1 unresolved externals
25>LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
25>.\..\..\bin/openSees.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 23 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Does anybody know what these errors are and what I should do?
Thanks
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

what operating system and compiler are you using?
Post Reply