wich program to use
Moderators: silvia, selimgunay, Moderators
wich program to use
Please help me !
j have problems with compiling OpenSees the latest version with active tcl/tk 8.4
j used VC++6.0 also VC++2005 and VC++2003 but j couldnt solve the problem !
is library MSDev.lib library in Common of Visual Studio?
one of the errors is :
TclSeriesCommand.cpp
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(63) : error C2065: 'Tcl_Free' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(68) : error C2061: syntax error : identifier 'ClientData'
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'Tcl_SplitList' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'interp' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'arg' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'TCL_OK' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(91) : error C2065: 'Tcl_GetDouble' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(223) : error C2065: 'Tcl_GetInt' : undeclared identifier
TclSeriesIntegratorCommand.cpp
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(45) : error C2065: 'Tcl_Free' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(49) : error C2061: syntax error : identifier 'ClientData'
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'Tcl_SplitList' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'interp' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'arg' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'TCL_OK' : undeclared identifier
TimeSeries.cpp
TimeSeriesIntegrator.cpp
TapezoidalTimeSeriesIntegrator.cpp
TriangleSeries.cpp
TrigSeries.cpp
MeshRegion.cpp
TclRegionCommands.cpp
c:\program files\tcl\include\tk.h(59) : fatal error C1189: #error : Tk 8.4 must be compiled with tcl.h from Tcl 8.4
Generating Code...
Error executing cl.exe.
openSees.exe - 17 error(s), 263 warning(s)
thank you so much!
j have problems with compiling OpenSees the latest version with active tcl/tk 8.4
j used VC++6.0 also VC++2005 and VC++2003 but j couldnt solve the problem !
is library MSDev.lib library in Common of Visual Studio?
one of the errors is :
TclSeriesCommand.cpp
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(63) : error C2065: 'Tcl_Free' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(68) : error C2061: syntax error : identifier 'ClientData'
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'Tcl_SplitList' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'interp' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'arg' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(75) : error C2065: 'TCL_OK' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(91) : error C2065: 'Tcl_GetDouble' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriescommand.cpp(223) : error C2065: 'Tcl_GetInt' : undeclared identifier
TclSeriesIntegratorCommand.cpp
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(45) : error C2065: 'Tcl_Free' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(49) : error C2061: syntax error : identifier 'ClientData'
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'Tcl_SplitList' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'interp' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'arg' : undeclared identifier
d:\bojana\opensees\src\domain\pattern\tclseriesintegratorcommand.cpp(55) : error C2065: 'TCL_OK' : undeclared identifier
TimeSeries.cpp
TimeSeriesIntegrator.cpp
TapezoidalTimeSeriesIntegrator.cpp
TriangleSeries.cpp
TrigSeries.cpp
MeshRegion.cpp
TclRegionCommands.cpp
c:\program files\tcl\include\tk.h(59) : fatal error C1189: #error : Tk 8.4 must be compiled with tcl.h from Tcl 8.4
Generating Code...
Error executing cl.exe.
openSees.exe - 17 error(s), 263 warning(s)
thank you so much!
I notice your opensees install is on D:\ but tcl is installed on C:\ ?solomona wrote:it was instaled on c:\Program Files\Tclfmk wrote:tcl needs to be installed in c:\Program Files\Tcl and not c:\Tcl (their default now)
can be some other problem?
perhaps that is why VC++ cannot find it.
cheers,
alisa
yes j tried , but didnt work!aneeman wrote:I notice your opensees install is on D:\ but tcl is installed on C:\ ?solomona wrote:it was instaled on c:\Program Files\Tclfmk wrote:tcl needs to be installed in c:\Program Files\Tcl and not c:\Tcl (their default now)
can be some other problem?
perhaps that is why VC++ cannot find it.
cheers,
alisa
your current problem is that vc6.0 is one lousy compiler in that it does not accept perfectly valid c++ code .. however, you are also using files that are out of date .. i will be updating the src code to version 1.7.3 later this morning .. you can get it now using cvs (remove your existing OpenSees and from a dos prompt, cd to directory you want Opensees to be installed and issue the following 2 commands)
cvs -d :pserver:anonymous@opensees.berkeley.edu:/usr/local/cvs login
(for password use: anonymous)
cvs -d :pserver:anonymous@opensees.berkeley.edu:/usr/local/cvs co OpenSees
cvs -d :pserver:anonymous@opensees.berkeley.edu:/usr/local/cvs login
(for password use: anonymous)
cvs -d :pserver:anonymous@opensees.berkeley.edu:/usr/local/cvs co OpenSees