Problems in version 1.7
Moderators: silvia, selimgunay, Moderators
Problems in version 1.7
Hi
I downloaded the version 1.7 from your website and the corotational transformation has a problem because my input file crashes when I try to run it. It runs fine with older versions. I also changed the "corotational transformation" by a "linear transformation" and it also works.
I also tried to compile the source code and there are numerous file that are not added to the given workspace and even after linking the corotational library, the compiled program does not work for the corotational transformation.
Hope you can solve the problem!!!
Thanks!!
I downloaded the version 1.7 from your website and the corotational transformation has a problem because my input file crashes when I try to run it. It runs fine with older versions. I also changed the "corotational transformation" by a "linear transformation" and it also works.
I also tried to compile the source code and there are numerous file that are not added to the given workspace and even after linking the corotational library, the compiled program does not work for the corotational transformation.
Hope you can solve the problem!!!
Thanks!!
dear all,
I dont want to repeat question actually, but after more than one week following this forum, learning someone else problems in compiling error, still i could not compile it under vc++6.
First, i downloaded and intalled tcl/tk (the correct version for opensees 1.7) on c:\programme\Tcl instead of c:\program files\Tcl, because my operating system is in german language.
second, i changed include files in all projects into c:\programme\Tcl
third, i tried right click on opensees and pick build.
--------------------Configuration: damage - Win32 Release--------------------
Compiling...
TclModelBuilderDamageModelCommand.cpp
..\..\..\src\modelbuilder\tcl\TclModelBuilder.h(58) : fatal error C1083: Cannot open include file: 'tcl.h': No such file or directory
Error executing cl.exe.
openSees.exe - 1 error(s), 0 warning(s)
any suggestion will do,
hogen
I dont want to repeat question actually, but after more than one week following this forum, learning someone else problems in compiling error, still i could not compile it under vc++6.
First, i downloaded and intalled tcl/tk (the correct version for opensees 1.7) on c:\programme\Tcl instead of c:\program files\Tcl, because my operating system is in german language.
second, i changed include files in all projects into c:\programme\Tcl
third, i tried right click on opensees and pick build.
--------------------Configuration: damage - Win32 Release--------------------
Compiling...
TclModelBuilderDamageModelCommand.cpp
..\..\..\src\modelbuilder\tcl\TclModelBuilder.h(58) : fatal error C1083: Cannot open include file: 'tcl.h': No such file or directory
Error executing cl.exe.
openSees.exe - 1 error(s), 0 warning(s)
any suggestion will do,
hogen
It may be that the workspace doesn't know the directory to find the header file. (VC++ likes to know the directory)
Try going to
Project->Settings->C/C++
choose Preprocessor from the drop down list.
Then, under
Additional Include Directories,
add the path to the directory where tcl.h is.
(You should be able to find it using Search..)
alisa
Try going to
Project->Settings->C/C++
choose Preprocessor from the drop down list.
Then, under
Additional Include Directories,
add the path to the directory where tcl.h is.
(You should be able to find it using Search..)
alisa
hogen007 wrote:dear all,
I dont want to repeat question actually, but after more than one week following this forum, learning someone else problems in compiling error, still i could not compile it under vc++6.
First, i downloaded and intalled tcl/tk (the correct version for opensees 1.7) on c:\programme\Tcl instead of c:\program files\Tcl, because my operating system is in german language.
second, i changed include files in all projects into c:\programme\Tcl
third, i tried right click on opensees and pick build.
--------------------Configuration: damage - Win32 Release--------------------
Compiling...
TclModelBuilderDamageModelCommand.cpp
..\..\..\src\modelbuilder\tcl\TclModelBuilder.h(58) : fatal error C1083: Cannot open include file: 'tcl.h': No such file or directory
Error executing cl.exe.
openSees.exe - 1 error(s), 0 warning(s)
any suggestion will do,
hogen
if you don't place tcl in the place assumed you have to change the project settings in pretty much EVERY project in the workspace .. to check if a project compiles, i think it's a right click on the project and scroll down to build .. remember to set it in both debug and release
versions for each project.
it is much simpler to put tcl in the assumed location! .. you might also try placing the tcl header files in OpenSees/SRC .. it might be easier, i don't gaurantee it will work however!
versions for each project.
it is much simpler to put tcl in the assumed location! .. you might also try placing the tcl header files in OpenSees/SRC .. it might be easier, i don't gaurantee it will work however!
Thx fmk,
I did a preety much changes in every project, and it seems that i misstyped something and i forgot to change the include tcl\lib and i also did not know that it should be implemented in debug. but now it is ok. tcl.h and tcl84.lib is connected to all projects in the workspace. Now i can build quickmain.exe.
The next error messages come from the library files when i tried to build openSees project: actor.lib, element.lib, and material.lib.
Linking...
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(void)" (??0HingeEndpointBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauTwoBeamIntegration::HingeRadauTwoBeamIntegration(void)" (??0HingeRadauTwoBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauBeamIntegration::HingeRadauBeamIntegration(void)" (??0HingeRadauBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeMidpointBeamIntegration::HingeMidpointBeamIntegration(void)" (??0HingeMidpointBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall NewtonCotesBeamIntegration::NewtonCotesBeamIntegration(void)" (??0NewtonCotesBeamIntegration@@QAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall NewtonCotesBeamIntegration::NewtonCotesBeamIntegration(void)" (??0NewtonCotesBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall RadauBeamIntegration::RadauBeamIntegration(void)" (??0RadauBeamIntegration@@QAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall RadauBeamIntegration::RadauBeamIntegration(void)" (??0RadauBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall LegendreBeamIntegration::LegendreBeamIntegration(void)" (??0LegendreBeamIntegration@@QAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall LegendreBeamIntegration::LegendreBeamIntegration(void)" (??0LegendreBeamIntegration@@QAE@XZ)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauBeamIntegration::HingeRadauBeamIntegration(double,double)" (??0HingeRadauBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauBeamIntegration::HingeRadauBeamIntegration(double,double)" (??0HingeRadauBeamIntegration@@QAE@NN@Z)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(double,double)" (??0HingeEndpointBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(double,double)" (??0HingeEndpointBeamIntegration@@QAE@NN@Z)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauTwoBeamIntegration::HingeRadauTwoBeamIntegration(double,double)" (??0HingeRadauTwoBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauTwoBeamIntegration::HingeRadauTwoBeamIntegration(double,double)" (??0HingeRadauTwoBeamIntegration@@QAE@NN@Z)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeMidpointBeamIntegration::HingeMidpointBeamIntegration(double,double)" (??0HingeMidpointBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeMidpointBeamIntegration::HingeMidpointBeamIntegration(double,double)" (??0HingeMidpointBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DistHingeIntegration::~DistHingeIntegration(void)" (??1DistHingeIntegration@@UAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall DistHingeIntegration::DistHingeIntegration(double,double,class BeamIntegration &)" (??0DistHingeIntegration@@QAE@NNAAVBeamIntegration@@@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall UserDefinedHingeIntegration::~UserDefinedHingeIntegration(void)" (??1UserDefinedHingeIntegration@@UAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall UserDefinedHingeIntegration::UserDefinedHingeIntegration(int,class Vector const &,class Vector const &,int,class Vector const &,class Vector c
onst &)" (??0UserDefinedHingeIntegration@@QAE@HABVVector@@0H00@Z)
material.lib(TclModelBuilderSectionCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Isolator2spring::Isolator2spring(int,double,double,double,double,double,double,double,double)" (??0Isolator2spring@@QAE@HNNNNNNNN@Z)
..\..\bin/openSees.exe : fatal error LNK1120: 16 unresolved externals
Error executing link.exe.
openSees.exe - 24 error(s), 0 warning(s)
im still wondering why ,
hogen
I did a preety much changes in every project, and it seems that i misstyped something and i forgot to change the include tcl\lib and i also did not know that it should be implemented in debug. but now it is ok. tcl.h and tcl84.lib is connected to all projects in the workspace. Now i can build quickmain.exe.
The next error messages come from the library files when i tried to build openSees project: actor.lib, element.lib, and material.lib.
Linking...
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(void)" (??0HingeEndpointBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauTwoBeamIntegration::HingeRadauTwoBeamIntegration(void)" (??0HingeRadauTwoBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauBeamIntegration::HingeRadauBeamIntegration(void)" (??0HingeRadauBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeMidpointBeamIntegration::HingeMidpointBeamIntegration(void)" (??0HingeMidpointBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall NewtonCotesBeamIntegration::NewtonCotesBeamIntegration(void)" (??0NewtonCotesBeamIntegration@@QAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall NewtonCotesBeamIntegration::NewtonCotesBeamIntegration(void)" (??0NewtonCotesBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall RadauBeamIntegration::RadauBeamIntegration(void)" (??0RadauBeamIntegration@@QAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall RadauBeamIntegration::RadauBeamIntegration(void)" (??0RadauBeamIntegration@@QAE@XZ)
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall LegendreBeamIntegration::LegendreBeamIntegration(void)" (??0LegendreBeamIntegration@@QAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall LegendreBeamIntegration::LegendreBeamIntegration(void)" (??0LegendreBeamIntegration@@QAE@XZ)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauBeamIntegration::HingeRadauBeamIntegration(double,double)" (??0HingeRadauBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauBeamIntegration::HingeRadauBeamIntegration(double,double)" (??0HingeRadauBeamIntegration@@QAE@NN@Z)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(double,double)" (??0HingeEndpointBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(double,double)" (??0HingeEndpointBeamIntegration@@QAE@NN@Z)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauTwoBeamIntegration::HingeRadauTwoBeamIntegration(double,double)" (??0HingeRadauTwoBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeRadauTwoBeamIntegration::HingeRadauTwoBeamIntegration(double,double)" (??0HingeRadauTwoBeamIntegration@@QAE@NN@Z)
element.lib(TclBeamWithHingesBuilder.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeMidpointBeamIntegration::HingeMidpointBeamIntegration(double,double)" (??0HingeMidpointBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeMidpointBeamIntegration::HingeMidpointBeamIntegration(double,double)" (??0HingeMidpointBeamIntegration@@QAE@NN@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DistHingeIntegration::~DistHingeIntegration(void)" (??1DistHingeIntegration@@UAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall DistHingeIntegration::DistHingeIntegration(double,double,class BeamIntegration &)" (??0DistHingeIntegration@@QAE@NNAAVBeamIntegration@@@Z)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall UserDefinedHingeIntegration::~UserDefinedHingeIntegration(void)" (??1UserDefinedHingeIntegration@@UAE@XZ)
element.lib(TclForceBeamColumnCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall UserDefinedHingeIntegration::UserDefinedHingeIntegration(int,class Vector const &,class Vector const &,int,class Vector const &,class Vector c
onst &)" (??0UserDefinedHingeIntegration@@QAE@HABVVector@@0H00@Z)
material.lib(TclModelBuilderSectionCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Isolator2spring::Isolator2spring(int,double,double,double,double,double,double,double,double)" (??0Isolator2spring@@QAE@HNNNNNNNN@Z)
..\..\bin/openSees.exe : fatal error LNK1120: 16 unresolved externals
Error executing link.exe.
openSees.exe - 24 error(s), 0 warning(s)
im still wondering why ,
hogen
Thx mfsa,
I double klicked at the opensees.dsw under .../win32/ and all the projects appeared. As you sugessted that i have to check all the actual project, i did that. and all the actual projects were in the workspace. but there are some project folder which cannot be inserted into the workspace because they dont have any *.dsp.
and i also tried fmk's suggestion to uninstall and re-install tcl and put it in c:/program files/tcl. re-unpack the opensees.zip and build it again. the same error occured.
hogen
I double klicked at the opensees.dsw under .../win32/ and all the projects appeared. As you sugessted that i have to check all the actual project, i did that. and all the actual projects were in the workspace. but there are some project folder which cannot be inserted into the workspace because they dont have any *.dsp.
and i also tried fmk's suggestion to uninstall and re-install tcl and put it in c:/program files/tcl. re-unpack the opensees.zip and build it again. the same error occured.
hogen
these errors are because the beam integration rules were recently changed ..
you need to add some files tyo the element project that are in the forceBeamColumn
directory .. add them under the forceBEamColumn directory of the element project .. which files you need are pretty obvios from the error message.
you need to add some files tyo the element project that are in the forceBeamColumn
directory .. add them under the forceBEamColumn directory of the element project .. which files you need are pretty obvios from the error message.
same link errors
Hi,
Sorry for my ignorance about vc++..
I had exactly same errors, as hogen007 had before, while linking OpenSees projects using vc++ 6.0. I checked all the actual projects were in the workspace except some project folder which doesnt have *.dsp.
I tired to follow fmk's suggestion. but I don't know what files I need to add under the forceBeamColumn directory of the element project.
For example, "HingeEndpointBeamIntegration.h" was included in FEM_Object Broker but i could not find it in the element foler.
Would you be more specific how and what to add for a dummy? thanx in advance
regards,
seocy
Sorry for my ignorance about vc++..
I had exactly same errors, as hogen007 had before, while linking OpenSees projects using vc++ 6.0. I checked all the actual projects were in the workspace except some project folder which doesnt have *.dsp.
I tired to follow fmk's suggestion. but I don't know what files I need to add under the forceBeamColumn directory of the element project.
For example, "HingeEndpointBeamIntegration.h" was included in FEM_Object Broker but i could not find it in the element foler.
Would you be more specific how and what to add for a dummy? thanx in advance
regards,
seocy
halo seocy,
the files you need to add (*.cpp and *.h) where * is the name of the files which are encountered during error message. for example:
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(void)" (??0HingeEndpointBeamIntegration@@QAE@XZ)
means: at the opensees workspace go folder elemet->forceBeamColumn and right click at this folder then add files *.cpp and *.h
if the files do not exist, try the following:
1. search them from windows search tool, if negative
2. download the recent files from CVS
hogen
the files you need to add (*.cpp and *.h) where * is the name of the files which are encountered during error message. for example:
actor.lib(FEM_ObjectBroker.obj) : error LNK2001: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(void)" (??0HingeEndpointBeamIntegration@@QAE@XZ)
means: at the opensees workspace go folder elemet->forceBeamColumn and right click at this folder then add files *.cpp and *.h
if the files do not exist, try the following:
1. search them from windows search tool, if negative
2. download the recent files from CVS
hogen
thanx to all
hi Hogen007
Thanx to you, I compiled the OpenSees...
Thanx to you, I compiled the OpenSees...
Hi,
I am getting the same error with hoogen007 and seocy as I try to compile 1.7:
"actor.lib(FEM_ObjectBroker.obj) : error LNK2019: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(void)" ......"
From the messages it seems that I need to be "adding" these files (HingeEndpointBeamIntegration.cpp and its .h). Quoting fmk: " add them under the forceBEamColumn directory of the element project"
However, these already exist under "src->element->forceBeamColumn" in what I have downloaded from the website. Could you be a bit more specific in terms of what is getting added where ? Thanks.
I am getting the same error with hoogen007 and seocy as I try to compile 1.7:
"actor.lib(FEM_ObjectBroker.obj) : error LNK2019: unresolved external symbol "public: __thiscall HingeEndpointBeamIntegration::HingeEndpointBeamIntegration(void)" ......"
From the messages it seems that I need to be "adding" these files (HingeEndpointBeamIntegration.cpp and its .h). Quoting fmk: " add them under the forceBEamColumn directory of the element project"
However, these already exist under "src->element->forceBeamColumn" in what I have downloaded from the website. Could you be a bit more specific in terms of what is getting added where ? Thanks.