Cython compilation fails silently whenever I put an import to a c++ library
%% cython -a --verbose
from libcpp.string cimport string
The compilation runs, but no annotations are shown and if you define a function the next cell doesn't find it.
The output:
[1/1] Cythonizing /Users/jorenvs/.ipython/cython/_cython_magic_88bf31fdc881aa1e28333abb92cb8079.pyx
building '_cython_magic_88bf31fdc881aa1e28333abb92cb8079' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c /Users/jorenvs/.ipython/cython/_cython_magic_88bf31fdc881aa1e28333abb92cb8079.c -o /Users/jorenvs/.ipython/cython/Users/jorenvs/.ipython/cython/_cython_magic_88bf31fdc881aa1e28333abb92cb8079.o