Whity
Posts: 4
Joined: Mon Mar 05, 2018 10:14 pm

Re: STICKY: Help & Support

Tue Mar 27, 2018 4:22 am

Fantastic, Many thanks for your help

RetroVeteran
Posts: 3
Joined: Tue Mar 20, 2018 3:29 pm

Re: STICKY: Help with Spectrum Issue 67 Start Page 24

Sat Mar 31, 2018 5:47 pm

The Spectrum keyboard is not being picked up by the RetroPie V4.3 and of course does not work with FUSE. I have used the test program to test the Spectrum Keyboard and works as per expectation. I have followed all the steps published in the article and even been on line to MagPi.cc/2EbikTS which provides a different listing to use. It appears that some parts of the article have disappeared from the printed version. So any help would be appreciated if of practical use. What might really help would be to hear from someone who has managed to get this working from the original article. Many thanks

RetroVeteran
Posts: 3
Joined: Tue Mar 20, 2018 3:29 pm

Re: STICKY: Help & Support

Thu Apr 05, 2018 4:43 pm

I have finally managed to resolve this issue myself. :lol: :lol: :lol: :lol: :lol: :lol: :lol:
Quite simple really, just never spotted the error in the listing. :evil: :evil:
Of course this could just apply to my system, I don't know.
My solution to missing Spectrum Keyboard on boot Is as follows:

Original Code reads:
#!/bin/sh
/usr/bin/python /home/pi/zxscanner.py

On my system zxscanner.py is in a further directory zxscanner, so never gets executed using the original code provided.
I moved zxscanner.py to the correct directory and problem resolved. Of course I assume you could just have done this:

/usr/bin/python /home/pi/zxscanner/zxscanner.py
I have not tested that out.

A massive thank you and appreciation must go to PJEvans the original author for all his help and assistance in trying to resolve my problem.

Dave5910715
Posts: 1
Joined: Sun May 27, 2018 4:13 pm

Re: STICKY: Help & Support - Issue 69, Touchscreen & Data system

Sun May 27, 2018 4:34 pm

Must confess I'm new to all this (but not in age!) so please excuse any obvious blunders / questions etc - more of an Arduino user after a bit more flexibility.

I'm trying the MagPi tutorial by Peter Juett on page 46 of issue 69 (May 2018), much to my amazement I've installed all the various programmes (mosquitto, sqlite3, apache2, PHP etc) up as far as the part at the bottom of page 47 -
"Install the source code modules from GitHub repo (the Python modules, required libraries. webpages, and subfolders). You can find more details in the README.md file on GitHub."
With no links provide what should I be looking for on GitHub to find this README.md file - a link would be appreciated.

B.Goode
Posts: 6445
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: STICKY: Help & Support

Sun May 27, 2018 5:03 pm

I think maybe it is the site referenced by an obscured MagPi.cc url towards to top of that column of text, which is also duplicated in the Download box on the right of the page?

(Apologies if I am wrong, but the paid staff of the MagPi magazine might not be back until Tuesday... )

brentw
Posts: 4
Joined: Sat Sep 29, 2018 5:54 pm

Re: STICKY: Help & Support

Sat Sep 29, 2018 6:11 pm

I'm trying to go through the series of articles about making games in C++ on Raspberry Pi. (starting with issue 65)
I've spent tons of time searching and I'm just not finding answers. I really want to follow this guide, please help!

I've spent 2 days stuck at issue 66.

The primary issue is that the files the article tells me to link simply are not there.
I've tried using files with similar names that I was hoping might be the right ones, but it's still not working.

Here's what the article tells me to link and what I've actually found to link:

Ariticle -> Mine

libbcm_host.so -> libbcm_host.so
GLESv2_static.a -> libGLESv2_static.a
EGL_static.a -> libEGLstatic.a
vchiq_arm.a -> libvchiq_arm.a
vcos.a -> libvcos.so (there is no .a file even close to this)
khrn_static.a -> libkhrn_static.a

After trying to build with these files linked I'm getting the error:
undefined reference to symbol '[email protected]@GLIBC_2.4'
I've searched this error and tried every suggestion found, like adding compiler flags -pthread or -lpthread or -ldl, with no success.

Please help me, I really want to learn how to do graphics on the Raspberry PI.

User avatar
DougieLawson
Posts: 33805
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: STICKY: Help & Support

Sat Sep 29, 2018 7:29 pm

What compiler options are you using? Do you have -lpthread or -pthread as a compiler option?
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

brentw
Posts: 4
Joined: Sat Sep 29, 2018 5:54 pm

Re: STICKY: Help & Support

Sat Sep 29, 2018 7:42 pm

I added:
#include <pthread.h>
to OGL.h.

And I've tried building with compiler flags:
-pthread, -lpthread, and -ldl
Each one separately and even all at once.

No matter what I still get the error:
undefined reference to symbol '[email protected]@GLIBC_2.4'

User avatar
DougieLawson
Posts: 33805
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: STICKY: Help & Support

Sat Sep 29, 2018 8:02 pm

I got it to compile cleanly with
g++ -o Game -I/opt/vc/include -L/opt/vc/lib -lGLESv2 -lbcm_host -lEGL -lvcos Game.cpp OGL.cpp SimpleObj.cpp main.cpp

Note: I've not read the article and I've not changed any of the source code.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

brentw
Posts: 4
Joined: Sat Sep 29, 2018 5:54 pm

Re: STICKY: Help & Support

Sun Sep 30, 2018 1:08 am

I've now tried compiling with that command, instead of Codeblocks like the Tutorial suggested, and this time I'm getting a fatal error that EGL/egl.h doesn't exist, which I can't figure out because it is exactly where it's supposed to be. (opt/vc/include/EGL/egl.h)

User avatar
DougieLawson
Posts: 33805
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: STICKY: Help & Support

Sun Sep 30, 2018 7:06 am

brentw wrote:
Sun Sep 30, 2018 1:08 am
..., which I can't figure out because it is exactly where it's supposed to be. (opt/vc/include/EGL/egl.h)
There's a leading slash on /opt/vc... (not opt/vc...).
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

brentw
Posts: 4
Joined: Sat Sep 29, 2018 5:54 pm

Re: STICKY: Help & Support

Sun Sep 30, 2018 4:32 pm

That's not a line from the project, i was just explaining where egl.h is located.

Return to “The MagPi”

Who is online

Users browsing this forum: No registered users and 3 guests