[rsf-user] Error installing python wrapper on Mac OS X

1 view
Skip to first unread message

Francesco Perrone

unread,
Oct 30, 2022, 10:44:11 AM10/30/22
to rsf user
Hi everyone,

I am getting the following error that seems to stem from the MacOS SDK.
I am using the HPC gcc compiler from https://hpc.sourceforge.net/ (version 10.2)
Python v3.7 from the anaconda distribution.

Has anyone gotten the same problem before?

In file included from /Users/fperrone/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_interrupt.h:23,

                 from /Users/fperrone/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:5,

                 from build/api/python/m8r_wrap.c:3047:

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/signal.h: At top level:

/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/signal.h:79:18: error: expected ')' before 'bsd_signal'

   79 | void (* _Nullable bsd_signal(int, void (* _Nullable)(int)))(int);

      |                  ^~~~~~~~~~~

      |                  )

Reply all
Reply to author
Forward
0 new messages