黑苹果驱动,源码级别的编译打包,VoodooI2C是出问题最多的。下面我带大家解决它们.
首先如果你只是下载了这个:
git clone https://github.com/alexandred/VoodooI2C
它一定是不行的。缺少许多必要的依赖。补救办法是下载后,cd VoodooI2C 然后运行下述代码:
git submodule init
git submodule update
它会把需要的几个子模块,下载过来。大概相当于运行下述代码:
cd VoodooI2C/VoodooI2C\ Satellites
git clone https://github.com/coolstar/VoodooGPIO.git
git clone https://github.com/kprinssu/VoodooI2CELAN.git
git clone https://github.com/prizraksarvar/VoodooI2CFTE.git
git clone https://github.com/alexandred/VoodooI2CHID.git
git clone https://github.com/alexandred/VoodooI2CSynaptics.git
git clone https://github.com/blankmac/VoodooI2CUPDDEngine.git
或者你一开始就运行下述命令,全部搞定:
git clone --recursive https://github.com/alexandred/VoodooI2C
xcode打包问题1:
cpplint: command not found
解决: