Could anyone give me a quick pointer as to where to look for information on how to transfer a C program to the BeagleBone AI and then compile it and run it?
I have a C program compiled in Microsoft that I wish to transfer to a BeagleBone AI. The C program implements an Artificial Neural Network and I want to use it with my LDR Camera
ssh in. open up nano. copy your text and paste it into nano.
I am sure you will be rewriting it a bit to compile under GCC
good luck
Could anyone give me a quick pointer as to where to look for information on
how to transfer a C program to the BeagleBone AI and then compile it and
run it?
I don't know about the BeagleBone AI, but for a BeagleBone Black or a
PocketBeagle, you would use the network connection to transfer the (source)
file via ssh. A BeagleBone Black has a RJ45 for a hard wired Ethernet. There
are also Wireless BeagleBones that can use WiFi. The BeagleBone Black and the
PocketBeagle can also function in "tethered" mode using the USB as a virtual
network.
I have a C program compiled in Microsoft that I wish to transfer to a
BeagleBone AI. The C program implements an Artificial Neural Network and I
want to use it with my LDR Camera
The Microsoft Visual C/C++ compiler compiles to x86 or x86_64 for the
MS-Windows O/S. That won't run on the BeagleBone. The Linux (Debian) O/S
includes GNU C and the GNU Binutils. You would copy the source code (.c, .h,
etc. files) to the Beagle and then use the native compiler (gcc) to compile
it.
I usually use WinSCP to transfer files between a Windows box and a something running Linux:
https://winscp.net/eng/index.php
However. you could setup either Visual Studio or Eclipse to cross compile to a BB target.
Cheers,
Jon
ssh in. open up nano. copy your text and paste it into nano.
If you can use slogin, you can also use scp.