我正在尝试从here https://www.acmesystems.it/arm9_toolchain使用arm交叉编译器工具链为64位架构的ARM设备交叉编译c++代码。
我的编译命令是
arm-linux-gnueabihf-gcc examples/neon_cartoon_effect.cpp utils/Utils.cpp -I. -Iinclude -std=c++11 -mfpu=neon -L/home/deeptihegde/ComputeLibrary/build -larm_compute -o build/neon_cartoon_effect我得到以下错误
/home/deeptihegde/ComputeLibrary/build/libarm_compute.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status。这是一个编译器问题吗?我的链接有误吗?任何帮助都会很感谢,谢谢。
发布于 2019-02-13 18:51:13
我认为问题在于您试图将32位应用程序(Neon_cartoon_effect)与64位库(libarm_compute.so)相链接。
https://stackoverflow.com/questions/54090916
复制相似问题