Error: no opengl libraries given
-
I installed AVP (Alien VS Predator). This game works in a window under the Raspbian user interface, but very slowly. I wanted to start AVP on the native OS after exiting the Raspbian user interface. It didn't work, the error message "no opengl libraries given" came up. I also tried to link AVP under Retropie (ports) by simply specifying the path in a * .sh file, the same error: no opengl libraries given.
What can I do?
-
@Turrican2k said in Error: no opengl libraries given:
What can I do?
Run the game under the desktop, it doesn't look like it's meant to be running without X.org.
-
Is it somehow possible to start it outside of xorg?
-
You'll have to be more specific - how did you install the game ? Does it have a download/project page with instructions on how to install/run ?
-
Here, Date Sun Dec 31, 2017 8:51 am
https://www.raspberrypi.org/forums/viewtopic.php?p=1252534#p1252534
(I use my own version of AVP Gold)
-
This looks like it works only in Xorg, one of the forum posters mentions that:
9.this only works in X-Windows, and the window itself is small, but you can change the resolution to make it larger.
You can start it from EmulationStation as an X.org application, similar to how
lincity
works, for instance. You just need to prefix the game command inemulators.cfg
withXINIT
to tell runcommand to start the Xserver before the game. -
So I take e.g. the LinCity-NG.sh and rename it to AVP.sh. I change the content from:
#!/bin/bash
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "lincity-ng" ""To:
#!/bin/bash
XINIT "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "lincity-ng" ""Is that correct?
Will AVP run smoother then? -
@Turrican2k said in Error: no opengl libraries given:
Is that correct?
No, you need to have
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "avp" ""
and also create a folder
/opt/retropie/configs/ports/avp
, where you add a file calledemulators.cfg
, containing:avp = "XINIT:/full/path/to/avp" default = "avp"
Obviously, replace
/full/path/to/avp
with the full path to theavp
binary that launches the game.Will AVP run smoother then?
I doubt it. It's still running in the same configuration as before - in an X.org session.
-
Avp not found. How/where can i register avp?
(home/Pi/avp/avpxbox/avp) -
Linux is case-sensitive, make sure any path you enter is correct and fully qualified (i.e.
/home/pi
is not the same ashome/Pi
). -
Thanks, it starts :)
Unfortunately, the keyboard doesn't work over it and I can't say whether it's going well. How can i fix it? -
@Turrican2k said in Error: no opengl libraries given:
How can i fix it?
Start the game in a desktop session then.
-
ok, the keyboard works with a little trick. Thanks for your help.
Unfortunately, AVP is still running very slowly. I read somewhere that someone got AVP to work on a Raspberry 2 (?). He had used other files to install. Maybe someone still knows a possibility?
-
@turrican2k i run it in no desktop enviroment with the -f switch but it shows in a small screen in the middle,how you make it run in fullscreen?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.