Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Error reading Step Assembly

Error reading Step Assembly
mamadou sy 2006/07/28 21:38
I am still having an error anytime I am using STEPCAF tools to read a step file.
And I just add the folowing code and included the .hxx files needed.
Handle_XCAFApp_Application app = XCAFApp_Application::GetApplication ();
Handle_TDocStd_Document document;
app->NewDocument ("MDTV-XCAF", document);

STEPCAFControl_Reader reader;
reader.ReadFile ("afile.step");

Thank you for your help


king...
Creating library ../../Debug/TexturesExt.lib and object ../../Debug/TexturesExt.exp
TexturesExt_Presentation.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall XSControl_Reader::NbRootsForTransfer(void)" (?NbRootsForTransfer@XSControl_Reader@@UAEHXZ)
TexturesExt_Presentation.obj : error LNK2001: unresolved external symbol "public: __thiscall Handle_XSControl_WorkSession::~Handle_XSControl_WorkSession(void)" (??1Handle_XSControl_WorkSession@@QAE@XZ)
../../Debug/TexturesExt.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

TexturesExt.exe - 3 error(s), 0 warning(s)
mamadou sy 2006/07/28 21:43
I would appreciate if anyone can send me a working code able to read any step assembly file.
Thank you madou007@hotmail.com
Kevin Malachowski 2012/06/06 22:11
This is a random shot in the dark, but did you ever happen to get this to work?
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map