|
GTISDK的Sample编译失败
发表于 2019-1-23 17:10:49
浏览:3351
|
回复:3
打印
只看该作者
[复制链接]
楼主
按照官网步骤进行,在使用make -C Samples/Sample 出现以下错误,请问一下是什么原因造成的?
make: Entering directory '/home/firefly/GTISDK/Samples/Sample'
g++ -Wall -O3 -fPIC -std=gnu++11 -DLINUX -DUSE_EMMC -L/home/firefly/GTISDK/Samples/Sample/../../Lib/Linux/aarch64 -L/home/firefly/GTISDK/Samples/Sample/../../Lib/Linux/aarch64 -L/home/firefly/GTISDK/Samples/Sample/../../Lib/Linux/OpenCV/aarch64 liteSample.o Classify.o -o liteSample -ldl -lpthread -lGTILibrary-static -Wl,-rpath=/home/firefly/GTISDK/Samples/Sample/../../Lib/Linux/aarch64 -l:libftd3xx-static.a.0.5.21 -Wl,-rpath=/home/firefly/GTISDK/Samples/Sample/../../Lib/Linux/aarch64
/usr/bin/ld:/home/firefly/GTISDK/Samples/Sample/../../Lib/Linux/aarch64/libGTILibrary-static.a: file format not recognized; treating as linker script
/usr/bin/ld:/home/firefly/GTISDK/Samples/Sample/../../Lib/Linux/aarch64/libGTILibrary-static.a:2: syntax error
collect2: error: ld returned 1 exit status
GNUmakefile:100: recipe for target 'liteSample' failed
make: *** [liteSample] Error 1
make: Leaving directory '/home/firefly/GTISDK/Samples/Sample' |
|