basicmi/AI-Chip

/usr/bin/ld: cannot find -lgomp-l:libstdc++.so.6 in orange pi 4B SPR2801S gyrfalcontech

MarioCavero opened this issue · 0 comments

I finally managed to fix the python-numpy and python-opencv problems. Following the guide in here, cd Apps/Demo

sudo make -j4
g++ -o demo -std=c++11 main.cpp -DLINUX -I ../../Include/ \
 \
-L ../../Lib/Linux/aarch64/ -lGTILibrary-static -l:libftd3xx.so -Wl,-rpath="/home/orangepi/Desktop/testing/GTISDK-Linux_aarch64_v4.5.1.0/Apps/Demo"/../../Lib/Linux/aarch64 -lgomp\
-l:libstdc++.so.6 -pthread -ldl
/usr/bin/ld: cannot find -lgomp-l:libstdc++.so.6
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:36: all] Error 1

It's not about installing lgomp or libstdc++6, as I already have them. But I am really not sure what is going on. I have been trying to do symbolic links to /usr/lib, but still unsuccesful.