
Thu, 11/21/2013 - 15:15
Hello Everyone,
error LNK2019: unresolved external symbol "public: __thiscall WNT_GraphicDevice::WNT_GraphicDevice(unsigned int,void * const)" (??0WNT_GraphicDevice@@QAE@IQAX@Z) referenced in function "public: void __thiscall WNT_GraphicDevice::`default constructor closure'(void)" (??_FWNT_GraphicDevice@@QAEXXZ)
1>StepViewer.obj : error LNK2019: unresolved external symbol "public: __thiscall Graphic3d_WNTGraphicDevice::Graphic3d_WNTGraphicDevice(void)" (??0Graphic3d_WNTGraphicDevice@@QAE@XZ) referenced in function "public: __thiscall CStepViewerApp::CStepViewerApp(void)" (??0CStepViewerApp@@QAE@XZ)
1>C:\Users\Dell\Desktop\Milinda\StepViewer\Debug\StepViewer.exe : fatal error LNK1120: 2 unresolved externals
I'm Using OpenCascade 6.6.0
Please Help....
Thank you.
Thu, 11/21/2013 - 15:30
Dear Milinda,
As far as I know, WNT_GraphicDevice is no longer part of the package TKService in OpenCASCADE 6.6.0. I would suggest you to read the release notes of OCCT 6.6.0 here:
http://www.opencascade.com/pub/doc/Release_Notes_6.6.0.pdf
Page 31 describes shortly how to initialize a graphic device in the new versions.
If you want to see how it works in practice, you can check the sample project in the "Samples" folder of your OpenCASCADE package.
Best regards
László
Tue, 11/26/2013 - 09:55
Dear Laszlo,
Thanks for your answer. It helped me to solve my problem. Really appreciate your help.