Building v.2.4.4
Moderators: silvia, selimgunay, Moderators
-
- Posts: 4
- Joined: Sat Mar 09, 2013 5:00 am
- Location: Assiut University
Building v.2.4.4
OS: Windows 8.1 x64 ,
tcl: 8.5.16,
OPS_VERSION "2.4.5 (rev 5854)"
Microsoft Visual C ++ 2013 Ultimate
release x64
Is there someone please help me to solve these error?
Error 1503 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trial1\trunk\SRC\element\elastomericBearing\ElastomericX.cpp 413
Error 1514 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trial1\trunk\SRC\element\elastomericBearing\LeadRubberX.cpp 441
Error 1564 error C2039: 'max' : is not a member of 'std' C:\Users\ahmed\Desktop\trial1\trunk\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132
Error 1781 error LNK1181: cannot open input file 'cssparse.lib' C:\Users\ahmed\Desktop\trial1\trunk\Win32\proj\openSees\LINK
========== Rebuild All: 22 succeeded, 4 failed, 1 skipped ==========
Please help me, thank you!
PhD Student, southeast University, China
tcl: 8.5.16,
OPS_VERSION "2.4.5 (rev 5854)"
Microsoft Visual C ++ 2013 Ultimate
release x64
Is there someone please help me to solve these error?
Error 1503 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trial1\trunk\SRC\element\elastomericBearing\ElastomericX.cpp 413
Error 1514 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trial1\trunk\SRC\element\elastomericBearing\LeadRubberX.cpp 441
Error 1564 error C2039: 'max' : is not a member of 'std' C:\Users\ahmed\Desktop\trial1\trunk\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132
Error 1781 error LNK1181: cannot open input file 'cssparse.lib' C:\Users\ahmed\Desktop\trial1\trunk\Win32\proj\openSees\LINK
========== Rebuild All: 22 succeeded, 4 failed, 1 skipped ==========
Please help me, thank you!
PhD Student, southeast University, China
Re: Building v.2.4.4
You might want to try out just downloading and building the last stable release of the code... i.e. 5764 to see if that works. Another thing that might build errors is that you're trying to build using an x64 option instead of 32. Give those possible solutions a try.
Brighton Laiman
Development Engineer
RISA Technologies
Foothill Ranch, CA
Development Engineer
RISA Technologies
Foothill Ranch, CA
-
- Posts: 4
- Joined: Sat Mar 09, 2013 5:00 am
- Location: Assiut University
Re: Building v.2.4.4
Thanks blaiman for your help.
But, When I was running in win8.1 x64(MVC++2013, release x64, OpenSees v2.4.4 (rev 5764)), it gave other errors as following:
Error 1536 error C2039: 'max' : is not a member of 'std' C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132
Error 1751 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\ElastomericX.cpp 413
Error 1754 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\LeadRubberX.cpp 441
Error 1765 error LNK1181: cannot open input file 'cssparse.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSeesTk\LINK
Error 1761 error LNK1181: cannot open input file 'cssparse.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSees\LINK
========== Rebuild All: 22 succeeded, 4 failed, 1 skipped ==========
Also, When I was running in win8.1 x64(MVC++2013, release win32, OpenSees v2.4.4 (rev 5764)), it gave other errors as following:
Error 1441 error C3861: 'min': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1334
Error 1609 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\ElastomericX.cpp 413
Error 1612 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\LeadRubberX.cpp 441 Error 1620 error LNK1181: cannot open input file 'element.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSees\LINK
Error 1623 error LNK1181: cannot open input file 'element.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSeesTk\LINK
========== Rebuild All: 22 succeeded, 4 failed, 1 skipped ==========
Final, When I was running in win7 32(MVC++2013, release win32, OpenSees v2.4.4 (rev 5764)), it gave other errors as following:
Error 7 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 actor
Error 8 error C1083: Cannot open include file: 'winsock.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\actor\message\Message.cpp 67 1 actor
Error 9 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\actor\channel\Socket.cpp 38 1 actor
Error 10 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 actor
Error 11 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 actor
Error 247 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\actor\channel\Socket.h 39 1 handler
Error 494 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 507 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 510 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 511 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 613 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132 1 material
Error 614 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132 1 material
Error 615 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1146 1 material
Error 616 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1146 1 material
Error 617 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1159 1 material
Error 618 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1159 1 material
Error 619 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1161 1 material
Error 620 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1161 1 material
Error 622 error C2039: 'min' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1162 1 material
Error 623 error C3861: 'min': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1162 1 material
Error 624 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1318 1 material
Error 625 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1318 1 material
Error 626 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1333 1 material
Error 627 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1333 1 material
Error 628 error C2039: 'min' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1334 1 material
Error 629 error C3861: 'min': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1334 1 material
Error 707 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\element\bearing\ElastomericX.cpp 413 1 element
Error 710 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\element\bearing\LeadRubberX.cpp 441 1 element
Error 719 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 recorder
Error 746 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 recorder
Error 1068 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 renderer
Error 1069 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 renderer
Error 1082 error C1083: Cannot open include file: 'windows.h': No such file or directory c:\users\admin\desktop\new folder\new folder (3)\src\renderer\WindowDevice.h 38 1 renderer
Error 1251 error C1083: Cannot open include file: 'Windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\system_of_eqn\linearSOE\sparseGEN\CuSPSolver.cpp 2 1 system
Error 1291 error C1083: Cannot open include file: 'Windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\utility\Timer.cpp 45 1 utility
Error 1292 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\api\packages.cpp 46 1 utility
Error 1298 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 tcl
Error 1317 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 tcl
Error 1510 error LNK1181: cannot open input file 'tcl.lib' C:\Users\admin\Desktop\New folder\New folder (3)\Win32\proj\openSees\LINK openSees
========== Rebuild All: 15 succeeded, 10 failed, 1 skipped ==========
How to solve these errors? Thank you for your valuable time.
But, When I was running in win8.1 x64(MVC++2013, release x64, OpenSees v2.4.4 (rev 5764)), it gave other errors as following:
Error 1536 error C2039: 'max' : is not a member of 'std' C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132
Error 1751 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\ElastomericX.cpp 413
Error 1754 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\LeadRubberX.cpp 441
Error 1765 error LNK1181: cannot open input file 'cssparse.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSeesTk\LINK
Error 1761 error LNK1181: cannot open input file 'cssparse.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSees\LINK
========== Rebuild All: 22 succeeded, 4 failed, 1 skipped ==========
Also, When I was running in win8.1 x64(MVC++2013, release win32, OpenSees v2.4.4 (rev 5764)), it gave other errors as following:
Error 1441 error C3861: 'min': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1334
Error 1609 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\ElastomericX.cpp 413
Error 1612 error C3861: 'max': identifier not found C:\Users\ahmed\Desktop\trail\New folder (3)\SRC\element\bearing\LeadRubberX.cpp 441 Error 1620 error LNK1181: cannot open input file 'element.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSees\LINK
Error 1623 error LNK1181: cannot open input file 'element.lib' C:\Users\ahmed\Desktop\trail\New folder (3)\Win32\proj\openSeesTk\LINK
========== Rebuild All: 22 succeeded, 4 failed, 1 skipped ==========
Final, When I was running in win7 32(MVC++2013, release win32, OpenSees v2.4.4 (rev 5764)), it gave other errors as following:
Error 7 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 actor
Error 8 error C1083: Cannot open include file: 'winsock.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\actor\message\Message.cpp 67 1 actor
Error 9 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\actor\channel\Socket.cpp 38 1 actor
Error 10 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 actor
Error 11 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 actor
Error 247 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\actor\channel\Socket.h 39 1 handler
Error 494 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 507 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 510 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 511 error C1083: Cannot open include file: 'winsock2.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\actor\channel\Socket.h 39 1 element
Error 613 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132 1 material
Error 614 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1132 1 material
Error 615 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1146 1 material
Error 616 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1146 1 material
Error 617 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1159 1 material
Error 618 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1159 1 material
Error 619 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1161 1 material
Error 620 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1161 1 material
Error 622 error C2039: 'min' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1162 1 material
Error 623 error C3861: 'min': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1162 1 material
Error 624 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1318 1 material
Error 625 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1318 1 material
Error 626 error C2039: 'max' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1333 1 material
Error 627 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1333 1 material
Error 628 error C2039: 'min' : is not a member of 'std' C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1334 1 material
Error 629 error C3861: 'min': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\material\nD\UWmaterials\ManzariDafalias.cpp 1334 1 material
Error 707 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\element\bearing\ElastomericX.cpp 413 1 element
Error 710 error C3861: 'max': identifier not found C:\Users\admin\Desktop\New folder\New folder (3)\SRC\element\bearing\LeadRubberX.cpp 441 1 element
Error 719 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 recorder
Error 746 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 recorder
Error 1068 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 renderer
Error 1069 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 renderer
Error 1082 error C1083: Cannot open include file: 'windows.h': No such file or directory c:\users\admin\desktop\new folder\new folder (3)\src\renderer\WindowDevice.h 38 1 renderer
Error 1251 error C1083: Cannot open include file: 'Windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\system_of_eqn\linearSOE\sparseGEN\CuSPSolver.cpp 2 1 system
Error 1291 error C1083: Cannot open include file: 'Windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\utility\Timer.cpp 45 1 utility
Error 1292 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\SRC\api\packages.cpp 46 1 utility
Error 1298 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 tcl
Error 1317 error C1083: Cannot open include file: 'windows.h': No such file or directory C:\Users\admin\Desktop\New folder\New folder (3)\src\renderer\OpenGlDevice.h 46 1 tcl
Error 1510 error LNK1181: cannot open input file 'tcl.lib' C:\Users\admin\Desktop\New folder\New folder (3)\Win32\proj\openSees\LINK openSees
========== Rebuild All: 15 succeeded, 10 failed, 1 skipped ==========
How to solve these errors? Thank you for your valuable time.
Re: Building v.2.4.4
I remember coming across this situation when building it for a friend at UCSD. Quick and easy way to get rid of these errors is to just comment out the lines with min and max. I have also noticed some really weird issues when I used VS2012 and VS 2013 to build and work as a developer for OpenSees. Eventually I was able to get things working but you need to tinker with the settings a bit. I would highly suggest just sticking to VS2010 for your builds and implementations.
Brighton Laiman
Development Engineer
RISA Technologies
Foothill Ranch, CA
Development Engineer
RISA Technologies
Foothill Ranch, CA
-
- Posts: 4
- Joined: Sat Mar 09, 2013 5:00 am
- Location: Assiut University
Re: Building v.2.4.4
blaiman, thanks again for your help.
I solved the errors (max and min) by
1-put the following function:
#define min(a,b) ((a) <= (b) ? (a) : (b))
#define max(a,b) ((a) >= (b) ? (a) : (b))
In the top of files (ManzariDafalias.cpp , ElastomericX.cpp, LeadRubberX.cpp) after line that have “#define PI 3.14159l”
2- delete “std::” from the lines as (dT = std::max(q * dT, 1e-4);) in the file ManzariDafalias.cpp
I solved the errors “error LNK1181: cannot open input file 'cssparse.lib'” by add path it
But, When I was running again in win8.1 x64(MVC++2013, release x64, OpenSees v2.4.4 (rev 5764)"), it gave an errors as following:
Error 1763 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' H:\opensees work\main work\v2.4.4 rev5764\2013\v2.4.4 5764\Win32\obj\openSees\release\tclAppInit.obj
Error 1767 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' H:\opensees work\main work\v2.4.4 rev5764\2013\v2.4.4 5764\Win32\obj\openSeesTk\release\tkMain.obj
How to solve these errors? Thank you for your valuable time.
I solved the errors (max and min) by
1-put the following function:
#define min(a,b) ((a) <= (b) ? (a) : (b))
#define max(a,b) ((a) >= (b) ? (a) : (b))
In the top of files (ManzariDafalias.cpp , ElastomericX.cpp, LeadRubberX.cpp) after line that have “#define PI 3.14159l”
2- delete “std::” from the lines as (dT = std::max(q * dT, 1e-4);) in the file ManzariDafalias.cpp
I solved the errors “error LNK1181: cannot open input file 'cssparse.lib'” by add path it
But, When I was running again in win8.1 x64(MVC++2013, release x64, OpenSees v2.4.4 (rev 5764)"), it gave an errors as following:
Error 1763 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' H:\opensees work\main work\v2.4.4 rev5764\2013\v2.4.4 5764\Win32\obj\openSees\release\tclAppInit.obj
Error 1767 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' H:\opensees work\main work\v2.4.4 rev5764\2013\v2.4.4 5764\Win32\obj\openSeesTk\release\tkMain.obj
How to solve these errors? Thank you for your valuable time.
Re: Building v.2.4.4
Looks like one of two things...
1) You most likely installed the 64 bit version of tcl instead of the 32 bit. Since the version you're trying to build and work on is a 32 version you'll also need the 32-bit version of TCL. Make sure you install it under C:\Program File\Tcl, or else, again, it will not work.
2) Not sure if there is this option, but maybe you're trying to build a non-debug version that's 64-bit of OpenSees? I never really paid attention to see if they offer this option or not, but that could also be the problem.
Hope either one of those solutions helps.
1) You most likely installed the 64 bit version of tcl instead of the 32 bit. Since the version you're trying to build and work on is a 32 version you'll also need the 32-bit version of TCL. Make sure you install it under C:\Program File\Tcl, or else, again, it will not work.
2) Not sure if there is this option, but maybe you're trying to build a non-debug version that's 64-bit of OpenSees? I never really paid attention to see if they offer this option or not, but that could also be the problem.
Hope either one of those solutions helps.
Brighton Laiman
Development Engineer
RISA Technologies
Foothill Ranch, CA
Development Engineer
RISA Technologies
Foothill Ranch, CA
Re: Building v.2.4.4
i have updated the scn repository to fix the problem with the missing max symbols.
as for cssparse.lib .. check to see that the prokect exists in the solution. if it does build it and then build the solution (if this fixes the problem add the csspare project to dependencies for the openSees project). if cssparse project is not there, add it to the solution and follow above.
as for cssparse.lib .. check to see that the prokect exists in the solution. if it does build it and then build the solution (if this fixes the problem add the csspare project to dependencies for the openSees project). if cssparse project is not there, add it to the solution and follow above.
-
- Posts: 4
- Joined: Sat Mar 09, 2013 5:00 am
- Location: Assiut University
Re: Building v.2.4.4
Thanks a lot for your help, now I am busy for another issue. when I finish it, I will come back to build opensees again.
Re: Building v.2.4.4
Did you solve the problem of "module machine type 'x64' conflicts with target machine type 'X86'" ? I'm facing the same problem and don't know how to solve it.