I'm trying to compile proview for the Raspberry Pi and use not only the runtime plc functionality but also use the Raspberry Pi as an operator's station to display graphics etc. I get errors during compilation from missing X11/Xlib.h file. This is ofcource depending on the fact that the location of the X11 libs for the Raspberry Pi is not known.
So I guess I need to find out where the include paths are specified so i can include the paths where the X11 libs for the Raspberry pi are located.
I have installed the dev packs for X11 on the Raspberry pi and copied the files from the Raspberry Pi into the host where the crosscompiler runs. They are located in these locations:
/opt/rp/usr/bin
/opt/rp/usr/include
/opt/rp/usr/lib
/opt/rp/usr/share
/opt/rp/usr/includeX11/Xlib.h is there...
Here is the last messages from the "pwre build_all_modules" command
/home/martin/pwrsrc_git/xtt/lib/ge/src/.os_linux/.hw_arm
Compiling ../../ge.cpp
In file included from /home/martin/pwrsrc_git/rls_dbg/os_linux/hw_arm/xtt/inc/glow_growctx.h:46:0,
from /home/martin/pwrsrc_git/rls_dbg/os_linux/hw_arm/xtt/inc/glow_colpalctx.h:44,
from ../../ge.cpp:65:
/home/martin/pwrsrc_git/rls_dbg/os_linux/hw_arm/xtt/inc/glow_exportjbean.h:43:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [/home/martin/pwrsrc_git/rls_dbg/os_linux/hw_arm/bld/lib/ge/ge.o] Error 1
himBH
Just can't wait go get this working...