Compilling prob. with VC++
Moderators: silvia, selimgunay, Moderators
Compilling prob. with VC++
I m continously getting this error
Error executing cl.exe....
plz help me out to get off with this eror
Error executing cl.exe....
plz help me out to get off with this eror
--------------------Configuration: actor - Win32 Release--------------------
Compiling...
FEM_ObjectBroker.cpp
C:\culvert\OpenSees\SRC\actor\objectBroker\FEM_ObjectBroker.cpp(368) : warning C4065: switch statement contains 'default' but no 'case' labels
C:\culvert\OpenSees\SRC\actor\objectBroker\FEM_ObjectBroker.cpp(388) : warning C4065: switch statement contains 'default' but no 'case' labels
Creating library...
--------------------Configuration: analysis - Win32 Release--------------------
Compiling...
AnalysisModel.cpp
FE_Element.cpp
LagrangeMP_FE.cpp
LagrangeSP_FE.cpp
PenaltyMP_FE.cpp
PenaltySP_FE.cpp
TransformationFE.cpp
CentralDifferenceAlternative.cpp
CentralDifferenceNoDamping.cpp
Newmark.cpp
Generating Code...
Creating library...
--------------------Configuration: convergence - Win32 Release--------------------
Compiling...
CTestNormDispIncr.cpp
Creating library...
--------------------Configuration: database - Win32 Release--------------------
Compiling...
FileDatastore.cpp
NEESData.cpp
Generating Code...
Creating library...
--------------------Configuration: domain - Win32 Release--------------------
Compiling...
Node.cpp
Domain.cpp
Subdomain.cpp
MultiSupportPattern.cpp
TclPatternCommand.cpp
Generating Code...
Creating library...
--------------------Configuration: element - Win32 Release--------------------
Compiling...
TclElementCommands.cpp
Truss.cpp
TrussSection.cpp
TclBeamWithHingesBuilder.cpp
DistHingeIntegration.cpp
HingeEndpointBeamIntegration.cpp
HingeMidpointBeamIntegration.cpp
HingeRadauBeamIntegration.cpp
HingeRadauTwoBeamIntegration.cpp
LegendreBeamIntegration.cpp
NewtonCotesBeamIntegration.cpp
RadauBeamIntegration.cpp
UserDefinedHingeIntegration.cpp
ConstantPressureVolumeQuad.cpp
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(407) : warning C4101: 'p' : unreferenced local variable
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(407) : warning C4101: 'q' : unreferenced local variable
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(870) : warning C4101: 'p' : unreferenced local variable
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(870) : warning C4101: 'q' : unreferenced local variable
EnhancedQuad.cpp
FourNodeQuad.cpp
ElasticBeam2d.cpp
ElasticBeam3d.cpp
BbarBrick.cpp
Brick.cpp
C:\culvert\OpenSees\SRC\element\brick\Brick.cpp(903) : warning C4101: 'success' : unreferenced local variable
Generating Code...
C:\culvert\OpenSees\SRC\element\truss\TrussSection.cpp(770) : warning C4700: local variable 'force' used without having been initialized
C:\culvert\OpenSees\SRC\element\truss\TrussSection.cpp(826) : warning C4700: local variable 'force' used without having been initialized
C:\culvert\OpenSees\SRC\element\truss\TrussSection.cpp(927) : warning C4700: local variable 'force' used without having been initialized
Compiling...
TclBrickCommand.cpp
ShellMITC4.cpp
DispBeamColumn2d.cpp
DispBeamColumn3d.cpp
InelasticYS2DGNL.cpp
BeamIntegration.cpp
ForceBeamColumn2d.cpp
ForceBeamColumn3d.cpp
C:\culvert\OpenSees\SRC\element\forceBeamColumn\ForceBeamColumn3d.cpp(1825) : warning C4101: 'i' : unreferenced local variable
TclForceBeamColumnCommand.cpp
FourNodeQuadUP.cpp
C:\culvert\OpenSees\SRC\element\UP-ucsd\FourNodeQuadUP.cpp(631) : warning C4101: 'k' : unreferenced local variable
Generating Code...
Creating library...
--------------------Configuration: graph - Win32 Release--------------------
Compiling...
GraphNumberer.cpp
MyRCM.cpp
SimpleNumberer.cpp
Generating Code...
Creating library...
--------------------Configuration: material - Win32 Release--------------------
Compiling...
TclFedeasMaterialCommand.cpp
Concrete04.cpp
C:\culvert\OpenSees\SRC\material\uniaxial\Concrete04.cpp(38) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
FatigueMaterial.cpp
Steel03.cpp
TclModelBuilderUniaxialMaterialCommand.cpp
TclReinforcingSteel.cpp
UniaxialMaterial.cpp
PressureDependMultiYield02.cpp
ReinforcingSteel.cpp
Isolator2spring.cpp
TclModelBuilderSectionCommand.cpp
Generating Code...
Creating library...
--------------------Configuration: matrix - Win32 Release--------------------
Compiling...
BJtensor.cpp
Creating library...
--------------------Configuration: recorder - Win32 Release--------------------
Compiling...
ElementRecorder.cpp
EnvelopeElementRecorder.cpp
EnvelopeNodeRecorder.cpp
NodeRecorder.cpp
Generating Code...
Creating library...
--------------------Configuration: renderer - Win32 Release--------------------
Compiling...
OpenGlRenderer.cpp
Creating library...
OpenGlDevice.obj : warning LNK4006: "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglSetPixelFormat(struct HDC__ *,unsigned char,unsigned long)" (?oglSetPixelFormat@@YAHPAUHDC__@@EK@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z) already defined in WindowDevice.obj; secon
d definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglDestroyWindow(char *,struct HWND__ *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyWindow@@YAHPADPAUHWND__@@PAUHGLRC__@@PAUHDC__@@@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglCreateBitmap(int,int,struct HGLRC__ * *,struct HDC__ * *,struct HBITMAP__ * *,struct tagBITMAPINFO *,unsigned char * *)" (?oglCreateBitmap@@YAHHHPAPAUHGLRC__@@PAPAUHDC__@@PAPAUHBITMAP__@@PAUtagBITM
APINFO@@PAPAE@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglDestroyBitmap(struct HBITMAP__ * *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyBitmap@@YAHPAPAUHBITMAP__@@PAUHGLRC__@@PAUHDC__@@@Z) already defined in WindowDevice.obj; second definition ignored
--------------------Configuration: superLU - Win32 Release--------------------
Compiling...
util.c
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(327) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(334) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(335) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(344) : warning C4244: 'return' : conversion from 'double ' to 'float ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(349) : warning C4244: 'return' : conversion from 'double ' to 'float ', possible loss of data
Creating library...
dgstrs.obj : warning LNK4006: _dprint_soln already defined in dgstrsL.obj; second definition ignored
--------------------Configuration: system - Win32 Release--------------------
Compiling...
FullGenLinSOE.cpp
UmfpackGenLinSOE.cpp
BandArpackSolver.cpp
SymArpackSolver.cpp
C:\culvert\OpenSees\SRC\system_of_eqn\eigenSOE\SymArpackSolver.cpp(155) : warning C4101: 'nconv' : unreferenced local variable
Generating Code...
Creating library...
--------------------Configuration: openSees - Win32 Release--------------------
Compiling...
commands.cpp
C:\culvert\OpenSees\SRC\tcl\commands.cpp(4415) : error C2374: 'i' : redefinition; multiple initialization
C:\culvert\OpenSees\SRC\tcl\commands.cpp(4409) : see declaration of 'i'
myCommands.cpp
tclAppInit.cpp
TclFeViewer.cpp
tclMain.cpp
TclModelBuilder.cpp
TclUniaxialMaterialTester.cpp
TclVideoPlayer.cpp
C:\culvert\OpenSees\SRC\tcl\TclVideoPlayer.cpp(188) : warning C4101: 'mode' : unreferenced local variable
Generating Code...
Error executing cl.exe.
openSees.exe - 1 error(s), 27 warning(s)
i have installed tcl 8.4.6.1 version available on the website and for the code i obtained it from the zip file....presently i have compiled the stable version of the code......the above txt is what i got after compilation. In the last few lines you will find the error as the multiple decleration of variable 'i' in the command.cpp file.........
and when i have corrected this error then i got many linking errors (abt 500) ...........
plz tell me what should i do to remove these errors.......
on more thing on the site there is no specification given for the virsion of tcl to be used with the stable virsion hence i have used the latest one........
i have also tried out the same thing with the opensees 1.4 and used tcl 8.3.4 and i got the same error...and after correcting it i again got many linking errors.....
please help me out in this matter....it would be a great help and i would be highly obliged to you....
thank you
Compiling...
FEM_ObjectBroker.cpp
C:\culvert\OpenSees\SRC\actor\objectBroker\FEM_ObjectBroker.cpp(368) : warning C4065: switch statement contains 'default' but no 'case' labels
C:\culvert\OpenSees\SRC\actor\objectBroker\FEM_ObjectBroker.cpp(388) : warning C4065: switch statement contains 'default' but no 'case' labels
Creating library...
--------------------Configuration: analysis - Win32 Release--------------------
Compiling...
AnalysisModel.cpp
FE_Element.cpp
LagrangeMP_FE.cpp
LagrangeSP_FE.cpp
PenaltyMP_FE.cpp
PenaltySP_FE.cpp
TransformationFE.cpp
CentralDifferenceAlternative.cpp
CentralDifferenceNoDamping.cpp
Newmark.cpp
Generating Code...
Creating library...
--------------------Configuration: convergence - Win32 Release--------------------
Compiling...
CTestNormDispIncr.cpp
Creating library...
--------------------Configuration: database - Win32 Release--------------------
Compiling...
FileDatastore.cpp
NEESData.cpp
Generating Code...
Creating library...
--------------------Configuration: domain - Win32 Release--------------------
Compiling...
Node.cpp
Domain.cpp
Subdomain.cpp
MultiSupportPattern.cpp
TclPatternCommand.cpp
Generating Code...
Creating library...
--------------------Configuration: element - Win32 Release--------------------
Compiling...
TclElementCommands.cpp
Truss.cpp
TrussSection.cpp
TclBeamWithHingesBuilder.cpp
DistHingeIntegration.cpp
HingeEndpointBeamIntegration.cpp
HingeMidpointBeamIntegration.cpp
HingeRadauBeamIntegration.cpp
HingeRadauTwoBeamIntegration.cpp
LegendreBeamIntegration.cpp
NewtonCotesBeamIntegration.cpp
RadauBeamIntegration.cpp
UserDefinedHingeIntegration.cpp
ConstantPressureVolumeQuad.cpp
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(407) : warning C4101: 'p' : unreferenced local variable
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(407) : warning C4101: 'q' : unreferenced local variable
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(870) : warning C4101: 'p' : unreferenced local variable
C:\culvert\OpenSees\SRC\element\fourNodeQuad\ConstantPressureVolumeQuad.cpp(870) : warning C4101: 'q' : unreferenced local variable
EnhancedQuad.cpp
FourNodeQuad.cpp
ElasticBeam2d.cpp
ElasticBeam3d.cpp
BbarBrick.cpp
Brick.cpp
C:\culvert\OpenSees\SRC\element\brick\Brick.cpp(903) : warning C4101: 'success' : unreferenced local variable
Generating Code...
C:\culvert\OpenSees\SRC\element\truss\TrussSection.cpp(770) : warning C4700: local variable 'force' used without having been initialized
C:\culvert\OpenSees\SRC\element\truss\TrussSection.cpp(826) : warning C4700: local variable 'force' used without having been initialized
C:\culvert\OpenSees\SRC\element\truss\TrussSection.cpp(927) : warning C4700: local variable 'force' used without having been initialized
Compiling...
TclBrickCommand.cpp
ShellMITC4.cpp
DispBeamColumn2d.cpp
DispBeamColumn3d.cpp
InelasticYS2DGNL.cpp
BeamIntegration.cpp
ForceBeamColumn2d.cpp
ForceBeamColumn3d.cpp
C:\culvert\OpenSees\SRC\element\forceBeamColumn\ForceBeamColumn3d.cpp(1825) : warning C4101: 'i' : unreferenced local variable
TclForceBeamColumnCommand.cpp
FourNodeQuadUP.cpp
C:\culvert\OpenSees\SRC\element\UP-ucsd\FourNodeQuadUP.cpp(631) : warning C4101: 'k' : unreferenced local variable
Generating Code...
Creating library...
--------------------Configuration: graph - Win32 Release--------------------
Compiling...
GraphNumberer.cpp
MyRCM.cpp
SimpleNumberer.cpp
Generating Code...
Creating library...
--------------------Configuration: material - Win32 Release--------------------
Compiling...
TclFedeasMaterialCommand.cpp
Concrete04.cpp
C:\culvert\OpenSees\SRC\material\uniaxial\Concrete04.cpp(38) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
FatigueMaterial.cpp
Steel03.cpp
TclModelBuilderUniaxialMaterialCommand.cpp
TclReinforcingSteel.cpp
UniaxialMaterial.cpp
PressureDependMultiYield02.cpp
ReinforcingSteel.cpp
Isolator2spring.cpp
TclModelBuilderSectionCommand.cpp
Generating Code...
Creating library...
--------------------Configuration: matrix - Win32 Release--------------------
Compiling...
BJtensor.cpp
Creating library...
--------------------Configuration: recorder - Win32 Release--------------------
Compiling...
ElementRecorder.cpp
EnvelopeElementRecorder.cpp
EnvelopeNodeRecorder.cpp
NodeRecorder.cpp
Generating Code...
Creating library...
--------------------Configuration: renderer - Win32 Release--------------------
Compiling...
OpenGlRenderer.cpp
Creating library...
OpenGlDevice.obj : warning LNK4006: "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglSetPixelFormat(struct HDC__ *,unsigned char,unsigned long)" (?oglSetPixelFormat@@YAHPAUHDC__@@EK@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z) already defined in WindowDevice.obj; secon
d definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglDestroyWindow(char *,struct HWND__ *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyWindow@@YAHPADPAUHWND__@@PAUHGLRC__@@PAUHDC__@@@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglCreateBitmap(int,int,struct HGLRC__ * *,struct HDC__ * *,struct HBITMAP__ * *,struct tagBITMAPINFO *,unsigned char * *)" (?oglCreateBitmap@@YAHHHPAPAUHGLRC__@@PAPAUHDC__@@PAPAUHBITMAP__@@PAUtagBITM
APINFO@@PAPAE@Z) already defined in WindowDevice.obj; second definition ignored
OpenGlDevice.obj : warning LNK4006: "int __cdecl oglDestroyBitmap(struct HBITMAP__ * *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyBitmap@@YAHPAPAUHBITMAP__@@PAUHGLRC__@@PAUHDC__@@@Z) already defined in WindowDevice.obj; second definition ignored
--------------------Configuration: superLU - Win32 Release--------------------
Compiling...
util.c
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(327) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(334) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(335) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(344) : warning C4244: 'return' : conversion from 'double ' to 'float ', possible loss of data
C:\culvert\OpenSees\OTHER\SuperLU_3.0\SRC\util.c(349) : warning C4244: 'return' : conversion from 'double ' to 'float ', possible loss of data
Creating library...
dgstrs.obj : warning LNK4006: _dprint_soln already defined in dgstrsL.obj; second definition ignored
--------------------Configuration: system - Win32 Release--------------------
Compiling...
FullGenLinSOE.cpp
UmfpackGenLinSOE.cpp
BandArpackSolver.cpp
SymArpackSolver.cpp
C:\culvert\OpenSees\SRC\system_of_eqn\eigenSOE\SymArpackSolver.cpp(155) : warning C4101: 'nconv' : unreferenced local variable
Generating Code...
Creating library...
--------------------Configuration: openSees - Win32 Release--------------------
Compiling...
commands.cpp
C:\culvert\OpenSees\SRC\tcl\commands.cpp(4415) : error C2374: 'i' : redefinition; multiple initialization
C:\culvert\OpenSees\SRC\tcl\commands.cpp(4409) : see declaration of 'i'
myCommands.cpp
tclAppInit.cpp
TclFeViewer.cpp
tclMain.cpp
TclModelBuilder.cpp
TclUniaxialMaterialTester.cpp
TclVideoPlayer.cpp
C:\culvert\OpenSees\SRC\tcl\TclVideoPlayer.cpp(188) : warning C4101: 'mode' : unreferenced local variable
Generating Code...
Error executing cl.exe.
openSees.exe - 1 error(s), 27 warning(s)
i have installed tcl 8.4.6.1 version available on the website and for the code i obtained it from the zip file....presently i have compiled the stable version of the code......the above txt is what i got after compilation. In the last few lines you will find the error as the multiple decleration of variable 'i' in the command.cpp file.........
and when i have corrected this error then i got many linking errors (abt 500) ...........
plz tell me what should i do to remove these errors.......
on more thing on the site there is no specification given for the virsion of tcl to be used with the stable virsion hence i have used the latest one........
i have also tried out the same thing with the opensees 1.4 and used tcl 8.3.4 and i got the same error...and after correcting it i again got many linking errors.....
please help me out in this matter....it would be a great help and i would be highly obliged to you....
thank you