Mon, 05/27/2024 - 13:10
Forums:
Hello everyone,
I am trying to install open cascade with Draco enable option.
I have already install Draco on my machine. (using : sudo apt install Draco)
When I tried to build without Draco. it will build properly.
but when I install using Draco Boolean as ON then it is failing .
I am getting issue :
Could not find headers of used third-party products: 3RDPARTY_DRACO_INCLUDE_DIR
Attachments:
Mon, 05/27/2024 - 13:47
In that case please put your own path to DRACO include folder.
Best regard, Dmitrii.
Mon, 05/27/2024 - 14:18
Do I have to make changes in CMakeList file?
if not , in which file I have to make changes?
Mon, 05/27/2024 - 14:35
No, It should be as a CMake argument. or GUI.
Example:
-D3RDPARTY_DRACO_INCLUDE_DIR="'\usr\include"
Best regards, Dmitrii.
Mon, 05/27/2024 - 15:16
Thank you Dmitrii.
It works, and we were able to install Open Cascade with Draco enabled.
Is there a way to cross-verify this?
Mon, 05/27/2024 - 16:02
We currently trying to fix that issue during reorganizing CMake as a part of 7.9.
You be able to patch occt with updating /adm/CMake/draco.cmake file. Probably it is a internal bug. I will take that in mind during reorganizing.
Best regards, Dmitrii.
Tue, 05/28/2024 - 07:10
Okay. Thank you Dmitrii.