News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Cross-compiling with Code::Blocks for Raspberry PI

Started by cacb, March 01, 2020, 04:46:03 PM

Previous topic - Next topic

cacb

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.

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

cacb

Quote from: MortenMacFly on March 30, 2020, 11:24:25 AM
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.

BlueHazzard

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?

cacb

Quote from: 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?
I was able to log in. I added a link under Off-site documentation