Hi everybody,
This is my first attempt to compile OpenSees source code. Unfortunately, I am having some errors in the process. These are the compiler error messages:
23>libm.lib(libm_error.obj) : error LNK2019: unresolved external symbol _errno referenced in function ___libm_error_support
23>libifcore.lib(for_nt_open_proc.obj) : error LNK2001: unresolved external symbol _errno
23>libifcore.lib(for_portlib.obj) : error LNK2001: unresolved external symbol _errno
23>libifcore.lib(for_init.obj) : error LNK2019: unresolved external symbol __pxcptinfoptrs referenced in function _GETEXCEPTIONPTRSQQ
23>.\..\..\bin/openSees.exe : fatal error LNK1120: 2 unresolved externals
23>Creating browse information file...
23>Microsoft Browse Information Maintenance Utility Version 8.00.50727
23>Copyright (C) Microsoft Corporation. All rights reserved.
23>Build log was saved at "file://c:\OpenSees1.7.5\Win32\obj\openSees\debug\BuildLog.htm"
23>openSees - 5 error(s), 7 warning(s)
========== Rebuild All: 22 succeeded, 1 failed, 0 skipped ==========
I am using Microsoft Visual Studio 5.0 to compile the source code. I have followed the instructions in this website. I have tcl/tk8.4 installed in C:\Program Files\Tcl and I have MSDEV installed in C:\MSDEV\.
I would really appreciate any suggestion or comment to solve this problem. Thank you very much!!
Carlos
Errors in building OpenSees (windows)
Moderators: silvia, selimgunay, Moderators
Update
I have added the VC2005errno.cpp file to the OpenSees project. It has eliminated some of the errors. The error messages from the compiler are now:
23>Linking...
23>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
23>libifcore.lib(for_init.obj) : error LNK2019: unresolved external symbol __pxcptinfoptrs referenced in function _GETEXCEPTIONPTRSQQ
23>.\..\..\bin/openSees.exe : fatal error LNK1120: 1 unresolved externals
23>Creating browse information file...
23>Microsoft Browse Information Maintenance Utility Version 8.00.50727
23>Copyright (C) Microsoft Corporation. All rights reserved.
23>Build log was saved at "file://c:\OpenSees1.7.5\Win32\obj\openSees\debug\BuildLog.htm"
23>openSees - 2 error(s), 7 warning(s)
========== Build: 22 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Suggestions and comments are welcome! Thank you,
Carlos
23>Linking...
23>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
23>libifcore.lib(for_init.obj) : error LNK2019: unresolved external symbol __pxcptinfoptrs referenced in function _GETEXCEPTIONPTRSQQ
23>.\..\..\bin/openSees.exe : fatal error LNK1120: 1 unresolved externals
23>Creating browse information file...
23>Microsoft Browse Information Maintenance Utility Version 8.00.50727
23>Copyright (C) Microsoft Corporation. All rights reserved.
23>Build log was saved at "file://c:\OpenSees1.7.5\Win32\obj\openSees\debug\BuildLog.htm"
23>openSees - 2 error(s), 7 warning(s)
========== Build: 22 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Suggestions and comments are welcome! Thank you,
Carlos
Solution
Finally it worked. I downloaded the libifcoremt library from http://opensees.berkeley.edu/cgi-bin/cv ... COREMT.lib. Then, I saved a copy of that file in my tcl\lib installation, with the following name: libifcore.lib. That was all. Hope this helps to anyone with the same problem.
Re: Solution
Yes I had the same problem. Thanks your my saviour.hagbard85 wrote:Finally it worked. I downloaded the libifcoremt library from http://opensees.berkeley.edu/cgi-bin/cv ... COREMT.lib. Then, I saved a copy of that file in my tcl\lib installation, with the following name: libifcore.lib. That was all. Hope this helps to anyone with the same problem.
-
- Posts: 28
- Joined: Fri Mar 11, 2011 2:12 am
- Location: Orléans
Re: Errors in building OpenSees (windows)
Thank you it worked for me too.
(I first tried with VC++ express 2010, and I had trouble to compile, but with VC++ express 2008, it was al right).
(I first tried with VC++ express 2010, and I had trouble to compile, but with VC++ express 2008, it was al right).