Hi everyone,
I got the following error information when I compiled the OpenSees 1.6.2. Looks like the error is related to these two lines in SuperLU.h:
superlu_options_t options;
SuperLUStat_t stat;
I can not find where the superlu_options_t and SuperLUState_t come from. Anybody knows what is wrong with it?
thanks
Ouyang
..\..\..\src\system_of_eqn\linearSOE\sparseGEN\SuperLU.h(78) : error C2146: syntax error : missing ';' before identifier 'options'
..\..\..\src\system_of_eqn\linearSOE\sparseGEN\SuperLU.h(78) : error C2501: 'superlu_options_t' : missing storage-class or type specifiers
..\..\..\src\system_of_eqn\linearSOE\sparseGEN\SuperLU.h(78) : error C2501: 'options' : missing storage-class or type specifiers
..\..\..\src\system_of_eqn\linearSOE\sparseGEN\SuperLU.h(79) : error C2146: syntax error : missing ';' before identifier 'stat'
..\..\..\src\system_of_eqn\linearSOE\sparseGEN\SuperLU.h(79) : error C2501: 'SuperLUStat_t' : missing storage-class or type specifiers
..\..\..\src\system_of_eqn\linearSOE\sparseGEN\SuperLU.h(79) : error C2208: 'struct stat' : no members defined using this type
C:\DownTemp\opensees\OpenSees\SRC\actor\objectBroker\FEM_ObjectBroker.cpp(324) : warning C4065: switch statement contains 'default' but no 'case' labels
C:\DownTemp\opensees\OpenSees\SRC\actor\objectBroker\FEM_ObjectBroker.cpp(344) : warning C4065: switch statement contains 'default' but no 'case' labels
Error executing cl.exe.
openSees.exe - 6 error(s), 2 warning(s)
error while compiling OpenSees 1.6.2 with VC++ 6.0
Moderators: silvia, selimgunay, Moderators
i no longer have acces to a machine running vc6.0 .. i only update the vc.net projects.
we have moved to version 3.0 of SuperLU .. naturally they have changed the interface
on us so the old code would not work with their new API .. the new code is in
OTHER/SuperLU_3.0/SRC directory .. you need to change the include
directory path in the project settings to this directory from OTHER/SuperLU .. i have not
yet removed that directory from the repository though i will soon.
you might also find that you need to include the SRC/system_of_eqn/linearSOE/diagonal
to some other projects and add the files in this directory to the system project.
ps. if someone knows what they are doing and want to send me the updated vc6.0 projects i will put them in the repository for evrybode else. i will also hunt around for someone who has vc6.0.
pps. unix users will have to change the location of the SuperLU directory in their Makefile.def
we have moved to version 3.0 of SuperLU .. naturally they have changed the interface
on us so the old code would not work with their new API .. the new code is in
OTHER/SuperLU_3.0/SRC directory .. you need to change the include
directory path in the project settings to this directory from OTHER/SuperLU .. i have not
yet removed that directory from the repository though i will soon.
you might also find that you need to include the SRC/system_of_eqn/linearSOE/diagonal
to some other projects and add the files in this directory to the system project.
ps. if someone knows what they are doing and want to send me the updated vc6.0 projects i will put them in the repository for evrybode else. i will also hunt around for someone who has vc6.0.
pps. unix users will have to change the location of the SuperLU directory in their Makefile.def