compile error with the latest opensees

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
johneylee
Posts: 1
Joined: Sun Jul 10, 2016 8:56 pm
Location: bbk

compile error with the latest opensees

Post by johneylee » Mon Jul 11, 2016 11:06 pm

Hello Sir,
Can you please help me to check what mistake I have made according to the log below? thansk a lot.
1>------ Build started: Project: material, Configuration: Debug Win32 ------
1>Build started 7/12/2016 13:55:36.
1>InitializeBuildStatus:
1> Touching ".\..\..\obj\material\debug\material.unsuccessfulbuild".
1>ClCompile:
1> StressDensityModel.cpp
1>d:\work\projects\hybrid test\source code\opensees\src\material\nd\stressdensitymodel\stressdensitymodel.cpp(127): error C2057: expected constant expression
1>d:\work\projects\hybrid test\source code\opensees\src\material\nd\stressdensitymodel\stressdensitymodel.cpp(127): error C2466: cannot allocate an array of constant size 0
1>d:\work\projects\hybrid test\source code\opensees\src\material\nd\stressdensitymodel\stressdensitymodel.cpp(127): error C2133: 'dData' : unknown size
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.66
2>------ Build started: Project: quickMain, Configuration: Debug Win32 ------
3>------ Build started: Project: OpenSeesTk, Configuration: Debug Win32 ------
4>------ Build started: Project: OpenSees, Configuration: Debug Win32 ------
2>Build started 7/12/2016 13:55:36.
4>Build started 7/12/2016 13:55:36.
3>Build started 7/12/2016 13:55:36.
2>InitializeBuildStatus:
2> Touching ".\..\..\obj\quickMain\debug\quickMain.unsuccessfulbuild".
2>ClCompile:
3>InitializeBuildStatus:
4>InitializeBuildStatus:
4> Touching ".\..\..\obj\opensees\debug\OpenSees.unsuccessfulbuild".
4>ClCompile:
4> All outputs are up-to-date.
3> Touching ".\..\..\obj\openseesTk\debug\OpenSeesTk.unsuccessfulbuild".
3>ClCompile:
3> All outputs are up-to-date.
2> All outputs are up-to-date.
4>ManifestResourceCompile:
4> All outputs are up-to-date.
3>ManifestResourceCompile:
3> All outputs are up-to-date.
2>ManifestResourceCompile:
2> All outputs are up-to-date.
3>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
3>LINK : fatal error LNK1181: cannot open input file 'material.lib'
2>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
2>LINK : fatal error LNK1181: cannot open input file 'material.lib'
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:00.44
4>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
4>LINK : fatal error LNK1181: cannot open input file 'cssparse.lib'
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.53
4>
4>Build FAILED.
4>
4>Time Elapsed 00:00:00.47
========== Build: 0 succeeded, 4 failed, 23 up-to-date, 0 skipped ==========

fmk
Site Admin
Posts: 5866
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: compile error with the latest opensees

Post by fmk » Wed Jul 13, 2016 1:28 pm

i have updated the code to fix that error on your compiler .. others have been chacking stuff in, so it may be safest just to do an svn update in the material/nd/stressDensityModel directory

Post Reply