Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Cross compiling project for RasberryPi

Cross compiling project for RasberryPi 5 years 4 months ago #10029

  • frans
  • frans's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 49
  • Karma: 0
Good afternoon,

I have some problems compiling a project for raspberry pi.
I installed Ubuntu18.04 with Proview 5.6.1.
Installed the 32 bit acrhives and headerfiles as mentioned in the man-rpi.
Only gcc­4.6­base:i386 was not available and changed to gcc­4.8:base:i386 and lib32bz2­1.0 is changed to libbz2­1.0

In proview i configured the compilers etc. as mentioned in man-rpi.

If I build the project for the local pc, everything compiles and runs ok.
when i compile it for the raspberry project i get compiler errors: see attached file.


Anyone, suggestions?

Kind regards,

Frans Sleddens
The administrator has disabled public write access.

Cross compiling project for RasberryPi 5 years 4 months ago #10030

  • frans
  • frans's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 49
  • Karma: 0
Sorry.
I forgot to add the file with screendumps


frans sleddens
The administrator has disabled public write access.

Cross compiling project for RasberryPi 5 years 4 months ago #10031

  • frans
  • frans's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 49
  • Karma: 0
It seems that word-files can't be uplaoded.
another try :)


Frans sleddens




ProviewCompilerErrorsA.png
The administrator has disabled public write access.

Cross compiling project for RasberryPi 5 years 4 months ago #10032

  • frans
  • frans's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 49
  • Karma: 0
The administrator has disabled public write access.

Cross compiling project for RasberryPi 5 years 4 months ago #10034

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi Frans,

Try the cross compiler in the Ubuntu release instead. man_rpi is updated with new instructions on how to install and setup the CustomBuild object with this compiler.
> sudo apt­get install gcc­-6-arm­-linux­-gnueabihf­-base
                            gcc­-6-arm­-linux­-gnueabihf
                            g++­-6-­arm-­linux­-gnueabihf

- cc= arm-linux-gnueabihf-gcc-6
- cxx= arm-linux-gnueabihf-g++-6
- ar= arm-linux-gnueabihf-ar

/Claes
The administrator has disabled public write access.

Cross compiling project for RasberryPi 5 years 4 months ago #10036

  • frans
  • frans's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 49
  • Karma: 0
Hi Claes,

Thank You for your quick response.
I used the older manual.

Kind regards, Frans
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.885 seconds