Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RaspberryPi Image: a journey #20

Open
NeroBurner opened this issue Jul 2, 2018 · 4 comments
Open

RaspberryPi Image: a journey #20

NeroBurner opened this issue Jul 2, 2018 · 4 comments

Comments

@NeroBurner
Copy link
Contributor

NeroBurner commented Jul 2, 2018

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

@GeneMosher
Copy link
Member

GeneMosher commented Jul 2, 2018

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.

@NeroBurner
Copy link
Contributor Author

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

@GeneMosher
Copy link
Member

GeneMosher commented Jul 2, 2018

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.

@NeroBurner
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants