Author Topic: Cross-compiling with Code::Blocks for Raspberry PI  (Read 3930 times)

Offline cacb

  • Regular
  • ***
  • Posts: 429
Cross-compiling with Code::Blocks for Raspberry PI
« 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: Cross-compiling with Code::Blocks for Raspberry PI
« Reply #1 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!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline cacb

  • Regular
  • ***
  • Posts: 429
Re: Cross-compiling with Code::Blocks for Raspberry PI
« Reply #2 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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2850
Re: Cross-compiling with Code::Blocks for Raspberry PI
« Reply #3 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?

Offline cacb

  • Regular
  • ***
  • Posts: 429
Re: Cross-compiling with Code::Blocks for Raspberry PI
« Reply #4 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