compilation terminated
Moderators: silvia, selimgunay, Moderators
-
- Posts: 13
- Joined: Fri Mar 21, 2014 8:36 pm
- Location: Tsinghua
compilation terminated
sis/transformation -I/home/zql/OpenSees/SRC/reliability/analysis/telm -I/home/zql/OpenSees/SRC/reliability/domain -I/home/zql/OpenSees/SRC/reliability/domain/components -I/home/zql/OpenSees/SRC/reliability/domain/distributions -I/home/zql/OpenSees/SRC/reliability/domain/filter -I/home/zql/OpenSees/SRC/reliability/domain/modulatingFunction -I/home/zql/OpenSees/SRC/reliability/domain/spectrum -I/home/zql/OpenSees/SRC/reliability/domain/limitStateFunction -I/home/zql/OpenSees/SRC/reliability/optimization -I/home/zql/OpenSees/SRC/reliability/analysis/telm -I/home/zql/OpenSees/SRC/optimization/tcl -I/home/zql/OpenSees/SRC/optimization/domain -I/home/zql/OpenSees/SRC/optimization/domain/component -I/home/zql/OpenSees/SRC/optimization/SNOPT -I/home/zql/OpenSees/SRC/reliability/FEsensitivity -I/home/zql/OpenSees/SRC/reliability/tcl -I/home/zql/OpenSees/SRC/unittest -I/home/zql/OpenSees/SRC/api -I/home/zql/OpenSees/SRC -I/home/zql/OpenSees/OTHER/SuperLU_4.1/SRC -I/home/zql/OpenSees/SRC/package -I/home/zql/OpenSees/SRC/../OTHER/AMD -I/usr/include -I/usr/local/include -I/usr/include/cxx -I/home/zql/include -I/home/zql/blitz -c commands.cpp -o commands.o
commands.cpp:104:35: fatal error: InitialStateParameter.h: No such file or directory
compilation terminated.
make[2]: *** [commands.o] Error 1
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: *** [tcl] Error 2
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
please help me for that, thanks.
best wishes.
commands.cpp:104:35: fatal error: InitialStateParameter.h: No such file or directory
compilation terminated.
make[2]: *** [commands.o] Error 1
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: *** [tcl] Error 2
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
please help me for that, thanks.
best wishes.
Re: compilation terminated
this morning i installed OpenSees on a new ubuntu machine following the instructions in the MAKES/Makefile.def.EC2-UBUNTU. it worked fine for me. i suggest you remove whatever you have and follow the same set of instructions":
sudo apt-get update
sudo apt-get install subversion
svn co svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk OpenSees
sudo apt-get install emacs
sudo apt-get install make
sudo apt-get install tcl8.5
sudo apt-get install tcl8.5-dev
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install gfortran
mkdir lib
mkdir bin
cd OpenSees
cp ./MAKES/Makefile.def.EC2-UBUNTU ./Makefile.def
emacs Makefile.def and make sure HOME directory is set to your home directory (i.e. same location where lib and bin directories just created are)
make
sudo apt-get update
sudo apt-get install subversion
svn co svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk OpenSees
sudo apt-get install emacs
sudo apt-get install make
sudo apt-get install tcl8.5
sudo apt-get install tcl8.5-dev
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install gfortran
mkdir lib
mkdir bin
cd OpenSees
cp ./MAKES/Makefile.def.EC2-UBUNTU ./Makefile.def
emacs Makefile.def and make sure HOME directory is set to your home directory (i.e. same location where lib and bin directories just created are)
make
Re: compilation terminated
When I do this with
(uname -a) Linux opensees-ubu 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
I get:
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/rodeo/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/rodeo/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/rodeo/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/rodeo/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/rodeo/OpenSees/SRC/tcl'
/home/rodeo/lib/libOpenSees.a(TclModelBuilderFrictionModelCommand.o): In function `TclModelBuilderFrictionModelCommand(void*, Tcl_Interp*, int, char const**, Domain*)':
TclModelBuilderFrictionModelCommand.cpp:(.text+0xf95): undefined reference to `VelNormalFrcDep::VelNormalFrcDep(int, double, double, double, double, double, double, double, double)'
collect2: error: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/rodeo/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Thoughts?
(uname -a) Linux opensees-ubu 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
I get:
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/rodeo/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/rodeo/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/rodeo/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/rodeo/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/rodeo/OpenSees/SRC/tcl'
/home/rodeo/lib/libOpenSees.a(TclModelBuilderFrictionModelCommand.o): In function `TclModelBuilderFrictionModelCommand(void*, Tcl_Interp*, int, char const**, Domain*)':
TclModelBuilderFrictionModelCommand.cpp:(.text+0xf95): undefined reference to `VelNormalFrcDep::VelNormalFrcDep(int, double, double, double, double, double, double, double, double)'
collect2: error: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/rodeo/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Thoughts?
Re: compilation terminated
i have updated the repository to fix the error.
Re: compilation terminated
Thanks for the fix, now I'm at:
make[1]: Leaving directory `/home/ubuntu/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/ubuntu/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/ubuntu/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/ubuntu/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/ubuntu/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/ubuntu/OpenSees/SRC/tcl'
/home/ubuntu/lib/libOpenSees.a(TclElementCommands.o): In function `TclModelBuilderElementCommand(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElementCommands.cpp:(.text+0x1f1d): undefined reference to `TclModelBuilder_addYamamotoBiaxialHDR(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)'
collect2: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/ubuntu/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/ubuntu/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/ubuntu/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/ubuntu/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/ubuntu/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/ubuntu/OpenSees/SRC/tcl'
/home/ubuntu/lib/libOpenSees.a(TclElementCommands.o): In function `TclModelBuilderElementCommand(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)':
TclElementCommands.cpp:(.text+0x1f1d): undefined reference to `TclModelBuilder_addYamamotoBiaxialHDR(void*, Tcl_Interp*, int, char const**, Domain*, TclModelBuilder*)'
collect2: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/ubuntu/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Re: compilation terminated
that fix is in too rev 5836 .. hopefully you can get the code before others add something else .. if not, check out rev 5836.