graywolf icon indicating copy to clipboard operation
graywolf copied to clipboard

Compilation on OSX

Open sjalloq opened this issue 5 years ago • 2 comments

Hi there,

I'm trying to compile on OSX 10.14.4 and am running into a few issues. The first was solved by Tim from OpenCircuitDesign who noticed the check for OSX in include/yalecad/base.h should be APPLE or MACH on line 164.

Having fixed this I'm still getting errors when building, log attached.

Shareef.

build.log

sjalloq avatar May 05 '19 09:05 sjalloq

After posting this I saw that a fork, yageek/graywolf, has already solved most of the issue but not all the patches applied correctly so there was a bit of manual hackery. I'm still getting the following build errors, one of which seems to be CMake failing to find the correct libgsl. There are more type mismatches.

build.log

sjalloq avatar May 05 '19 15:05 sjalloq

so just use brew 'brew install gsl' will solve this issue, also run cmake as 'cmake -Wno-dev ..'

lvcargnini avatar Aug 02 '19 00:08 lvcargnini