Building OCCT and having 'XmlXCAFDrivers.hxx' file not found

I tried to add these lines in the cmakeList :

set (BUILD_MODULE_TKXmlXCAF ON CACHE BOOL "${BUILD_MODULE_TKXmlXCAF_DESCR}")
set (BUILD_ADDITIONAL_TOOLKITS "TKXmlXCAF" CACHE STRING "${BUILD_ADDITIONAL_TOOLKITS_DESCR}")

I found out here that maybe I should use the upper line, but it doesn't seem to work when importing XmlXCAFDrivers.hxx

What should I do ?

Here is the snippet of the error

fatal error: 'XmlXCAFDrivers.hxx' file not found
   12 | #include <XmlXCAFDrivers.hxx>
      |          ^~~~~~~~~~~~~~~~~~~~
1 error generated.
Dmitrii Pasukhin's picture

Hello, can you please describe what you are trying to achieve? Is it OCCT build or build of your project? If it is OCCT build - then default parameters will build ApplicationFramework module.

Best regards, Dmitrii.

Valentin Noailles's picture

Hello, I figure it out sorry for bothering you.

Dmitrii Pasukhin's picture

There are no bothering in the collaborative portal. I you faced up with issue - always better to share with others - to avoid similar probem in the future ;)

You are welcome with issue report and also with their solutions if you find them tricky and interseting to share ;)

Best regards, Dmitrii.