For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Configuration of VC++ 6.0

Anonymous's picture
Forums: 

Hello,
I am a newbe to opencascade and finding it difficult to configure VC++ 6.0 with OC-Libraries.

I am using OpenCASCADE 5.0

Can you please help me?

Cheers,
VIJAY

udo's picture

What exactly are you trying to do? Once you installed OC you should try to compile the examples. Compile mfcsample first, make shure that the path of CASHOME/ros/inc is set in the compilers additional include path and CASHOME/ros/win32/lib should be in the linker path.
Hope that helps, if you state some more details I will be able to give a more specific answer.

Vijay's picture

Hi,

Thanks a lot for your help.

I tried to compile geometry example located in C:\OpenCASCADE5.1\samples\standard\mfc\01_Geometry.

I have added C:\OPENCASCADE5.1\ROS\INC the tools/options/directories/include directories and C:\OPENCASCADE5.1\ROS\SRC to source files and C:\OPENCASCADE5.1\ROS\WIN32\LIB to Libraey files as well.

But when I complie this gives me 50 errors, the dump is as below...

--------------------Configuration: Geometry - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
ISession2D_Curve.cpp
ISession2D_InteractiveContext.cpp
ISession2D_SensitiveCurve.cpp
ISession_Curve.cpp
ISession_Direction.cpp
ISession_Point.cpp
ISession_Surface.cpp
ISession_Text.cpp
ChildFrm.cpp
ChildFrm2d.cpp
GeometryApp.cpp
GeometryDoc.cpp
GeometryView.cpp
GeometryView2d.cpp
GeomSources.cpp
MainFrm.cpp
Generating Code...
Linking...
Creating library ../Debug/Geometry.lib and object ../Debug/Geometry.exp
GeomSources.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryDoc.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Surface.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Text.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ChildFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ChildFrm2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession2D_Curve.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Curve.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Direction.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Point.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ChildFrm.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_BaseChildFrame::OCC_BaseChildFrame(void)" (__imp_??0OCC_BaseChildFrame@@QAE@XZ)
ChildFrm2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_BaseChildFrame::OCC_BaseChildFrame(void)" (__imp_??0OCC_BaseChildFrame@@QAE@XZ)
ChildFrm.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_BaseChildFrame::~OCC_BaseChildFrame(void)" (__imp_??1OCC_BaseChildFrame@@UAE@XZ)
ChildFrm2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_BaseChildFrame::~OCC_BaseChildFrame(void)" (__imp_??1OCC_BaseChildFrame@@UAE@XZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall CRectangularGrid::CRectangularGrid(class CWnd *)" (??0CRectangularGrid@@QAE@PAVCWnd@@@Z)
GeometryDoc.obj : error LNK2001: unresolved external symbol "public: __thiscall CRectangularGrid::CRectangularGrid(class CWnd *)" (??0CRectangularGrid@@QAE@PAVCWnd@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CRectangularGrid::CRectangularGrid(class CWnd *)" (??0CRectangularGrid@@QAE@PAVCWnd@@@Z)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall CCircularGrid::CCircularGrid(class CWnd *)" (??0CCircularGrid@@QAE@PAVCWnd@@@Z)
GeometryDoc.obj : error LNK2001: unresolved external symbol "public: __thiscall CCircularGrid::CCircularGrid(class CWnd *)" (??0CCircularGrid@@QAE@PAVCWnd@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CCircularGrid::CCircularGrid(class CWnd *)" (??0CCircularGrid@@QAE@PAVCWnd@@@Z)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall OCC_BaseApp::GetSampleName(void)" (?GetSampleName@OCC_BaseApp@@UAEPBDXZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall OCC_BaseApp::GetMessageMap(void)const " (?GetMessageMap@OCC_BaseApp@@MBEPBUAFX_MSGMAP@@XZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall OCC_3dApp::OCC_3dApp(void)" (??0OCC_3dApp@@QAE@XZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall OCC_3dApp::~OCC_3dApp(void)" (??1OCC_3dApp@@UAE@XZ)
GeometryDoc.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OCC_2dView::FitAll(void)" (__imp_?FitAll@OCC_2dView@@QAEXXZ)
GeometryDoc.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OCC_3dView::SetZoom(double const &)" (__imp_?SetZoom@OCC_3dView@@QAEXABN@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct CRuntimeClass const OCC_3dView::classOCC_3dView" (__imp_?classOCC_3dView@OCC_3dView@@2UCRuntimeClass@@B)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const OCC_3dView::messageMap" (__imp_?messageMap@OCC_3dView@@1UAFX_MSGMAP@@B)
GeometryView.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall OCC_3dView::DrawRectangle(int,int,int,int,unsigned int,enum OCC_3dView::LineStyle)" (?DrawRectangle@OCC_3dView@@MAEXHHHHIW4LineStyle@1@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::MultiInputEvent(int,int)" (?MultiInputEvent@OCC_3dView@@UAEXHH@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::MultiDragEvent(int,int,int)" (?MultiDragEvent@OCC_3dView@@UAEXHHH@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::MultiMoveEvent(int,int)" (?MultiMoveEvent@OCC_3dView@@UAEXHH@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::OnDraw(class CDC *)" (?OnDraw@OCC_3dView@@UAEXPAVCDC@@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::OnInitialUpdate(void)" (?OnInitialUpdate@OCC_3dView@@UAEXXZ)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall OCC_3dView::PreCreateWindow(struct tagCREATESTRUCTA &)" (?PreCreateWindow@OCC_3dView@@UAEHAAUtagCREATESTRUCTA@@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_3dView::OCC_3dView(void)" (__imp_??0OCC_3dView@@QAE@XZ)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_3dView::~OCC_3dView(void)" (__imp_??1OCC_3dView@@UAE@XZ)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const OCC_2dView::messageMap" (__imp_?messageMap@OCC_2dView@@1UAFX_MSGMAP@@B)
GeometryView2d.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall OCC_2dView::DrawRectangle2D(int,int,int,int,unsigned int,enum OCC_2dView::LineStyle)" (?DrawRectangle2D@OCC_2dView@@MAEXHHHHIW4LineStyle@1@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall OCC_2dView::PreCreateWindow(struct tagCREATESTRUCTA &)" (?PreCreateWindow@OCC_2dView@@UAEHAAUtagCREATESTRUCTA@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_2dView::OCC_2dView(void)" (__imp_??0OCC_2dView@@QAE@XZ)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_2dView::~OCC_2dView(void)" (__imp_??1OCC_2dView@@UAE@XZ)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: void __thiscall OCC_2dView::Popup2D(int,int)" (__imp_?Popup2D@OCC_2dView@@IAEXHH@Z)
GeomSources.obj : error LNK2001: unresolved external symbol "public: void __thiscall CResultDialog::SetTitle(class CString &)" (?SetTitle@CResultDialog@@QAEXAAVCString@@@Z)
GeomSources.obj : error LNK2001: unresolved external symbol "public: void __thiscall CResultDialog::SetText(class CString &)" (?SetText@CResultDialog@@QAEXAAVCString@@@Z)
../Debug/Geometry.exe : fatal error LNK1120: 30 unresolved externals
Error executing link.exe.

Geometry.exe - 50 error(s), 0 warning(s)

Couldn't figure out whats going wrong.

I am using OC 5.1...

Regards and thanks,

VIJAY

Andras Kiss's picture

Try to build the mfcsample prokect first. This is the main component of all mfc samples.

Vijay's picture

Thanks a lot, it worked! :-)

Steve's picture

Hi,

I am exactly getting the same problem as our friend Vijay is getting. I am not able to compile the samples in the Opencascade 5. As suggested, I first compiled the mfcsample project and included the path of CASROOT/ros/inc and CASROOT/ros/win32/lib and CASROOT/ros/src in the compiler directories. But even then I am getting 50 errors !!!

--------------------Configuration: Geometry - Win32 Debug--------------------
Linking...
Creating library ../Debug/Geometry.lib and object ../Debug/Geometry.exp
GeomSources.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryDoc.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Surface.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Text.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ChildFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ChildFrm2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession2D_Curve.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Curve.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Direction.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ISession_Point.obj : error LNK2001: unresolved external symbol "public: __thiscall CResultDialog::CResultDialog(class CWnd *)" (??0CResultDialog@@QAE@PAVCWnd@@@Z)
ChildFrm.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_BaseChildFrame::OCC_BaseChildFrame(void)" (__imp_??0OCC_BaseChildFrame@@QAE@XZ)
ChildFrm2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_BaseChildFrame::OCC_BaseChildFrame(void)" (__imp_??0OCC_BaseChildFrame@@QAE@XZ)
ChildFrm.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_BaseChildFrame::~OCC_BaseChildFrame(void)" (__imp_??1OCC_BaseChildFrame@@UAE@XZ)
ChildFrm2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_BaseChildFrame::~OCC_BaseChildFrame(void)" (__imp_??1OCC_BaseChildFrame@@UAE@XZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall CRectangularGrid::CRectangularGrid(class CWnd *)" (??0CRectangularGrid@@QAE@PAVCWnd@@@Z)
GeometryDoc.obj : error LNK2001: unresolved external symbol "public: __thiscall CRectangularGrid::CRectangularGrid(class CWnd *)" (??0CRectangularGrid@@QAE@PAVCWnd@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CRectangularGrid::CRectangularGrid(class CWnd *)" (??0CRectangularGrid@@QAE@PAVCWnd@@@Z)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall CCircularGrid::CCircularGrid(class CWnd *)" (??0CCircularGrid@@QAE@PAVCWnd@@@Z)
GeometryDoc.obj : error LNK2001: unresolved external symbol "public: __thiscall CCircularGrid::CCircularGrid(class CWnd *)" (??0CCircularGrid@@QAE@PAVCWnd@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: __thiscall CCircularGrid::CCircularGrid(class CWnd *)" (??0CCircularGrid@@QAE@PAVCWnd@@@Z)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall OCC_BaseApp::GetSampleName(void)" (?GetSampleName@OCC_BaseApp@@UAEPBDXZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall OCC_BaseApp::GetMessageMap(void)const " (?GetMessageMap@OCC_BaseApp@@MBEPBUAFX_MSGMAP@@XZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: __thiscall OCC_3dApp::OCC_3dApp(void)" (??0OCC_3dApp@@QAE@XZ)
GeometryApp.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall OCC_3dApp::~OCC_3dApp(void)" (??1OCC_3dApp@@UAE@XZ)
GeometryDoc.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OCC_2dView::FitAll(void)" (__imp_?FitAll@OCC_2dView@@QAEXXZ)
GeometryDoc.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OCC_3dView::SetZoom(double const &)" (__imp_?SetZoom@OCC_3dView@@QAEXABN@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct CRuntimeClass const OCC_3dView::classOCC_3dView" (__imp_?classOCC_3dView@OCC_3dView@@2UCRuntimeClass@@B)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const OCC_3dView::messageMap" (__imp_?messageMap@OCC_3dView@@1UAFX_MSGMAP@@B)
GeometryView.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall OCC_3dView::DrawRectangle(int,int,int,int,unsigned int,enum OCC_3dView::LineStyle)" (?DrawRectangle@OCC_3dView@@MAEXHHHHIW4LineStyle@1@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::MultiInputEvent(int,int)" (?MultiInputEvent@OCC_3dView@@UAEXHH@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::MultiDragEvent(int,int,int)" (?MultiDragEvent@OCC_3dView@@UAEXHHH@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::MultiMoveEvent(int,int)" (?MultiMoveEvent@OCC_3dView@@UAEXHH@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::OnDraw(class CDC *)" (?OnDraw@OCC_3dView@@UAEXPAVCDC@@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall OCC_3dView::OnInitialUpdate(void)" (?OnInitialUpdate@OCC_3dView@@UAEXXZ)
GeometryView.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall OCC_3dView::PreCreateWindow(struct tagCREATESTRUCTA &)" (?PreCreateWindow@OCC_3dView@@UAEHAAUtagCREATESTRUCTA@@@Z)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_3dView::OCC_3dView(void)" (__imp_??0OCC_3dView@@QAE@XZ)
GeometryView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_3dView::~OCC_3dView(void)" (__imp_??1OCC_3dView@@UAE@XZ)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const OCC_2dView::messageMap" (__imp_?messageMap@OCC_2dView@@1UAFX_MSGMAP@@B)
GeometryView2d.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall OCC_2dView::DrawRectangle2D(int,int,int,int,unsigned int,enum OCC_2dView::LineStyle)" (?DrawRectangle2D@OCC_2dView@@MAEXHHHHIW4LineStyle@1@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall OCC_2dView::PreCreateWindow(struct tagCREATESTRUCTA &)" (?PreCreateWindow@OCC_2dView@@UAEHAAUtagCREATESTRUCTA@@@Z)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OCC_2dView::OCC_2dView(void)" (__imp_??0OCC_2dView@@QAE@XZ)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall OCC_2dView::~OCC_2dView(void)" (__imp_??1OCC_2dView@@UAE@XZ)
GeometryView2d.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: void __thiscall OCC_2dView::Popup2D(int,int)" (__imp_?Popup2D@OCC_2dView@@IAEXHH@Z)
GeomSources.obj : error LNK2001: unresolved external symbol "public: void __thiscall CResultDialog::SetTitle(class CString &)" (?SetTitle@CResultDialog@@QAEXAAVCString@@@Z)
GeomSources.obj : error LNK2001: unresolved external symbol "public: void __thiscall CResultDialog::SetText(class CString &)" (?SetText@CResultDialog@@QAEXAAVCString@@@Z)
../Debug/Geometry.exe : fatal error LNK1120: 30 unresolved externals
Error executing link.exe.

Geometry.exe - 50 error(s), 0 warning(s)
The following environment variables were not found
$(CASROOT)

-------- Please some body try to help me out.

thx
steve

Andras Kiss's picture

As you see the enviroment variable CASROOT is probably not defined. Try to define it.

Steve's picture

thx, I tried different combinations for the environment variable CASROOT, but still I am getting same errors. What is the directory that I should set the CASROOT environment variable to..?

thx,
steve

Andras Kiss's picture

Normally CASROOT = ...\OpenCASCADE5.1\ros

Andras Kiss's picture

Normally CASROOT = ...\OpenCASCADE5.1\ros

Andras

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.