viewtouch icon indicating copy to clipboard operation
viewtouch copied to clipboard

RaspberryPi Image: a journey

Open NeroBurner opened this issue 6 years ago • 4 comments

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 script cmake 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 error unable 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

NeroBurner avatar Jul 02 '18 13:07 NeroBurner

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.

GeneMosher avatar Jul 02 '18 13:07 GeneMosher

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 by scripts/BuildNumber.cmake
  • maybe move the source folder to ~/src/viewport or update the pull-build script

NeroBurner avatar Jul 02 '18 20:07 NeroBurner

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.

GeneMosher avatar Jul 02 '18 23:07 GeneMosher

I'm not a GUI developer, but I like to develop with C++ and CMake. I'll see what I can do :)

NeroBurner avatar Jul 03 '18 07:07 NeroBurner