我正在尝试使用NDK r10为android编译FFTW。使用这里的说明:
但是,当我运行./配置时,它会因为错误而失败:目前还没有安装arm-gcc程序。
我验证我的路径包括所需的条目-当然,文件arm-linux-androideabi-gcc存在于bin文件夹中。
你能帮帮我吗
#!/bin/sh
# FourierTest/build.sh
# Compiles fftw3 for Android
# Make sure you have NDK_ROOT defined in .bashrc or .bash_profile
INSTALL_DIR="`pwd`/jni/a
我的cmake交叉编译器项目有问题。
我的交叉编译器找不到使用过的库。我用这个教程设置了我的交叉编译器。
现在我需要库,它们安装在我的RaspberryPi上。我已经在/opt/ /usr /rasp中将我的/lib和rasp目录从Pi同步到我的计算机。这是我的工具链文件:
# this one is important
SET(CMAKE_SYSTEM_NAME Linux)
#this one not so much
SET(CMAKE_SYSTEM_VERSION 1)
# specify the cross compiler
SET(CMAKE_C_COMPILER
/opt/cro
我试图在基于ARM-linux的系统上编译OPENCV。为此,我创建了一个带有以下选项的工具链cmake文件
SET (CMAKE_SYSTEM_NAME Linux)
SET (CMAKE_SYSTEM_VERSION 1)
SET (CMAKE_SYSTEM_PROCESSOR arm)
SET (CMAKE_C_COMPILER "/usr/local/arm/4.3.1-eabi-armv6/usr/bin/arm-linux-gcc")
SET (CMAKE_CXX_COMPILER "/usr/local/arm/4.3.1-eabi-armv6/usr/
我正在尝试为android构建鱿鱼-3.5.24。我正在使用android-ndk-r10e进行构建。这是我的环境。基于此:
#!/bin/sh
# I put all my dev stuff in here
export DEV_PREFIX=$HOME/Documents
# Don't forget to adjust this to your NDK path
export ANDROID_NDK=$HOME/Android/android-ndk-r10e
export CROSS_COMPILE=arm-linux-androideabi
# I chose th