Page 1 of 1

Programming issue

Posted: Thu Sep 17, 2020 11:46 am
by Bernhard_G
Hello everyboy,

my reques goes to the professionals. I am using "Red Pitaya GNU/Linux OS & Ecosystem 0.94-536".
I tried ro make the "my firrt from" from the toturial:
https://redpitaya.readthedocs.io/en/lat ... stApp.html
Everthing works fine until I tried to do the compiling (3.2.1.2.4. Compiling application):
make INSTALL_DIR=/opt/redpitaya
After executing this command I got the following result:
"...
redpitaya> make INSTALL_DIR=/opt/redpitaya
make -C src
make[1]: Entering directory '/opt/redpitaya/www/apps/myFirstApp/src'
arm-linux-gnueabihf-g++ -c -Wall -fPIC -Os -s -std=c++11 -I/opt/redpitaya/include -I/opt/redpitaya/include/api2 -I/opt/redpitaya/include/apiApp -I/opt/redpitaya/rp_sdk -I/opt/redpitaya/rp_sdk/libjson main.cpp -o main.o
arm-linux-gnueabihf-g++ main.o -o ../controllerhf.so -shared -Wall -fPIC -Os -s -L/opt/redpitaya/lib -L/opt/redpitaya/rp_sdk -Wl,--whole-archive,--no-as-needed -lcryptopp -lrpapp -lrp -lrp_sdk -Wl,--no-whole-archive
/usr/bin/ld: cannot find -lcryptopp
/usr/bin/ld: cannot find -lrp_sdk

collect2: error: ld returned 1 exit status
Makefile:34: recipe for target 'make_c_app' failed
make[1]: *** [make_c_app] Error 1
make[1]: Leaving directory '/opt/redpitaya/www/apps/myFirstApp/src'
Makefile:24: recipe for target 'controllerhf.so' failed
make: *** [controllerhf.so] Error 2
..."
It seems the main problem is /usr/bin/ld: cannot find -lcryptopp & /usr/bin/ld: cannot find -lrp_sdk, which could not be found.

Does anybody has an idea how to handle this?

Best regards

Bernhard