Skip to content

Heeks/heekscnc

Folders and files

NameName
Last commit message
Last commit date
Apr 24, 2014
May 26, 2016
Jun 26, 2014
Jun 14, 2020
Mar 6, 2014
Jan 3, 2020
May 9, 2017
Oct 14, 2021
Jun 14, 2020
Feb 28, 2009
Mar 11, 2014
Mar 10, 2016
Feb 26, 2014
Jun 20, 2011
Mar 28, 2017
Nov 21, 2011
Mar 13, 2014
Feb 1, 2009
Jan 3, 2020
Feb 15, 2014
Nov 21, 2011
Mar 13, 2014
Jan 16, 2011
Mar 3, 2014
Oct 6, 2014
Feb 13, 2014
Feb 7, 2014
Feb 7, 2014
Feb 13, 2014
Feb 7, 2014
Oct 1, 2010
Mar 20, 2014
Mar 20, 2014
Jul 14, 2009

Repository files navigation

HeeksCNC

This file describes how to build and install HeeksCNC under Unix systems.

Requirements

To build HeeksCNC, you need to install these requirements (with develoment files)

  • HeeksCAD
  • OpenCASCADE or OCE (OpenCASCADE Community Edition)
  • wxWidgets 2.8

Preparation

Create a build directory (e.g. build/ in sources root directory):

mkdir build
cd build

Configure build

If you want a default prefix (/usr/local) and a "Release" type, simply run:

cmake ..

If you want to change install prefix (e.g. /usr):

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

If you want to debug HeeksCNC and its install:

cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$PWD/install ..

Important note: HeeksCNC's prefix should be the same as HeeksCAD to work correctly

Build

After a successful CMake configuration, you can build using:

make

If you want more output (ie. to debug):

make VERBOSE=1

Install

Using default or system-wide prefix:

sudo make install

Please note that if you installed it in /usr/local, you may need to run:

sudo ldconfig

If you choose a user-writable prefix, superuser privileges are not needed:

make install

Run

HeeksCNC is used through HeeksCAD interface. HeeksCNC requires additional python modules at runtime:

  • python module built by libarea
  • python module built by opencamlib

One-liner snippets

Default:

mkdir build && cd build && cmake .. && make

Debug:

mkdir debug && cd debug && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$PWD/install .. && make && make install
LD_LIBRARY_PATH=install/lib install/bin/heekscad