VCPKG : include error, on IntCurve_IntConicCurveGen.lxx using vcpkg

Hello, i integrated opencascade in my visual studio project using vcpkg, and if i specify the include directory like "path/to/include/opencascade/", i have no error while compiling.
although if I use vcpkg i would like to not specify any include directories manually.
The specifc error i got is coming from this class: IntCurve_IntConicCurveGen.lxx

the error:
IntCurve_IntConicCurveGen.lxx(17,10): error C1083: not possible to open include file: 'HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter.hxx': No such file or directory

If i look at the error deeply i see this line on a .lxx file that seems to cause problems:

#include IntCurve_TheIntersector_hxx

#include "IntRes2d_Domain.hxx"

#include "gp_Lin2d.hxx"
#include "gp_Circ2d.hxx"
#include "gp_Elips2d.hxx"
#include "gp_Hypr2d.hxx"
#include "gp_Parab2d.hxx"

Again everything works fine if i specify the include directory, tho i would like not to, with vcpkg.
Looking forward for help/fix.

Best regards.

Dmitrii Pasukhin's picture

Hello. Thank you for report. But you already mentioned the fix. There only one solution without modification of source - specify include dir. Or you can apply patch.

Please create a GH Issue to analyze all hxx and lxx files to avoid "" in the includes. I will resolved it as a 8.0.0 dev release (will be very soon)

Best regards, Dmitrii.