trouble with C API example program
Posted: Sun Feb 06, 2022 4:42 pm
Hello everybody,
I am trying to get the C api running as described in this link: https://redpitaya.readthedocs.io/en/lat ... /comC.html
Trying to compile the digital_led_blink Example using the
commands returns following error message:
I am trying to get the C api running as described in this link: https://redpitaya.readthedocs.io/en/lat ... /comC.html
Trying to compile the digital_led_blink Example using the
Code: Select all
cd Examples/C
Code: Select all
make digital_led_blink
I have managed to build and load the correct fpga image into the xdevcfg directory beforehand. I tried making the api as described in the following link, however this did not fix the issue either. Thank you for your help!cc -g -std=gnu11 -Wall -Werror -I/opt/redpitaya/include -L/opt/redpitaya/lib digital_led_blink.c -lpthread -lrp -lm -o digital_led_blink
digital_led_blink.c:4:16: fatal error: rp.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'digital_led_blink' failed
make: *** [digital_led_blink] Error 1