Hi everyone, I'm new to OCCT. I'm trying to build some C++ code against OCCT libraries. In my code, I have just added one OCCT include file, for testing, like this: #include <STEPControl_Reader.hxx> The build fails due to /usr/local/include/opencascade/Standard_CString.hxx:61:23: error: ambiguating
Hi, I am trying to port OpenCascade on Cygwin to build also KiCad, but I found extremely frustrating that the current OCCT-7_9_3 cmake scripts are making the work cumbersome due too many wrong expectations on how 3rd party library are called and the absence of a clear way to state how they are calle
Hi, I'd like to build OCC from source to have it build with the newest compiler. - I downloaded the OCC source - I use the CMAKE GUI - I downloaded and compiled TCL9.0.3 - I downloaded and compiled TK9.0.3 I set the paths in the CMAKE variables, but CMAKE always complains: Warning: TK library is not
I found that the compiled sample qt/OTC Overview runs on a Linux system and only supports running on X11 protocol desktops, not on Wayland protocol desktops.
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 wor
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 comin
Hello OCCT Community, We're excited to announce that starting from July 7th, 2025 , OCCT master branch (not released version) now provides comprehensive support for VCPKG's extended package list, significantly simplifying the dependency management process for OCCT builds. What's New Enhanced VCPKG I
Hello, Version 7.9.0 is OK on FreeBSD, but trying to install 7.9.1 fails during the configuration step with the following message: -- Found unsuitable Qt version "5.15.16" from /usr/local/lib/qt5/bin/qmake -- Info: The directories of 3rdparty headers: /usr/local/include/tcl8.6 /usr/local/include/tk8
I compiled both the debug and release versions of VTK9.4 on Windows. Similarly, I also compiled the debug and release versions of OCC7.9.0. I wrote a program using Qt to display the OCC model with VTK. However, the program runs normally in the release version but crashes in the debug version. The fo
Hi, I am trying to build/install occt along with qt samples. here is my configuration: - Windows 11 - Visual Studio 2022 Community edition - Qt 5.15.2 - Debug build type "interested in debugging the source" - Git master branch, no specific tags or commits I could successfully build and install OCCT
I downloaded and installed 7.9.0 from here - at first the non-debug versions, which turned to be a mistake. Download the ones with the debug files, preferably the one with the 3rd party apps bundled (though I have no idea yet what they will be used for), the directory structure will then just be fin
Hi I am very new to this environment so excuse my simple questions please. I tried to get OCCT going with QT Creator but failed dismally. I am not sure that QT is the way to go for a beginner. So my question is really simple. Should I use VS 2022 or must I stick wit QT. What is the best choice for a
Hello. I have downloaded and installed openCascade 7.7, the pre compiled release for windows. I did the full installation. Now I'm trying to use it in a Qt creator project so I started a new Qt App project and configured the CMakeList.txt like this: cmake_minimum_required(VERSION 3.16) project(killo
Hello I need to update OCCT in our application from 7.7.0 to 7.9.0. I do not see 32-bit packages at https://dev.opencascade.org/release . Neither I see 32-bit third-party packages. Is 32 bits still supported? Thanks
I would like to get access to the Android App with free option. My device is not supported, says Google Play Store. Tried Downloads of this version: v.1.5.0, 2020-12-28, and on the Google Play Link. This works, if i install anyway and proceed without safety of data: cad_assistant_1.6.0_2021-10-05_ar
If #include<V3d_Viewer.hxx>, an error will occur OpenCASCADE79\OCCT-7_9_0\src\V3d\V3d_Light.hxx(26,9): error C4996: 'Handle_Graphic3d_CLight': This class will be removed right after 7.9 release. Use Handle(T) directly instead.
My application is not finding the OpenCascade DLLs , even though they are in the path. I have built my own simple application OCSimple.exe, that uses OpenCascade, version 7.0.0. It's going pretty well. I'm on Windows 10, developing using Visual Studio 2015. I have to work in 32bit, as a customer req
Hi I am having issues linking a vey simple program in VS2022 due to .res files that are duplicated in libraries. The linker gives an error LNK1241 /********** resource file 'resource file' already specified This error is generated if you run cvtres manually from the command line and if you then pass
Hi I am trying to compile a basic program in VS2022 but when it comes to linking I get an error that it cannot read or find the TKStep.lib. I cannot locate it anywhere either. How do I go about getting it compiled?
Hi gentlemen, I built OCC 7.9.0 from source (Windows 10 and VS-2022) and I had the following issues: 1) When USE_FREETYPE is checked in CMake, the build INSTALL from visual studio add the freetype.dll to the INSTALL\win64\VC14\bin and INSTALL\win64\VC14\bind directories but it does not add the freet
Hello, I compiled OCCT 7.6.0 with VTK support (VTK 9.1.0) and also using Qt6 as well. After I compiled only in debug I'm getting error from VTK side; Same problem (asked by different person) : https://stackoverflow.com/questions/68607976/vtk-is-giving-the-error-vec... Based on that link I followed c
Hello everyone, I'm new to OCCT and I'm currently taking a look at the different samples. I've downloaded the latest 7.9 sources (which I can build without any problem). Since I want to evaluate the integration into an MFC application, I wanted to configure the source build using cmake gui and ticke
Hello all, i get the following error now: Error: glTF writer is unavailable - OCCT has been built without RapidJSON support [HAVE_RAPIDJSON undefined] version: OCCT-7_9_0_beta2 (beta1 also) modified CMakeLists.txt: # whether use optional 3rdparty or not set (USE_TK ON CACHE BOOL "${USE_TK_DESCR}") s
Hi, I updated to the latest commit (3d6c211) in master branch, and encountered a new problem compiling the OCCT solution. I was able to compile before with the same settings in Windows with Visual Studio 2022: BUILD_CPP_STANDARD C++20 BUILD_USE_PCH Yes BUILD_MODULE_ApplicationFramework Yes BUILD_MOD
I received about 20 errors when build OCCT. Any help correcting this will be appreciated. [ 46%] Linking CXX shared library ..\..\lin64\clang\libi\libTKV3d.so [ 47%] Built target TKV3d [ 47%] Building CXX object src/TKOpenGles/CMakeFiles/TKOpenGles.dir/__/OpenGl/OpenGl_GlFunctions.cxx.o C:\OCCT\OCCT
[ 38%] Building CXX object src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o /home/Author/dev/libs/opencascade-7.7.0/src/StdPrs/StdPrs_BRepFont.cxx: In member function ‘Standard_Boolean StdPrs_BRepFont::renderGlyph(Standard_Utf32Char, TopoDS_Shape&)’: /home/Author/dev/libs/opencascade-7
Hello, I'm trying to build for android. But I run into this issue CMake Error at CMakeLists.txt:923 (message): Could not find libraries of used third-party products: 3RDPARTY_FREETYPE_LIBRARY_DIR I believe I'm on the latest version of 7.8. I disabled BUILD_MODULE_Draw, and downloaded the android 3rd
When building from the 7.8.1 tag with Draco compression, I didn't encounter any problems. But after moving to the latest OCCT in master branch and building, I'm getting several errors like this one: 47>draco.lib(float_points_tree_decoder.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary':
Hi, I've been trying to get the C# sample to work. First, in a x64 solution, I got the C++ project to compile (C++ 20, added all the source code to an import folder, and the .lib to another) via Visual Studio 22. Then, when I try to use the WinForms sample, as I click New a System.BadImageFormatExce
Hello, I just did an update from 7.7 to 7.8.1with pacman -S mingw-w64-x86_64-opencascade ( https://packages.msys2.org/packages/mingw-w64-x86_64-opencascade?repo=mi... ) and now some libraries are missing: #LIBS += -lTKSTEP #LIBS += -lTKSTL #LIBS += -lTKIGES #LIBS += -lTKXDEIGES #LIBS += -lTKSTEP #LI
I'm sorry I don't really know where to post this but the search function for the documentation seems to be missing/broken. I'm using OCCT 7.7.x and when I try to search something in the reference manual I always get 0 results even for things I know for certain should pull up hits like "gp_Pnt". For
Building OCCT from source. Branch: V7_8_1 Qt: 5.15.8 This is my output of ccmake Info: Used native memory manager CMake Error at adm/cmake/occt_toolkit.cmake:35 (include_directories): include_directories given empty-string as include directory. Call Stack (most recent call first): CMakeLists.txt:34
Hi, I'm trying to build OCCT 7.8.0 statically (via spack) and am running into errors. Here is some system information: linux-centos7-zen2 gcc/9.3.0 cmake/3.23.1 I edited the spack package configuration for opencascade (spack/var/spack/repos/builtin/packages/opencascade/package.py) by adding this: ar
We ran into a compiler error due to a conflict with Open CASCADE headers and another 3rd party component's headers. Specifically the following code in Standard_Macro.hxx caused issues in the other library until I commented these lines out. Can this be moved out of a Standard header in a future relea
Hello, After trying by several days I just can't understand why my compilation is not working on Debian 12 but it works on Archlinux. If you can help me it will be really appreciated !! Here is a minimal example of what I' m trying to compile: #include <iostream> #include <IFSelect_ReturnStatus.hxx>
When building the sample OCCTProxy in VS2012,I get the error:LNK118 Can not open input file TKIGES.lib. Where is the file TKIGES.lib? Open CASCADE Technology 7.8.0 OCCTProxy Property->Configuration Properties->Linker->Input->Additional Dependencies is the files in 'occt-vc143-64\occt-vc143-64\win64\
I downloaded lastest version of cmake and Opencascade. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the projec
I am trying to build OCCT version 7.7.1 from this link https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=ffce0d66bbaafe3a95984d0e61804c201b9995d2;sf=zip which was given in a comment from this page https://dev.opencascade.org/content/open-cascade-technology-771-maintenance-release#comme
I'm trying to build OpenCASCADE with debug symbols on MacOS so that I can understand backtraces produced in LLDB. I've successfully built and installed OpenCASCADE with CMake. I'm building with the system toolchain: Apple Clang 14.0.3. Before building, I set the BUILD_WITH_DEBUG CMake cache variable
On my laptop with arch linux OS, I want to use vtk in OCCT 7.8.0, so i download vtk with the lateset release vtk 9.3.1 and compiled it, installed the files and the libs in my specific directory. In the installed lib directory, I get the vtk lib files with the suffix '-9.3.so' in the lib name, such a
My goal is integrating OCCT to Unreal Engine. Workflow will go like this. After getting vertices values, we can generate UStaticMesh with mesh descriptions or we can just create dynamic meshes. So, we can bypass opengl or any other visualization libraries. As I understand, these are the libraries to
Hi, thanks for the great work on OpenCASCADE! I'm trying to package a minimal "step-to-glb" converter for Python, and I can't get it to stop linking libGL.so.1 . I could install apt install --no-install-recommends libgl1-mesa-glx and make it work but it seems like the library shouldn't require openg
Hello Guys, When I try to configure cmake, I always got this error: CMake Error at CMakeLists.txt:885 (message): Could not find libraries of used third-party products: 3RDPARTY_TBB_LIBRARY_DIR 3RDPARTY_TBBMALLOC_LIBRARY_DIR I definitely define directories to libraries: 3RDPARTY_TBBMALLOC_LIBRARY /us
I don't know what it is about Open Cascade but I spend about 90% of my development time trying to build and link this library properly. I would put forth the effort to write new docs myself...if I could even get a consistent build process. It is the #1 reason I am looking at Parasolid and Spatial ab
My components are: Opencascade 7.8.0; cmake 3.27.4; visual stdio 2022; win11; 3rdparty components are freeimage-3.17.0-vc14-64, freetype-2.5.5-vc14-64 and tcltk-86-32; qt version is 5.15.2; My cmake successed. but when I use vs to buid the projects, all of them succeed except TKDraw; More informatio
Hello, I have a working OCCT installation, and I would like to make the build as small as possible to reduce compilation time. Currently, I have two modules disabled ( -DBUILD_MODULE_Draw=FALSE , -DBUILD_MODULE_DETools=FALSE ) because I lack requirements and don't need their functionality anyway. My
Two different projects give the same following error when building against OpenCASCADE. I'm looking for information on what this means and how to fix it. libTKernel.so.x is located in /usr/lib64. Any help would be appreciated. Thanks. CMake Error at /usr/lib64/cmake/OpenCascade/OpenCASCADEFoundation
Hello guys, I want to install open cascade with draco using cmake on ubantu, Could anyone please guide me on it? How to install draco and how to enable it during installation of open cascade?
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
Hi, There is a compilation error related to the Cocoa API when compiling TKService with GCC. In particular, when compiling the file Cocoa/Cocoa_LocalPool.mm . The build instruction is cd /PATH_TO_OCCT/out/build/src/TKService && /opt/homebrew/bin/aarch64-apple-darwin23-g++-14 -DHAVE_FREETYPE -DHAVE_O
Hello guys, my build fails when activating precompiled headers and the DataExchange and DETools modules with errors. For DETools, the output says nothing CMake Error at /Users/.../Dev/OCCT/adm/cmake/cotire.cmake:1995 (message): cotire: error 1 precompiling /Users/.../Dev/cmake_testing/build/_deps/op
Hi, we're writing a module that uses OpenCascade 7.2 in a dynamic loaded DLL. This module simply reads a STEP or IGES using STEPCAFControl_Reader and IGESCADControl_Reader. All works but unloading DLL I have an Unhandled exception (Access violation) in TKXSBase.dll!StepData_GlobalNodeOfWriterLib::~S
Hello Guys, I could build and run the qt's FuncDemo, but when I tried to run other samples it showed this error: Tutorial : run.sh: line 39: 10710 Segmentation fault (core dumped) ${BIN_DIR}/Tutorial IESample : run.sh: line 37: 7338 Segmentation fault (core dumped) ${BIN_DIR}/IESample In IESample ca
Cross-compilation toolchain for CMake provided by OCCT released 10 years ago,Have any updated versions? https://github.com/taka-no-me/android-cmake Thanks. With respects
Hello Guys, When I tried to read the step with c++, I found my lib didn't have libTKSTEP libTKSTEPAttr libTKSTEPBase libTKSTEP209... What could be a problem? (Linux/Ubuntu22.04) (OCCT_7.8.0) (tk/tcl version 8.6+) Thanks. With respects, Dunja.
Hello Guys, I try to build the sample in OCCT-7_8_0/samples/qt/Tutorial, but there is error I can't solve. CMake Error at CMakeLists.txt:3 (OCCT_INCLUDE_CMAKE_FILE): Unknown CMake command "OCCT_INCLUDE_CMAKE_FILE". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present.