Hi Everybody,
Anybody here used OpenCascade before. I know freecad used to be an offshoot of OCCT. I asked the same question on their forum but there's not much activity there. I would like use some of it's modules in one of my project. But I am having problem linking it to my project. There's not much documentation on how to set up your cmake file in order to use OpenCascade.
Here's my rudimentatry cmake file:
I get the error when I generate the make file:
WARNING: Target "OpenCascadeLearning" requests linking to directory "/usr/local/lib". Targets may link only to libraries. CMake is dropping the item.
make file also has compile error. I feel like I am missing something.
cheers
LongShot: Anybody Used OpenCascade before
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: LongShot: Anybody Used OpenCascade before
Hello yushi,
I'm not a developer but since no one has yet responded,
FreeCAD is not an offshoot of OCCT, but an application that uses the OCCT libraries, as you seem to be trying to do.
I would examine the src tree https://github.com/FreeCAD/FreeCAD/tree/master/src
In particular the Part Module https://github.com/FreeCAD/FreeCAD/tree ... c/Mod/Part
I'm not a developer but since no one has yet responded,
FreeCAD is not an offshoot of OCCT, but an application that uses the OCCT libraries, as you seem to be trying to do.
I would examine the src tree https://github.com/FreeCAD/FreeCAD/tree/master/src
In particular the Part Module https://github.com/FreeCAD/FreeCAD/tree ... c/Mod/Part
"fight the good fight"