Open frankspace opened 2 years ago
Hi, it seems OpenCascade uses different names for certain files. In this specific case
/usr/include/opencascade/Handle_Geom_TrimmedCurve.hxx
Seems to be replaced by:
/usr/include/opencascade/Geom_TrimmedCurve.hxx
A workaround is to create a symbolic link with the old name pointing to the current file, something like:
ln -s /usr/include/opencascade/Geom_TrimmedCurve.hxx Handle_Geom_TrimmedCurve.hxx
And to repeat this for every missing file. I can't guarantee it will solve all the compilation issues but at least it will hwlp to find the missing files.
I have created a fork which compiles with the latest OpenCascade (7.6.0). See https://github.com/bullestock/heekscad/
I have created a fork which compiles with the latest OpenCascade (7.6.0). See https://github.com/bullestock/heekscad/
I tried to build it against OpenCascade 7.6.2 (or rather https://gitlab.com/blobfish/occt.git/ commit f3f00c9e9487713be0c64f36c53590cc0f30e5a6
), and ran into errors as well:
That was after I modified heekscad to use BRepAlgoAPI_Fuse
instead of BRepAlgo_Fuse
which got removed from the 7.6.0 API.
According to this comment, OCE is EOL. I cannot get this to compile on Artix with OpenCASCADE, primarily running into repeated
fatal error: Handle_Geom_TrimmedCurve.hxx: No such file or directory
errors. There is a "/usr/include/opencascade/Geom_TrimmedCurve.hxx" on my box from OpenCASCADE, and during compilation CMake says, among other things, "Found OCC include dir: /usr/include/opencascade". It does complain about not finding OCE. I simply don't know enough programming to know whether this does work with OpenCASCADE and I'm just doing something wrong, or if something needs to be done under the hood for compatibility. Nonetheless, I don't seem to be able to get this to compile against OpenCASCADE, and it seems that with OCE being discontinued, perhaps there ought to be a way to do that?