Code::Blocks

User forums => Embedded development => Topic started by: cacb on March 01, 2020, 04:46:03 pm

Title: Cross-compiling with Code::Blocks for Raspberry PI
Post by: cacb on March 01, 2020, 04:46:03 pm
For a long time I have been intending to try cross-compiling for Raspberry PI from Code::Blocks, and finally I gave it a go.  It consist of a short write-up and a few bash scripts. It requires Ubuntu or Kubuntu on the PC, see:

https://github.com/arnholm/cross-pi

It successfully cross-compiles wxWidgets GUI applications that run under Raspberry PI. I recommend using a dedicated virtual machine for this, in order to not conflict with other developer configurations.

Maybe this is of interest to some here.
Title: Re: Cross-compiling with Code::Blocks for Raspberry PI
Post by: MortenMacFly on March 30, 2020, 11:24:25 am
https://github.com/arnholm/cross-pi
That is nice and useful, at least for me! Thank you for sharing!
Title: Re: Cross-compiling with Code::Blocks for Raspberry PI
Post by: cacb on March 30, 2020, 03:12:39 pm
That is nice and useful, at least for me! Thank you for sharing!
Thanks for the feedback! I have used it for a couple of smaller projects and it seems to work fine.
Title: Re: Cross-compiling with Code::Blocks for Raspberry PI
Post by: BlueHazzard on March 31, 2020, 02:44:14 pm
Can you post the link in the wiki?
I think here it will get lost in the noise.... Can you log in to the wiki?
Title: Re: Cross-compiling with Code::Blocks for Raspberry PI
Post by: cacb on March 31, 2020, 04:11:59 pm
Can you post the link in the wiki?
I think here it will get lost in the noise.... Can you log in to the wiki?
I was able to log in. I added a link under Off-site documentation (http://wiki.codeblocks.org/index.php/Off-site_documentation)