mayo icon indicating copy to clipboard operation
mayo copied to clipboard

Building mayo in conda environment on macOS

Open andrsd opened this issue 1 year ago • 4 comments

If you are building mayo in conda environment on macOS, you can do so, but you will need to patch the build.

  1. opencascade can be obtained via conda-forge channel conda install occt
  2. You won't have libTKXSDRAW.dylib (most likely because they do not build it with conda)
  3. 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

conda-build.patch

andrsd avatar Mar 30 '23 19:03 andrsd