Beagleboard X15 Microsoft Visual Studio GUI example project

54 views
Skip to first unread message

Kevin Hudson

unread,
Jul 15, 2020, 9:31:40 PM7/15/20
to beagl...@googlegroups.com

I am working on a project that uses the Beagleboard X15 as the hardware platform.  My task is to write a GUI that runs on the X15 using Microsoft Visual Studio 2017.  Do you know of any example project code that is available anywhere that I can use to get started and as a reference?  Thank you for your help.

 

Kevin Hudson

Tarmo

unread,
Jul 16, 2020, 6:35:59 AM7/16/20
to BeagleBoard
Hi Kevin,


On Thursday, 16 July 2020 04:31:40 UTC+3, Kevin Hudson wrote:

I am working on a project that uses the Beagleboard X15 as the hardware platform.  My task is to write a GUI that runs on the X15 using Microsoft Visual Studio 2017.  Do you know of any example project code that is available anywhere that I can use to get started and as a reference?  Thank you for your help.


Note that from an application developer's perspective the wildly popular Raspberry Pi and the Beagles are mostly the same platform - a Debian GNU/Linux system on armhf architecture. You can use this to your advantage to google for something like "cross develop raspberry on windows" which will bring up quite a few more articles than searching for beagle-specific stuff.

Visual Studio is a great tool for developing against x86/Windows targets. If you're developing with VS against a ARM/Linux target using third-party GUI libraries, it's probably possible (according to some articles Google spit out) but setting up cross-development GUI libraries is going to be a bit of a pain, I suspect. You could also take a more traditional cross platform approach, which involves setting up a GNU gcc toolchain from linaro with your favourite editor/IDE and required GUI dependencies. Haven't done either, though, so can't offer solid advice.

An alternative with much less set-up effort - you can write, compile and run code of almost any language and GUI framework directly on the Beagleboard itself, especially if the project is small. Just install package 'build-essential' (assuming we're talking about a C/C++ application), the development packages for your chosen GUI framework (e.g. 'qtbase5-dev' for QT) and your favourite Linux editor/IDE. 

--
Kind regards,
Tarmo

jonnymo

unread,
Jul 16, 2020, 1:10:48 PM7/16/20
to Beagle Board
Actually, Visual Studio is a good platform for cross compiling especially with the newer versions of VS.  There is a built in Linux feature that lets you create Linux based projects and then you can just reference your ARM based toolchain in the VS config. I use this with the RasPi but it should be the same for the BB products. 

Here are a couple of links that might help, although they are for BBB.
 
Using VisualGDB although I am not sure if this is needed any more. 

You could toss in GTK or Qt or even OpenGL ES for graphics dev.

The other option is Qt Creator as Tarmo mentioned.

Eclipse is another good option.

Cheers,

Jon
 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/e41f096b-9eef-4ea2-a9a4-f65cc428e13do%40googlegroups.com.

Tarmo

unread,
Jul 17, 2020, 4:05:53 AM7/17/20
to BeagleBoard
On Thursday, 16 July 2020 20:10:48 UTC+3, jonnymo wrote:
Actually, Visual Studio is a good platform for cross compiling especially with the newer versions of VS.  There is a built in Linux feature that lets you create Linux based projects and then you can just reference your ARM based toolchain in the VS config. I use this with the RasPi but it should be the same for the BB products.  

Interesting. I guess it's a good time to be a cross-platform developer. 

--
Kind regards,
Tarmo

Mark Lazarewicz

unread,
Jul 17, 2020, 4:23:00 AM7/17/20
to beagl...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages