我正在使用Cython为我有的几个python模块生成编译.so文件。作为outlined in the Cython documentation,你可以按如下方式创建一个setup.py文件: from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules = cython
我已经建立了一个交叉编译器,我的树莓派,一个我发现这里:Installing Raspberry Pi Cross-Compiler 现在这已工作的罚款,直至地步,我想要使用I2c库(i2c-dev.h)。 当编译下面臂Linux的gnueabihf-G ++编译器的代码,我得到一个错误: In file included from src/I2c.cpp:8:0:
src/../Include