msdev

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

Moderators: silvia, selimgunay, Moderators

Post Reply
shubhs
Posts: 11
Joined: Mon May 22, 2006 4:37 pm

msdev

Post by shubhs »

when i installed visual studio .......and compiled the files for the opensees.exe i got many linking errors and one cl.exe error.....then i posted those errors in this forum and got the reply from fmk regarding it......and now after implementing the corrections when i compiled it again i again got the linking errors but they were less than and different from before.............

now after that i cheaked for the paths of msdev....i find one directory named msdev98 in the "common" directory of visual studio but it doesnt have msdev lib directory....

so i would like to request you all to plz help me out in this matter

and also help me in getting of with this errors............

i m also posting the errors....



--------------------Configuration: openSees - Win32 Release--------------------
Linking...
commands.obj : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::addParameter(char const *,char const *)" (?addParameter@SimulationInformation@@QAEHPBD0@Z)
tclMain.obj : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::addParameter(char const *,char const *)" (?addParameter@SimulationInformation@@QAEHPBD0@Z)
commands.obj : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::addReadFile(char const *)" (?addReadFile@SimulationInformation@@QAEHPBD@Z)
tclMain.obj : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::addReadFile(char const *)" (?addReadFile@SimulationInformation@@QAEHPBD@Z)
commands.obj : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::addWriteFile(char const *)" (?addWriteFile@SimulationInformation@@QAEHPBD@Z)
recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::addWriteFile(char const *)" (?addWriteFile@SimulationInformation@@QAEHPBD@Z)
tclMain.obj : error LNK2001: unresolved external symbol "public: __thiscall SimulationInformation::SimulationInformation(void)" (??0SimulationInformation@@QAE@XZ)
tclMain.obj : error LNK2001: unresolved external symbol "public: __thiscall SimulationInformation::~SimulationInformation(void)" (??1SimulationInformation@@QAE@XZ)
tclMain.obj : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::end(void)" (?end@SimulationInformation@@QAEHXZ)
tclMain.obj : error LNK2001: unresolved external symbol "public: int __thiscall SimulationInformation::start(void)" (?start@SimulationInformation@@QAEHXZ)
tclMain.obj : error LNK2001: unresolved external symbol "class OPS_Stream & __cdecl operator<<(class OPS_Stream &,class SimulationInformation const &)" (??6@YAAAVOPS_Stream@@AAV0@ABVSimulationInformation@@@Z)
analysis.lib(AnalysisModel.obj) : error LNK2001: unresolved external symbol "public: __thiscall MapOfTaggedObjects::MapOfTaggedObjects(void)" (??0MapOfTaggedObjects@@QAE@XZ)
domain.lib(Domain.obj) : error LNK2001: unresolved external symbol "public: __thiscall MapOfTaggedObjects::MapOfTaggedObjects(void)" (??0MapOfTaggedObjects@@QAE@XZ)
domain.lib(Subdomain.obj) : error LNK2001: unresolved external symbol "public: __thiscall MapOfTaggedObjects::MapOfTaggedObjects(void)" (??0MapOfTaggedObjects@@QAE@XZ)
graph.lib(Graph.obj) : error LNK2001: unresolved external symbol "public: __thiscall MapOfTaggedObjects::MapOfTaggedObjects(void)" (??0MapOfTaggedObjects@@QAE@XZ)
material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Steel02::Steel02(int,double,double,double)" (??0Steel02@@QAE@HNNN@Z)
material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Steel02::Steel02(int,double,double,double,double,double,double)" (??0Steel02@@QAE@HNNNNNN@Z)
material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Steel02::Steel02(int,double,double,double,double,double,double,double,double,double,double)" (??0Steel02@@QAE@HNNNNNNNNNN@Z)
material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Concrete02::Concrete02(int,double,double,double,double,double,double,double)" (??0Concrete02@@QAE@HNNNNNNN@Z)
material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Bond_SP01::Bond_SP01(int,double,double,double,double,double,double)" (??0Bond_SP01@@QAE@HNNNNNN@Z)
material.lib(TclModelBuilderUniaxialMaterialCommand.obj) : error LNK2001: unresolved external symbol "public: __thiscall Bond_SP01::Bond_SP01(int,double,double,double,double,double,double,double,double,double,double)" (??0Bond_SP01@@QAE@HNNNNNNNNNN@
Z)
..\..\bin/openSees.exe : fatal error LNK1120: 15 unresolved externals
Error executing link.exe.

openSees.exe - 22 error(s), 0 warning(s)
ysyang
Posts: 1
Joined: Sun Apr 17, 2005 5:59 am
Location: National Taipei University of Technology
Contact:

Post by ysyang »

It seems the compiler can not find some of the classes.

Try to add some classes into proper projects, then build all again.
For example:
add the Steel02 object (.h and .cpp files) into material project,
add the MapOfTaggedObjects object into tagged project,
...
etc.
Post Reply