martinling / imusim

IMUSim - see http://www.imusim.org/
GNU General Public License v3.0
125 stars 72 forks source link

Installing it on mac #7

Open chintamanil opened 7 years ago

chintamanil commented 7 years ago

Trying to install on Mac OSX Sierra with gcc c++11 After installing vtk cython -a imusim/maths/.pyx sudo python setup.py build (getting error here) `imusim/maths/quat_splines.c:1781:8: error: 'inline' can only appear on functions static CYTHON_INLINE void (__pyx_f_6imusim_5maths_11quaternions_mult_quat_quat)` can you provide a docker for this(imusim) instead?

Shmuma commented 5 years ago

Faced the same issue during my port creationg (https://github.com/martinling/imusim/pull/11). Solved by turning CYTHON_INLINE into empty declaration in the beginning of the file.