How to write a C program through eclipse moon and upload it to the sd.
I have compiled the source file without any errors but when I load executable in opt/redpitaya/bin, there is an error :
"-bash: /opt/redpitaya/bin/Algoritmo1: No such file or directory"
why??
thanks
Program C
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Program C
Did you configure eclipse to use the linaro crosscompiler toolchain ?
One cause for the "No such file or directory" error is that the executable does not have a valid format, because it was not compiled for the target platform (ARM7 hard-float in case of the Red Pitaya).
One cause for the "No such file or directory" error is that the executable does not have a valid format, because it was not compiled for the target platform (ARM7 hard-float in case of the Red Pitaya).
-
- Posts: 2
- Joined: Wed Nov 05, 2014 7:57 pm
Re: Program C
Thanks for the reply.
I solved this problem by loading on the SD an old version of the SO (ecosystem 0.92) and , carrying the same executable in the same folder, the program works.
I solved this problem by loading on the SD an old version of the SO (ecosystem 0.92) and , carrying the same executable in the same folder, the program works.
-
- Posts: 2
- Joined: Thu Jan 03, 2019 4:29 pm
Re: Program C
Hello everyone,
I'm trying to run a C++ code on the RedPitaya. I've succesfully started an SSH connection and included the Header-Files. But now I am a little bit lost.
+ How do I compile my Code?
+ Is it necessary to transfer the file to the SD-Card?
+ Are there any changes I have to apply on my IDE (VisualStudio2017)?
It would be really helpful if someone could give me a step by step list on what I have to do in order to run my programm.
Thank you in advance
I'm trying to run a C++ code on the RedPitaya. I've succesfully started an SSH connection and included the Header-Files. But now I am a little bit lost.
+ How do I compile my Code?
+ Is it necessary to transfer the file to the SD-Card?
+ Are there any changes I have to apply on my IDE (VisualStudio2017)?
It would be really helpful if someone could give me a step by step list on what I have to do in order to run my programm.
Thank you in advance
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 87 guests