<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How Do You Get C onto a BeagleBone AI?</title><link>/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/how-do-you-get-c-onto-a-beaglebone-ai</link><description>Could anyone give me a quick pointer as to where to look for information on how to transfer a C programme to the BeagleBone AI and then compile it and run it? I have a C programme compiled in Microsoft that I wish to transfer to a BeagleBone AI....</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How Do You Get C onto a BeagleBone AI?</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/how-do-you-get-c-onto-a-beaglebone-ai</link><pubDate>Thu, 02 Apr 2020 03:03:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b03a1b0-ddbf-448c-b07a-8ae51f737c3f</guid><dc:creator>marisol</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;You can try ssh in. open up nano. copy your text and paste it into nano. You will need to rewrite your program a bit to compile under GCC. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-3b03a1b0-ddbf-448c-b07a-8ae51f737c3f/contentimage_5F00_1.png:16:16]&lt;/span&gt; Hope that helps!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8188&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How Do You Get C onto a BeagleBone AI?</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/how-do-you-get-c-onto-a-beaglebone-ai</link><pubDate>Fri, 06 Mar 2020 09:25:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b03a1b0-ddbf-448c-b07a-8ae51f737c3f</guid><dc:creator>cstanton</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:d25512d61e65470296ce2f82f47741ab:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; how did you get on with this?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8188&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How Do You Get C onto a BeagleBone AI?</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/how-do-you-get-c-onto-a-beaglebone-ai</link><pubDate>Wed, 13 Nov 2019 11:56:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b03a1b0-ddbf-448c-b07a-8ae51f737c3f</guid><dc:creator>Sean_Miller</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;BeagleBone uses a development system called Cloud9.&amp;nbsp; You access it after the BBAI boots up by typing &lt;/span&gt;http://youripaddress&lt;span&gt; in a Browser on your network.&amp;nbsp; The address could be a different depending how you connected to your BBAI.&amp;nbsp; If you connected using the BBAI adhoc connection, it is 192.168.8.1.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cloud9 seems a little clunky at first, but you soon see the benefits when you start doing things like familiar shortcuts and compiling.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To add a C program in the Cloud9 environment, here&amp;#39;s my approach:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Right Click on the BeagleBone/AI directory&lt;/li&gt;&lt;li&gt;Choose New File.&lt;/li&gt;&lt;li&gt;Rename that file to whatever you like:&amp;nbsp; forexample,&amp;nbsp;&amp;nbsp; helloworld.c&lt;/li&gt;&lt;li&gt;Double click on the file name.&lt;/li&gt;&lt;li&gt;You will have a very nice text editor open up in the main pane.&amp;nbsp; Paste your code here and hit CTRL s to save.&lt;/li&gt;&lt;li&gt;Click the green Run button on top.&amp;nbsp; It will fail due to the &amp;quot;runner needing set&amp;quot;.&lt;/li&gt;&lt;li&gt;In the bottom pane, set your runner to C or C++ (Beagle Makefile).&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/1405x900/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-3b03a1b0-ddbf-448c-b07a-8ae51f737c3f/2210.contentimage_5F00_206202.png:1200:900]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you need GPIO, PWM, or I2C, there will be more to set up.&amp;nbsp; This blog will get you there:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-blog-small" href="/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware"&gt;BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;See ya&amp;#39;,&lt;/p&gt;&lt;p&gt;Sean&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8188&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How Do You Get C onto a BeagleBone AI?</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/how-do-you-get-c-onto-a-beaglebone-ai</link><pubDate>Wed, 13 Nov 2019 09:53:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b03a1b0-ddbf-448c-b07a-8ae51f737c3f</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If you want to develop and compile on your PC and then run/debug on the BB(AI): &lt;a class="jive-link-blog-small" href="/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/beaglebone-build-and-debug-a-linux-c-program-with-code-composer-studio"&gt;BeagleBone: Build and Debug a Linux C++ Program with Code Composer Studio&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8188&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How Do You Get C onto a BeagleBone AI?</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/how-do-you-get-c-onto-a-beaglebone-ai</link><pubDate>Wed, 13 Nov 2019 09:17:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b03a1b0-ddbf-448c-b07a-8ae51f737c3f</guid><dc:creator>skywalker1211</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;copy source file and header to the and run gcc to compile it.&lt;/p&gt;&lt;p&gt;example: main.c and main.h&lt;/p&gt;&lt;p&gt;gcc main.c -o main&lt;/p&gt;&lt;p&gt;run by ./main&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8188&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>