DiscussionsIssue archiveInstallation and Building

Archived discussion

Open cascade with Draco on ubuntu. (Linux)

Installation and BuildingMon, 05/27/2024 - 13:106 replies

Browse this forum
QuestionAuthor

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

Discussion

6 archived replies

Posts are displayed in their archived order.

01Commenter-1

In that case please put your own path to DRACO include folder.

Best regard, Commenter-1.

02Author

Do I have to make changes in CMakeList file?
if not , in which file I have to make changes?

03Commenter-1

No, It should be as a CMake argument. or GUI.

Example:

-D3RDPARTY_DRACO_INCLUDE_DIR="'\usr\include"

Best regards, Commenter-1.

04Author

Thank you Dmitrii.
It works, and we were able to install Open Cascade with Draco enabled.
Is there a way to cross-verify this?

05Commenter-1

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, Commenter-1.

06Author

Okay. Thank you Dmitrii.