Welcome, Guest
Username: Password: Remember me

TOPIC: compile for Raspberry Pi

Re: compile for Raspberry Pi 11 years 8 months ago #4128

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Thanks again Claes!
You were right as usual :)
and now I have a missing rt_elog.h
Compiling ../../xtt_evlist.cpp
../../xtt_evlist.cpp: In member function 'void EvList::block_remove()':
../../xtt_evlist.cpp:788:16: warning: variable 'sts' set but not used [-Wunused-but-set-variable]
Compiling ../../xtt_fast.cpp
Compiling ../../xtt_ge.cpp
../../xtt_hist.cpp:62:21: fatal error: rt_elog.h: No such file or directory
compilation terminated.
Compiling ../../xtt_hist.cpp
../../xtt_hist.cpp:62:21: fatal error: rt_elog.h: No such file or directory
compilation terminated.
make: *** [/home/martin/pwrsrc_git/rls_dbg/os_linux/hw_arm/bld/lib/xtt/xtt_hist.o] Error 1
himBH
The administrator has disabled public write access.

Re: compile for Raspberry Pi 11 years 8 months ago #4129

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

You can copy rt_elog.h from $pwr_inc in the host release, to $pwr_inc in the ARM release.

/Claes
The administrator has disabled public write access.

Re: compile for Raspberry Pi 11 years 8 months ago #4130

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Thanks Claes.
This took me closer to the goal but still some more problems. There was a db.h file that I also copied the same way and that worked.
But now there is a gdk/gdk.h file missing. It doesn't matter if I copy it into the $pwr_inc I still get the same problem... :(
Building archive libpwr_xtt.a

/home/martin/pwrsrc_git/xtt/lib/cow/gtk/.os_linux/.hw_arm
Compiling ../../cow_log_gtk.cpp
In file included from ../../cow_wow_gtk.h:44:0,
                 from ../../cow_log_gtk.h:43,
                 from ../../cow_log_gtk.cpp:45:
../../gtk/gtk.h:32:21: fatal error: gdk/gdk.h: No such file or directory
compilation terminated.
make: *** [/home/martin/pwrsrc_git/rls_dbg/os_linux/hw_arm/bld/lib/cow/cow_log_gtk.o] Error 1
himBH

Sorry for being a PITA...
The administrator has disabled public write access.

Re: compile for Raspberry Pi 11 years 8 months ago #4131

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

I think you have to study src/tools/pwre/src/os_linux/pwre_configure.sh where you can set up search paths to include-files and archives for different utilities. When you execute the command

pwre configure

the file $pwrb_root/pwre... is created containing variables used by the makefiles.

Note that pkg-config is used for finding the gtk include directories and archives, so you have to check that this command works, or replace it with a bunch of directories and archives.

/Claes
The administrator has disabled public write access.

Re: compile for Raspberry Pi 11 years 8 months ago #4144

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Thanks Claes
Exactly what I wanted...
The administrator has disabled public write access.

Re: compile for Raspberry Pi 11 years 7 months ago #4245

  • tob77
  • tob77's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Hi Martin,

Did you ever get the operator station compiled for the Raspberry Pi? If so, could you share the changes that you made to the pwre_configure.sh file and any other changes that you had to implement in order to make it compile? I would greatly appreciate any help that you can provide. Thanks.
The administrator has disabled public write access.
Time to create page: 7.592 seconds