Author Archives: rtroe

Every 3D application will have user interaction to some degree.…

Read more

(this post was originally from a separate blog of mine…

Read more

The extent of any AI I’ve ever written is mashing…

Read more

Drifting through the endless river of posts coming out of…

Read more

After my first not-so-smooth encounter with OpenCascade Development and due…

Read more

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/

Screenshot from 2016-03-07 15-58-39

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.

Read more

30/57