Totoro97 / Vid2Curve

Thin structure reconstruction
GNU General Public License v3.0
195 stars 37 forks source link

Fix compilation errors on macOS #2

Open jpanetta opened 3 years ago

jpanetta commented 3 years ago

Some obsolete features (like malloc.h and memalign) and non-portable versions of SSE intrinsic calls prevented the code from building on macOS. This pull request fixes these problems while ensuring everything still works on Ubuntu 20.04.

Getting OpenMP to work on macOS is an additional stumbling block, but there are instructions for this several places on the web; I used the ones here: https://mac.r-project.org/openmp/.