OCC Tutorial 02 – Embedding OpenCascade into wxWidgets
Now that we have our system configure, the test beds…
OpenCascade Tutorial Series
After my first not-so-smooth encounter with OpenCascade Development and due…
OCC Tutorial 01 -Setting up OpenCascade in Linux
Installing
Before getting started in OpenCascade, you need to install the libraries. Windows have binaries provided, but for Linux, you need to compile from source.
I wrestled for a while with the official source from the OpenCascade site, with very little success when it came to having it run C++ code. But the Community edition worked very easily.
First off, Head over too the GitHub page and download the latest release. As of writing this, the most up to date version is 0.17.1.
I can reiterate what they’ve said, but it’s likely best to read the BUILD.Unix.md file in the source root directory to get a full list of install instructions.
Testing the Install
From there you can can go into the $INSTALL_DIR/bin/directory and run DRAWEXE too see the test harness.
You can find *.tcl files to run tests under source (Source Location)/samples/tcl/
Setting Up OCC for Codelite
I use codelite to develop C++ apps, simply because it’s cross platform and easier to work with than CodeBlocks. That said, you should be able to run this on any IDE.