Good afternoon, Currently,Encountered the following warning during compilation. How can I resolve it. Some additional information: -OpenCascade version 7.8.0 -CMake version3.22.1 -Cross-compilation toolchain for CMake: https://github.com/taka-no-me/android-cmake -Android NDK version R12b -MinGW vers
Hi, I read some documentation about building the W32 project. All of the modules are ok but only Draw can't build successfully. The reason is the TKDraw project has an LNK1107 error, here is the description: fatal error LNK1107: invalid or corrupt file: cannot read at 0x2B8, which file is tk86.dll(
Dear Development Team, I am currently trying to follow Lesson 3: "Compile OpenCascade with MFC samples," but I am encountering a CMake error when building with MFC. The error message is as follows: CMake Error at samples/mfc/standard/mfcsample/CMakeLists.txt:123 (add_library): Cannot find source fil
I downloaded https://dev.opencascade.org/system/files/occt/OCC_7.7.0_release/opencasc... to \Downloads\opencascade-7.7.0-vc14-64.exe I double clicked it to install at ...\OpenCASCADE-7.7.0-vc14-64 I read instructions at https://dev.opencascade.org/doc/occt-7.7.0/overview/html/index.html#intr... Envi
Steps to reproduce: 1. Install a version of Visual Studio (I used VS Community 2022). Install OpenCASCADE 7.6.0. 2. Create a C++ .NET CLR project using Visual Studio 2022 targeting .net6.0. 3. Change settings to include OpenCASCADE header and library files. 4. Edit the main header by replacing the c
Hi, I was trying to compile OCC 7.7.2 from the git repository with TBB option enabled. However, I noticed that the cmake file supports only the version 2021.5.0, while the newest version would be the 2021.11.0. Is it simply a matter of changing the version in the cmake file?
Hi there! I'm unable to build OCCT in my Docker container, which uses Debian bookworm release. This is how I build it: WORKDIR "/dependencies" RUN git clone https://github.com/Open-Cascade-SAS/OCCT.git WORKDIR "/dependencies/OCCT" RUN mkdir occt-build RUN mkdir occt-install WORKDIR "/dependencies/OC
The following error occurs while compiling through emscripten. Can you tell me why? 1>wasm-ld : error : unable to find library -lTKBin.lib 1>wasm-ld : error : unable to find library -lTKBinL.lib 1>wasm-ld : error : unable to find library -lTKBinTObj.lib 1>wasm-ld : error : unable to find library -lT
I am trying to build the OCCT from source code on my headless Linux machine with the existing VTK package. I am using the OCCT version 7.7.0 and VTK version 9.3.0 I have built the VTK to support the offscreen/software rendering on Linux headless machine. I have used below configuration to build the
I have written a console program to read the Step file and Write a GLB file using OpenCASCADE. This program is working fine on headless Ubuntu machine. Now I want to generate the image ( png, jpg ) of the loaded Step model through the same program. I found that VTK with the OSMESA libraries can be u
I think I need some help. I'm still a student, but I'm a self-taught programmer. I hope to build a dynamic link library suitable for arm architecture for application development on Huawei HarmonyOS system. I tried to get 61 files using (cmake && make) but I found I couldn't use them properly, maybe
I have been trying all day to build the official C# wrapper from OpenCascade. The documentation hasn't been touched in what looks like 10 years and I cannot get the build to work. Attached is my build log.
First try to build the MSVC of OCCT for v142 it fails at TKservice with a missing lib 1>Target Link: 1> LINK : fatal error LNK1181: cannot open input file 'FreeImage.lib' 1>Done building target "Link" in project "TKService.vcxproj" -- FAILED. 1> 1>Done building project "TKService.vcxproj" -- FAILED.
I am building the library from source and followed installation instructions given on the official website. But I am getting this this error. Please help. Thanks in advance.
Hello, I have installed installed the 7.4 version of OCCT by cloning the repository and using cmake "make install". Now I want to upgrade to the current version. Is there an option to "make uninstall" the older version? Best Regards Author
When I try to build TKIVtk module on windows I got this error: LINK : fatal error LNK1104: cannot open file vtkRenderingOpenGL.lib My vtk installation directory has the module named vtkRenderingOpenGL2.lib and no way to change the module name with vtk cmake cache settings. If I change the module nam
Hello, guys! I cloned OCCT source code on Github and checked out tag 'V7_6_0'. Then I run make and make install successfully. However, when I run /usr/bin/draw.sh , something went wrong. Here is the output: Draw[1]> Draw[2]> pload ALL .so: cannot open shared object file: No such file or directoryot
I successfully build v7.6 on debian 11 and managed to extend system environment in qtcreator to run OCCTOverview.pro, but build fails with these linker-errors: /usr/bin/ld: warning: libTKCAF.so.7, needed by /usr/local/lib/libTKVCAF.so, may conflict with libTKCAF.so.11 /usr/bin/ld: Linux/objd/OcafSam
Hello, I'm trying to build the project for the sake of compiling KiCAD from sources. I think I followed the instructions well, and make was working for about an hour, and completed 42% of the build, but then ran into an issue. It looks like an error somewhere, an ld got a bunch of flags where it was
Hey guys, I am new to occt, and was learning the tutorial. I can not build the qt OCCTOverview sample, I have defined the custom.bat, set the environment.But i still get the error.
Hi May be someone can help with 3rd party components for OpenCascade 7.7.0 to be able build DLLs for 32 bit using vc14 ? Had not problem to build 7.4, 7.5, 7.6 versions. But problem on 7.7 with tbb for example. Used tbb44_20160526oss, that had folders ia32 for vc11, vc12, vc14 but now getting many e
OpenCascade 7.7.0 builds fine for me with ffmpeg-4.4.3, but compilation aborts when trying FFmpeg 6.0: [ 38% 2291/5992] /usr/bin/c++ -DHAVE_DRACO -DHAVE_FFMPEG -DHAVE_FREEIMAGE -DHAVE_FREETYPE -DHAVE_GLES2_EXT -DHAVE_OPENGL_EXT -DHAVE_RAPIDJSON -DHAVE_TK -DHAVE_VTK -DHAVE_XLIB -DOCC_CONVERT_SIGNALS
Dear Open CASCADE Community, Is backward compatibility provided in Open CASCADE version 7.7.0? I do the same things on 7.7.0 as I compiled 7.6.0 on Debian 10, however, my code that worked in the past is not working now. Sample errors can be seen below image: Archived image: occt 7 7 0 errors on linu
When compiling the latest OCC: commit 8748042259f22d72b3b076bc5433a54ca42734e4 (origin/master, origin/HEAD) Author: akaftasev <[email removed]> Date: Mon May 22 12:00:32 2023 +0100 against VTK V9.2.6,I got this error: In file included from /usr/include/GL/glx.h:30, from /home/alex/workspace/OCCT/src
Hi, I'm trying to build OCCT with Build_Inspector checked in order to be able to use it. I generated OCCT with CMake with QT 4.8.6 (the required one in the 3rd party components). Once I open the project and I try to build it, I receive several LINK errors, mostly on TKDFBrowser: Severity Code Descri
I am trying to build the latest version of OCCT using cmake (via cmake-gui ), I unticked the Visualization and Draw module as I don't want to build those) and only ticked the USE_RAPIDJSON variable in the USE group of cmake variables. For some reason my compilation STILL builds TKService and TKV3d w
Hello all, I have been trying to setup occt using a simple project in CLion IDE, while building the CMakeLists.txt file I keep running into an issue where the build was failing due to undefined definition errors, I have made sure that the libraries are properly linked and the include directories are
Hi, I want to compile an application ( LibrePCB ) which depends on OpenCascade. On macOS therefore I installed OpenCASCADE with Homebrew, which automatically installs the dependency tbb as well: brew install opencascade OpenCascade is then found by CMake when building LibrePCB. But then make fails b
hi,I start a new project with vs2017 as follows. #include<BRepPrimAPI_MakeBox.hxx> int main() { BRepPrimAPI_MakeBox box(1,2,3); const TopoDS_Shape & shap = box.Shape(); return 0; } The variables of box and shap can not be watched. And I can not go to define of BRepPrimAPI_MakeBox by press F11. watch
Hello Guys, When I try to configure cmake to build Shared OCCT binaries I get this error: CMake Error at CMakeLists.txt:763 (message): Could not find libraries of used third-party products: 3RDPARTY_TCL_LIBRARY_DIR 3RDPARTY_TK_LIBRARY_DIR I definitely define directories to libraries: 3RDPARTY_DIR /m
I have installed the OCCT 7.7.0 on my machine. During the installation of OCCT, Draco library (3rd Party Library) was not the part. But now I want to use the Draco library. Is there any way to re-configure the existing installation of the OCCT to support the Draco library and functionality. I am usi
I'm trying to access my data from my exported step file in opencascade.js. I used this example https://github.com/donalffons/opencascade.js-examples and updated the library.js like this to export a step-file: var writer = new openCascade.STEPControl_Writer_1(); var progressRange = new openCascade.Me
I have added the path, but it is still unrecognized ------------------------------------------ Info: /D_WINDOWS has been removed from CMAKE_C_FLAGS Info: /DWIN32 has been removed from CMAKE_C_FLAGS Info: TCL is used by OCCT Info: TK is used from TCL folder: E:\OpenCASCADE-7.7.0-vc14-64\tcltk-86-64 I
Hi, I'm trying to import stp files transform them and export them as stp again. I tried several ways updating the example Bottle file, using STEPControl_Writer, but didnt manage to get it working. Do you havean example saving stp using opencascade.js? thanks in regard
How can I build CADRays. I am sorry for my question but I didnt build any app before it. And I have another question. If I build CADRays successfuly, what it gives me? I mean to say my CADRays is v1.0.0 and if I will build CADRays with new OCCT is it better or not? And how can I do it. I dont know a
Hello, I've built from github branch 7.6 and installed in a separate directory so I can examine the headers and libraries. I've got a toy app I'm playing with, as my task it to build a Python wrapper for a converter from BREP to Voxels. I'm using C++ and CMake on Ubuntu 18.04 so no prebuilt packages
Hello all I get following error while trying to compile 7.7.0 with OpenVR [ 36%] Building CXX object src/TKService/CMakeFiles/TKService.dir/__/Aspect/Aspect_OpenVRSession.cxx.obj C:\opencascade-7.7.0\src\Aspect\Aspect_OpenVRSession.cxx:171:35: error: expected unqualified-id before ')' token 171 | As
Hello I installed OpenCASCADE 7.4.0 in windows using prebuilt installer, whenever I try to build a project uses OCCT I got thiss error: 'C:/occt-3rdparty/Windows-64-VC14/freeimage-3.17.0-vc14-64/lib/FreeImage.lib', needed by 'Example.exe', missing and no known rule to make it" but it is in located a
Hello, I am fairly new to OpenCASCADE and I am trying to understand the process of creating a simple 3D viewer web application, similar to the WebGL sample provided in the OCCT source. I've been reading a lot about building OCCT with Emscripten, but i can't get it to work properly (i also can't get
Hi Bros, I'm new in OCCT. I try to learn more skills in sample, how my Qt: OCCT Overview cannot show the sample code. I get an error:"ERROR: Cannot open file: \TopologySamples.cxx" where should I place the cxx file.
I'm trying to build OpenCASCADE 7.7.0 using adm/qmake/OCCT.pro, which is not shown in document and I have such complie problem: cd FoundationClasses\ && ( if not exist Makefile D:\QT\qt-5.15.2-x64\5.15.2\mingw81_64\bin\qmake.exe -o Makefile D:\OpenCASCADE-7.7.0-vc14-64\opencascade-7.7.0\adm\qmake\Fo
hello. I am trying to use the Opencascade Android project. However, at the Cmake stage CMake Error at CMakeLists.txt:875 (message): Could not find libraries of used third-party products: 3RDPARTY_FREETYPE_LIBRARY_DIR I am unable to resolve this error. The rest of the paths are found well, but only t
I have been using docker to build the webassembly draw tool. I recently merged the latest code looks like it's reporting an error. #36 1321.2 Scanning dependencies of target DRAWEXE #36 1321.3 [100%] Building CXX object src/DRAWEXE/CMakeFiles/DRAWEXE.dir/DRAWEXE.cxx.o #36 1321.3 em++: warning: linke
Some time ago, we received a report[1], that opencascade won't build against the `musl` libc implementation on Gentoo Linux. Because occt already supports various platforms with their respective libc implementations, I was wondering, if there will be support for lesser used libc implementations on l
Hello Team, we developed an application in VC++ using OCCT 7.3 libraries using MS VS 2019 but now we have upgraded .NET Framework to 6.0 where we observed that application developed using OCCT 7.3 libraries does not work can you please let us know what OCCT release do we need to use for supporting .
I'm trying to run the OpenCascade library on my phone. To do this, I decided to use html, js. It turned out to connect a mathematical library, but I do not know how to connect OpenCascade. All code : <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <script src= https://cdnjs.cloudflare.com/aja
Hi, I'm new to OpenCascade. I have downloaded OpenCascade 7.5.0 I am using Visual studio 2012 I have opened sample CSharp code in VS2012. While compiling project OCCTProxy, I am getting error : cannot open file TKernel.lib In my downloaded folder, there is no TKernel.lib file anywhere. How to get ov
When I compiled the code into WASM with multithreading,BRepAlgoAPI_BooleanOperation fail. The error like this: ------------------------------------------------------------------------- worker.js onmessage() captured an uncaught exception: RuntimeError: Aborted(segmentation fault) worker.js onmessage
Hi, there is some errors in the openscade-7.7.0.tgz packages. Microsoft Visual Studio projects have a list of files that do not exist. The first is "..\..\..\src\FSD\FSD_Base64Decoder.cxx". There issues is already present in your bug tracker ( https://tracker.dev.opencascade.org/view.php?id=31514 ).
In MFC application was used part of Opencascade code responsible for read/write IGES files. With OpenCASCADE6.7.1 everithing works fine. After migration to OpenCASCADE-7.6.0-vc14-64 it was not compiling errors or warnings. But application crashed randomly on Opencascade codes, even on very first one
Dear experts, I tried to install salome in my ubuntu 20.04 system. But when I used ./salome command, I got a message saying: Warning, no type found for resource "localhost", using default value "single_machine" double free or corruption (out) And for that although the salome page is opening, but it
I received a bug report[1] where building v7.6.2 fails when LTO is used. The issue is about the One Definition Rule of modern C++ standards: FAILED: lin64/gcc/libi/libTKXCAF.so.7.6.2 /var/tmp/portage/sci-libs/opencascade-7.6.2-r1/work/occt-V7_6_2/src/XCAFDoc/XCAFDoc_Datum.cxx:37:6: error: type ‘Chil
Currently the binaries are stripped during linking through some settings in adm/cmake/occt_defs_flags.cmake . This can lead to issues on distributions, where the package manager applications is supposed to strip binaries[1] or extract debugging information for later usage in case of debug builds. Wo