mayo
mayo copied to clipboard
Building mayo in conda environment on macOS
If you are building mayo in conda environment on macOS, you can do so, but you will need to patch the build.
- opencascade can be obtained via conda-forge channel
conda install occt
- You won't have
libTKXSDRAW.dylib
(most likely because they do not build it with conda) - You may have a conflicting libconv.dylib installed.
Patch the source with:
$ cd /path/to/mayo
$ git apply conda-build.patch
To build, use:
$ export CASCADE_BASE_DIR=$CONDA_PREFIX
$ qmake ../mayo CASCADE_INC_DIR=$CASCADE_BASE_DIR/include/opencascade CASCADE_LIB_DIR=$CASCADE_BASE_DIR/lib
$ make