
Mon, 01/06/2025 - 21:26
[ 38%] Building CXX object src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o
/home/drew/dev/libs/opencascade-7.7.0/src/StdPrs/StdPrs_BRepFont.cxx: In member function ‘Standard_Boolean StdPrs_BRepFont::renderGlyph(Standard_Utf32Char, TopoDS_Shape&)’:
/home/drew/dev/libs/opencascade-7.7.0/src/StdPrs/StdPrs_BRepFont.cxx:460:30: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ [-fpermissive]
460 | const char* aTags = &anOutline->tags[aStartIndex];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| unsigned char*
make[2]: *** [src/TKV3d/CMakeFiles/TKV3d.dir/build.make:790: src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1850: src/TKV3d/CMakeFiles/TKV3d.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
I keep getting this error when attempting to build OCCT. I'm using Fedora on WSL.
Tue, 01/07/2025 - 00:38
Hello. The issue fixed on latest version of OCCT. You can apply change manually to avoid compilation error or use latest version (if you starting to work with occt, better to apply patch on stable version).
PR: 0033808: Coding - FreeType Use unsigned point and contour indexing in `FT_Outline` and commit: https://github.com/Open-Cascade-SAS/OCCT/commit/7236e83dcc1e7284e66dc61e...
Best regards, Dmitrii.
Tue, 01/07/2025 - 20:05
Thanks Dmitri.
As usual quick, concise and to the point.