Hi,
I would really appreciate it of someone could help me. I tried compiling a source code which references header files from another directory on my hard disk (not the default VC++ header files directory). I added this directory name as an extra line in "Tools>Options> Directories..." for include files.
My source code looks like this :
The errors that I get are "error LNK2001: unresolved external symbol "public: __thiscall Handle_TColStd_ HSequenceOfTran sient::~Handle_ TColStd_HSequen ceOfTransient(v oid)" (??1Handle_TCol Std_HSequenceOf Transient@@QAE@ XZ)"
Any help from anyone will be apreciated.
Thanks a bunch !
-Karthik
I would really appreciate it of someone could help me. I tried compiling a source code which references header files from another directory on my hard disk (not the default VC++ header files directory). I added this directory name as an extra line in "Tools>Options> Directories..." for include files.
My source code looks like this :
Code:
#include "IGESControl_Reader.hxx" #include "TColStd_HSequenceOfTransient.hxx" #include "TopoDS_Shape.hxx" main() { IGESControl_Reader myIgesReader; Standard_Integer nIgesFaces,nTransFaces; myIgesReader.ReadFile ("MyFile.igs"); //loads file MyFile.igs Handle(TColStd_HSequenceOfTransient) myList = myIgesReader.GiveList("iges-faces"); //selects all IGES faces in the file and puts them into a list called MyList, nIgesFaces = myList->Length(); nTransFaces = myIgesReader.TransferList(myList); //translates MyList, cout<<"IGES Faces: "<<nIgesFaces<<" Transferred:"<<nTransFaces<<endl; TopoDS_Shape sh = myIgesReader.OneShape(); //and obtains the results in an Open CASCADE shape. }
The errors that I get are "error LNK2001: unresolved external symbol "public: __thiscall Handle_TColStd_ HSequenceOfTran sient::~Handle_ TColStd_HSequen ceOfTransient(v oid)" (??1Handle_TCol Std_HSequenceOf Transient@@QAE@ XZ)"
Any help from anyone will be apreciated.
Thanks a bunch !
-Karthik
Comment