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

TOPIC: cross compile for rpi

cross compile for rpi 2 years 2 weeks ago #11381

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi All,
this is not really a new issue but this will pop up some old related thread for everyone with latest proview version...

I just wanted to give a try to last V5.9 version on my rpi4 and still fighting with cross compile issue.

In the Directory volume my NodeConfig Operating System properties is set to Custom Build
I have below this NodeConfig a CustomBuild Object pointing to cross compile toolchain (installed as mentionned in the latest rpi guide on proview doc)
The Operating System of the CustomBuild object is set to Linux ON ARM (arm_linux for the platform)

In my Root Volume the volume properties is set to custom build as well

So I don't think I have forgotten something here but when I compile the PlcPgm or more I got the following:
/usr/local/pwrp/homeautomation/bld/x86_64_linux/exe/custom_build.sh: line 34: /usr/pwr59/os_linux/hw_arm/exp/exe/wb_gcg.sh no such file or directory

The fault is real as I dont have any other subdirectory in /usr/pwr59/os_linux/ except the hw_86_64

Should I get the hw_arm directory on my dev station (install issue ?) or is it simply a config issue in my cross compile definition in proview ?

/EDIT
I also noted that in the proview console I got a message:
Not a base directory: /usr/pwr59
if this can be related or root cause
\EDIT
Thanks for your help
Snarf
Last Edit: 2 years 2 weeks ago by Snarf77.
The administrator has disabled public write access.

cross compile for rpi 2 years 2 weeks ago #11382

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3175
  • Thank you received: 501
  • Karma: 133
Hi Snarf,

Have you installed the pwrrpi package ? The missing files should be installed by this package.

/Claes
The administrator has disabled public write access.

cross compile for rpi 2 years 2 weeks ago #11385

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Claes,
That's probably that.
I didn't notice this additionnal package (yet well described on the root of the download page...)
I'll download and test today
Thanks
Snarf
The administrator has disabled public write access.

cross compile for rpi 2 years 2 weeks ago #11386

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
All good ...
Solved with installing pwrrpi package
Thank you Claes
Snarf
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.889 seconds