A C wrapper for Open Cascade
I am using this repository as part of another project of mine. I don't intent to write wrappers for the entire Open Cascade API. The project is open to pull requests for functionality others need.
- ccmake (for building)
- tcl, tcl-dev, tk, tk-dev
- opengl dev packages (libgl-dev, libegl-dev)
- freetype
- libfontconfig-dev
This is the recommended and fastest option Installing the data-exchange packages will install all of the dependent occt packages necessary
apt install libocct-data-exchange-7.6
apt install libocct-data-exchange-dev
- Download Open CASCADE
mkdir ~/src/occtcd ~/src/occtccmake [path_to_open_cascade_src]**configure**make** sit back and wait 🍺 **sudo make installmkdir ~/src/occwrapperBuildcd ~/src/occwrapperBuildcmake [path_to_occwrapper_src]makesudo make install
- checkout the codebase:
git clone [email protected]:marcuswu/occwrapper.git
- make a directory for the build:
mkdir occwrapperBuild && cd occwrapperBuild
- use cmake to configure the build
cmake ../occwrapper
- make and make install
Note: sudo may be necessary for make install
make && make install