viewtouch
viewtouch copied to clipboard
RaspberryPi Image: a journey
I'd like to log my adventures using the Rapsberry Pi image http://viewtouch.com/RPi.debian9.img.bz2
- I've loaded the Image to a 32GB SDHC card (previously used Kodi) and put it into my RPi 3B
- RapsberryPi starts, xfce visible and up and running
- try to run viewtouch (using the button on the right side linked to
/usr/viewport/bin/runonce
) - ViewTouch interface stays black with the following message
unable to find jump target (-1,5) for ViewTouch Host Computer
- hmm, what to do next? Maybe update Viewtouch. Pushing
pull-build
button. Terminal starts and vanishes again - Manually starting ./pull-build in
/home/viewtouch/viewtouch
directory - Pb src directory not clean (build timestamp), removing the conflict using
git checkout build_number.h
and trying again - Getting error src directory does not exist".
~/src/viewtouch
directory is wrong. On the image it is just~/viewtouch
- After updating the
pull-build
scriptcmake
works the RPi hard, compiles and installs the updated viewtouch binaries - Restart to be safe. run
/usr/viewtouch/bin/runonce
again, just to get the same errorunable to find jump target (-1,5) for ViewTouch Host Computer
again
I hope this little story helps :)
If I can try anything else or I've forgotten to provide essential information please let me know
Try running it at 1920 x 1080. What resolution were you attempting? You had inadvertently replaced 'viewtouch' with 'viewport'; I corrected this. on your comment. Perhaps you can help us by resolving some of the warnings which GCC7 & GCC8 are reporting.
thx for the help, it was the resolution: I had 1200 x 720. Is the minimum resolution a technical limitation? Maybe a warning or error message would be nice if the resolution is not high enough
for the other points:
- maybe the file
build_number.h
should be removed from the repository as it is generated byscripts/BuildNumber.cmake
- maybe move the source folder to
~/src/viewport
or update thepull-build
script
ViewTouch supports many resolutions but 1200 x 720 is not one of them. 1920 x 1080 is simply the current default resolution. It is OK with me if anyone wants to provide a better handling of the situation that you encountered. Your suggestion for build_number.h is a good one, as is your second suggestion, as long as the documentation is modified accordingly. I myself am not a coder so there are limits to what I myself can do. The nature of point of sale software is that the requirements of the GUI are unique and rigorous. The GUI is never complete until it has been completed according to each customer's needs. Most of the ViewTouch code is between 15 and 25 years old; ViewTouch doesn't feature the latest & greatest developments in the field of software development. The fonts are bit-mapped, not scalable outline fonts, for example.
I'm not a GUI developer, but I like to develop with C++ and CMake. I'll see what I can do :)