Page 8 of 9

Re: How to install/ build/ play Quake 3....

Posted: Sun Oct 23, 2016 3:25 pm
by snackpak
PhillPi wrote:Hi. I have followed your instructions before and it worked a treat (thanks). This time I am installing on RPI3 Raspbian Pixels released on 23rd September 16 and I get an error:
UI_CC_MISSIONPACK code/game/bg_lib.c
LD build/release-linux-arm/ioq3ded.arm
/usr/bin/ld: cannot find -lvmcs_rpc_client
collect2: error: ld returned 1 exit status
Makefile:1657: recipe for target 'build/release-linux-arm/ioq3ded.arm' failed
make[2]: *** [build/release-linux-arm/ioq3ded.arm] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/pi/quake3'
Makefile:981: recipe for target 'targets' failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory '/home/pi/quake3'
Makefile:975: recipe for target 'release' failed
make: *** [release] Error 2
[email protected]:~/quake3 $

I have tried this loads of times and even with other tutorials and I still get the same error.

Can you help me please?

Thanks
PhillPi
Edit build.sh and remove -lvmcs_rpc_client from line 31

Re: How to install/ build/ play Quake 3....

Posted: Tue Oct 25, 2016 9:27 pm
by PhillPi
Thanks snackpak. I removed the text from that line, saved and re-ran the compilation process, now it ends with...

make[2]: *** [build/release-linux-arm/baseq3/qagamearm.so] Error 1
/usr/bin/ld: cannot find -lvchostif
/usr/bin/ld: cannot find -lvcfiled_check
/usr/bin/ld: cannot find -lbcm_host
/usr/bin/ld: cannot find -lkhrn_static
/usr/bin/ld: cannot find -lvchiq_arm
/usr/bin/ld: cannot find -lopenmaxil
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
/usr/bin/ld: cannot find -lvcos
collect2: error: ld returned 1 exit status
Makefile:1517: recipe for target 'build/release-linux-arm/ioquake3.arm' failed
make[2]: *** [build/release-linux-arm/ioquake3.arm] Error 1
make[2]: Leaving directory '/home/pi/src/quake3'
Makefile:981: recipe for target 'targets' failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory '/home/pi/src/quake3'
Makefile:975: recipe for target 'release' failed
make: *** [release] Error 2
[email protected]:~/src/quake3 $

It send I am missing something from /usr/bin/ld

I am afraid I have no idea what this means. Any help is greatly appreciated.

Re: How to install/ build/ play Quake 3....

Posted: Sat Nov 05, 2016 10:02 am
by ChrisAU
Hi Chaps,

I set about trying to solve this and ended up writing a whole guide...

Link: http://www.lowefamily.com.au/2016/11/05 ... pberry-pi/
Shortlink: http://wp.me/p6g71G-29e

The short answer is that you just needed to remove the -lvmcs_rpc_client from build_rpi_raspbian.sh - so you were already doing the right thing, but not sure why you got the next error.

Anyway, have a read of my guide if you are still having problems.

Kind Regards,
Chris. :)

Re: How to install/ build/ play Quake 3....

Posted: Sun Nov 06, 2016 5:36 am
by Rploesser
Once installed how well does Quake 3 run?

Re: How to install/ build/ play Quake 3....

Posted: Sun Nov 27, 2016 11:36 pm
by PrettyCoolBruh
Rploesser wrote:Once installed how well does Quake 3 run?
Depends on your Raspberry Pi. Can only confirm no lag on Pi 3

Re: How to install/ build/ play Quake 3....

Posted: Tue Jan 03, 2017 11:58 pm
by tryco2
my Pi2 quake install was a success, required building like the rest, but a bit long:

The build:

run first!

Code: Select all

sudo apt-get update  
update all distros and packs

Code: Select all

sudo apt-get dist-upgrade
then update the raspbian os

Code: Select all

sudo rpi-update
reboot

sdl1.2-dev is bugged. use this:

Code: Select all

sudo apt-get install git gcc build-essential libsdl2-2.0-0
then follow this forum's guide for steps 2 through the end of 3, you may or may not need to sudo this codelist.

Code: Select all

git clone https://github.com/raspberrypi/quake3.git

Code: Select all

cd quake3

Code: Select all

nano build.sh
change arm_libs (line 8) values to:

Code: Select all

ARM_LIBS=/opt/vc/lib
do the same to includes/pthreads (line 16) values:

Code: Select all

INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads"
remark out bcm now that we deleted it from all the other places (line19):

Code: Select all

#CROSS_COMPILE=bcm2708-
now for the one that THIS site wont tell you, but will bork your compile for both the pi 2 and 3:
remove -lvmcs_rpc_client from line 31
Control+O to save, Control+X to exit
then do the same to build_rpi_raspbian.sh

Code: Select all

nano build_rpi_raspbian.sh
locate and remove the -lvmcs_rpc_client entry
Control+O to save, Control+X to exit
Now you can begin the compilation process by typing

Code: Select all

./build.sh
you may need to sudo it. the process takes approximately 30 minutes (yes, it really does,take about 20-30 min).

The file copy:

you will then need pak0(off of ORIGINAL CD), all patch data from https://ioquake3.org/extras/patch-data/, you can choose to get
http://ioquake3.org/files/xcsv_hires.zip for high res texture packs,and any additional pk3's you have. then after copying all this into build/release-linux-arm/baseq3 and missionpack, using

Code: Select all

sudo pcmanfm
move release-linux-arm folder to root of pi(home dir). rename it to quake3

First run:

cd into quake 3 folder, run ioquake3.arm
can skip cdkey(or enter one)
when at main menu, quit
copy in your seperate q3config and q3 keys for baseq3 and missionpak from the pc game folders to respective /home/pi/quake3 folders, overwriting everything if prompted.
goto .q3a
copy in the data from C:\Users\(yourusername)\AppData\Roaming\Quake3 to this location (.q3a), overwriting everything
then now update ur quake3 folder permissions for directFB access:
from console, run

Code: Select all

sudo usermod -a -G video [your_username]
(default username is pi in this case)
logout, log backin.
log back in and cd to quake3 and run ioquake to confirm your settings and cdkey have been transferred. now is a good chance to set the res to widescreen. the pi's, while physically capable of running 1600x900, lag bad, and are happer at the native 856x480 res. very gamable

Desktop icon:

Now its time to create the desktop icon:
locate a quake3 png (256x256), save it to your pi somewhere
create a new empty file on the desktop
open in text editor and type this (image name changeable, but must be a direct path):

Code: Select all

[Desktop Entry]
Type=Application
Name=ioQuake III Arena
Icon=/home/pi/img/Image.png
Exec=/home/pi/quake3/ioquake3.arm
Path=/home/pi/quake3/
Terminal-false
Name[en_US]=ioQuake III Arena x86
GenericName=Quake III Arena
save this.
should now have a new shortcut to the game, and a fully unlocked game with all your maps and games.

Done!

This build process is identical for 2 and 3, only difference is 2 is x86 and 3 is x64.

enjoy!

Re: How to install/ build/ play Quake 3....

Posted: Wed Feb 01, 2017 10:23 am
by ICantThinkOfAUsrName
I have a question, do I need to unzip the pak files?

Re: How to install/ build/ play Quake 3....

Posted: Sat Mar 04, 2017 3:08 pm
by victagayun
Quick question, can I play network with a PC from raspi?

Re: How to install/ build/ play Quake 3....

Posted: Tue Mar 28, 2017 8:54 am
by hollipl
This failed for me, as did EVERY other quake 3 compiling tutorial I have followed online. I feel like flinging the pi out the door and into the trash.... Way frustrating to try something 30 times to watch it fail.
Doubt this stupid board could compile a picture of a dog turd.

Re: How to install/ build/ play Quake 3....

Posted: Tue Oct 31, 2017 10:39 pm
by CSpr3itz3r
Hi! Thanks for taking the time to do all this. I got it working. However I was wanting to use an Xbox 360 (wired) controller and was wondering how this could be done. Is key mapping automatic? If not how can I input them? Thanks!

Re: How to install/ build/ play Quake 3....

Posted: Thu Nov 02, 2017 1:04 pm
by Mitchell13
Hello,

Can you update the link http://dl.dropbox.com/u/1816557/Q3%20Demo%20Paks.zip please? I get the error 404. And i realy want to make this work.

Thank you! :D

Re: How to install/ build/ play Quake 3....

Posted: Mon Dec 04, 2017 3:25 am
by alutov
When I compile quake3 on raspberry pi3 raspbian stretch I get an error "missing libEGL.so". To solve problem I advise to use keys " -lbrcmEGL -lbrcmGLESv2" instead of "-lEGL -lGLESv2" in file build.sh.

Re: How to install/ build/ play Quake 3....

Posted: Tue Dec 05, 2017 2:56 pm
by ptitSeb
If someone want to try, I added some RPi support to my fork of OpenArena: https://github.com/ptitSeb/OpenArenaPandora.git
After cloning the repo, a simple

Code: Select all

make RPI=1
should build the game.

Re: How to install/ build/ play Quake 3....

Posted: Sat Dec 09, 2017 3:08 am
by cdev-tux
The version of ioquake3 that’s in the repository is an older version based on SDL1.2, and it’s missing many features and bug/security fixes. I made available an updated version that’s based on the latest ioquake3 codebase as well as SDL2. Please feel free to try it out.

viewtopic.php?f=78&t=198680

Re: How to install/ build/ play Quake 3....

Posted: Mon Dec 11, 2017 9:40 am
by ptitSeb
Yeah, I've checked your repo, and it's a nice up-to-date version with all ARM/GLES bits gathered.

Nice work!

Re: How to install/ build/ play Quake 3....

Posted: Mon Dec 11, 2017 8:41 pm
by cdev-tux
ptitSeb wrote:
Mon Dec 11, 2017 9:40 am
Yeah, I've checked your repo, and it's a nice up-to-date version with all ARM/GLES bits gathered.

Nice work!

Much appreciated. It’s based on some of your excellent previous work, thank you!

Re: How to install/ build/ play Quake 3....

Posted: Fri Feb 23, 2018 2:34 pm
by forj1900
When I run

Code: Select all

sudo ioquake3.arm
I get
ioquake3.arm: command not found
What's wrong? I can see from ls command than file ioquake3.arm is exist.

Thanks in advance

Re: How to install/ build/ play Quake 3....

Posted: Tue Mar 20, 2018 11:15 pm
by Zarnir
The guide works fine until I start the compilation process. This is the code that pops up every time I attempt to do it.
make[1]: Entering directory '/home/pi/quake3'

Building ioquake3 in build/release-linux-arm:
PLATFORM: linux
ARCH: arm
VERSION: 1.35
COMPILE_PLATFORM: linux
COMPILE_ARCH: armv7l
CC: gcc

CFLAGS:
-DVCMODS_MISC
-DVCMODS_OPENGLES
-DVCMODS_DEPTH
-DVCMODS_REPLACETRIG
-I/opt/vc/include
-I/opt/vc/include/interface/vcos/pthreads
-MMD
-Wall
-fno-strict-aliasing
-Wimplicit
-Wstrict-prototypes
-pipe
-DUSE_ICON
-I/usr/include/SDL
-D_GNU_SOURCE=1
-D_REENTRANT
-DNO_VM_COMPILED
-Icode/SDL12/include
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Icode/libspeex/include
-DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION="1.35"
-DNDEBUG
-O3
-ffast-math
-funroll-loops
-fomit-frame-pointer

LDFLAGS:
-L/opt/vc/lib
-Llib
-lSDL
-lvchostif
-lvcfiled_check
-lbcm_host
-lkhrn_static
-lvchiq_arm
-lopenmaxil
-lEGL
-lGLESv2
-lvcos
-lrt

LIBS:
-ldl
-lm

Output:
build/release-linux-arm/ioq3ded.arm
build/release-linux-arm/ioquake3.arm
build/release-linux-arm/baseq3/cgamearm.so
build/release-linux-arm/baseq3/qagamearm.so
build/release-linux-arm/baseq3/uiarm.so
build/release-linux-arm/missionpack/cgamearm.so
build/release-linux-arm/missionpack/qagamearm.so
build/release-linux-arm/missionpack/uiarm.so

make[2]: Entering directory '/home/pi/quake3'
LD build/release-linux-arm/ioq3ded.arm
LD build/release-linux-arm/ioquake3.arm
LD build/release-linux-arm/baseq3/cgamearm.so
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
build/release-linux-arm/ded/common.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
LD build/release-linux-arm/baseq3/qagamearm.so
Makefile:1657: recipe for target 'build/release-linux-arm/ioq3ded.arm' failed
make[2]: *** [build/release-linux-arm/ioq3ded.arm] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:1697: recipe for target 'build/release-linux-arm/baseq3/cgamearm.so' failed
make[2]: *** [build/release-linux-arm/baseq3/cgamearm.so] Error 1
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:1794: recipe for target 'build/release-linux-arm/baseq3/qagamearm.so' failed
make[2]: *** [build/release-linux-arm/baseq3/qagamearm.so] Error 1
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:1517: recipe for target 'build/release-linux-arm/ioquake3.arm' failed
make[2]: *** [build/release-linux-arm/ioquake3.arm] Error 1
make[2]: Leaving directory '/home/pi/quake3'
Makefile:981: recipe for target 'targets' failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory '/home/pi/quake3'
Makefile:975: recipe for target 'release' failed
make: *** [release] Error 2

Any help would be greatly appreciated.

Re: How to install/ build/ play Quake 3....

Posted: Sat Mar 24, 2018 7:52 am
by yfpiLiker
If try to download the dropboxfile I get this error:

###############################
20: Die Anzahl der Verweise ist zu groß.
#################################

Can anyone tell me what to do?

Re: How to install/ build/ play Quake 3....

Posted: Sun Mar 25, 2018 6:51 am
by yfpiLiker
Mitchell13 wrote:
Thu Nov 02, 2017 1:04 pm
Hello,

Can you update the link http://dl.dropbox.com/u/1816557/Q3%20Demo%20Paks.zip please? I get the error 404. And i realy want to make this work.

Thank you! :D
Sorry for my last post!
I have the same problem like Mitchell13.

Thank you in advance! :)

Re: How to install/ build/ play Quake 3....

Posted: Thu Aug 09, 2018 5:35 pm
by darkbibble
i have tryed following the last guide abouve to build and install quake 3 but it keeps failing.
here is my error output

Code: Select all


make[2]: *** [build/release-linux-arm/baseq3/cgamearm.so] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:1657: recipe for target 'build/release-linux-arm/ioq3ded.arm' failed
make[2]: *** [build/release-linux-arm/ioq3ded.arm] Error 1
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:1517: recipe for target 'build/release-linux-arm/ioquake3.arm' failed
make[2]: *** [build/release-linux-arm/ioquake3.arm] Error 1
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:1794: recipe for target 'build/release-linux-arm/baseq3/qagamearm.so' failed
make[2]: *** [build/release-linux-arm/baseq3/qagamearm.so] Error 1
make[2]: Leaving directory '/home/pi/quake3'
Makefile:981: recipe for target 'targets' failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory '/home/pi/quake3'
Makefile:975: recipe for target 'release' failed
make: *** [release] Error 2
[email protected]:~/quake3 $ 



Re: How to install/ build/ play Quake 3....

Posted: Fri Nov 02, 2018 10:43 am
by lolli
Im having troubles downloading files from dropbox. I got the 404 cannot find the page youŕe looking for.
is there another way to share files?

Thanks for help!!! :P

Re: How to install/ build/ play Quake 3....

Posted: Sun Nov 04, 2018 3:13 am
by agasilov
I have the following issue when I do these instructions:

/usr/bin/ld: cannot find -lvchostif
/usr/bin/ld: cannot find -lvmcs_rpc_client
/usr/bin/ld: cannot find -lvcfiled_check
/usr/bin/ld: cannot find -lbcm_host
/usr/bin/ld: cannot find -lkhrn_static
/usr/bin/ld: cannot find -lvchiq_arm
/usr/bin/ld: cannot find -lopenmaxil
/usr/bin/ld: cannot find -lvcos
collect2: error: ld returned 1 exit status
Makefile:1657: recipe for target 'build/release-linux-arm/ioq3ded.arm' failed
make[2]: *** [build/release-linux-arm/ioq3ded.arm] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lvchostif
/usr/bin/ld: cannot find -lvmcs_rpc_client
/usr/bin/ld: cannot find -lvcfiled_check
/usr/bin/ld: cannot find -lbcm_host
/usr/bin/ld: cannot find -lkhrn_static
/usr/bin/ld: cannot find -lvchiq_arm
/usr/bin/ld: cannot find -lopenmaxil
/usr/bin/ld: cannot find -lvcos
collect2: error: ld returned 1 exit status
Makefile:1697: recipe for target 'build/release-linux-arm/baseq3/cgamearm.so' failed
make[2]: *** [build/release-linux-arm/baseq3/cgamearm.so] Error 1
/usr/bin/ld: cannot find -lvchostif
/usr/bin/ld: cannot find -lvmcs_rpc_client
/usr/bin/ld: cannot find -lvcfiled_check
/usr/bin/ld: cannot find -lbcm_host
/usr/bin/ld: cannot find -lkhrn_static
/usr/bin/ld: cannot find -lvchiq_arm
/usr/bin/ld: cannot find -lopenmaxil
/usr/bin/ld: cannot find -lvcos
collect2: error: ld returned 1 exit status
Makefile:1794: recipe for target 'build/release-linux-arm/baseq3/qagamearm.so' failed
make[2]: *** [build/release-linux-arm/baseq3/qagamearm.so] Error 1
/usr/bin/ld: cannot find -lvchostif
/usr/bin/ld: cannot find -lvmcs_rpc_client
/usr/bin/ld: cannot find -lvcfiled_check
/usr/bin/ld: cannot find -lbcm_host
/usr/bin/ld: cannot find -lkhrn_static
/usr/bin/ld: cannot find -lvchiq_arm
/usr/bin/ld: cannot find -lopenmaxil
/usr/bin/ld: cannot find -lvcos
collect2: error: ld returned 1 exit status
Makefile:1517: recipe for target 'build/release-linux-arm/ioquake3.arm' failed
make[2]: *** [build/release-linux-arm/ioquake3.arm] Error 1
make[2]: Leaving directory '/home/pi/quake3'
Makefile:981: recipe for target 'targets' failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory '/home/pi/quake3'
Makefile:975: recipe for target 'release' failed
make: *** [release] Error 2

Then it just goes to the prompt, and I can't run the game. This happens after doing ./build.sh. Please help. Thank you.

Re: How to install/ build/ play Quake 3....

Posted: Thu Jan 24, 2019 6:24 pm
by ARM-Pie
The link http://dl.dropbox.com/u/1816557/Q3%20Demo%20Paks.zip is broken.
Terminal tells this: error 404(not found)
And this mean: the link no longer exist. (Well. you know what it means)
:cry:
Can you please reupload the PAK files? I want to play this FPS (First Person Shooter) again.
On the Pi :D

PS: Sorry for my english.

Re: How to install/ build/ play Quake 3....

Posted: Thu Feb 14, 2019 12:42 pm
by LeGO2000
Hi!

I have a problem during the installation from quake3 on my Raspberry Pi 3. The Raspian is on the newest version.
After the step "./build.sh" this happens :

LD build/release-linux-arm/ioq3ded.arm
/usr/bin/ld: cannot find -lvmcs_rpc_client
/usr/bin/ld: cannot find -lEGL
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
Makefile:1657: die Regel für Ziel „build/release-linux-arm/ioq3ded.arm“ scheiterte
make[2]: *** [build/release-linux-arm/ioq3ded.arm] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet...
code/ui/ui_main.c: In function ‘UI_BuildFindPlayerList’:
code/ui/ui_main.c:4133:16: warning: array subscript is below array bounds [-Warray-bounds]
Com_sprintf(uiInfo.foundPlayerServerNames[uiInfo.numFoundPlayerServers-1], sizeof(uiInfo.foundPlayerServerAddresses[0]), "no servers found");
^~~~~~
make[2]: Verzeichnis „/home/pi/games/quake3“ wird verlassen
Makefile:981: die Regel für Ziel „targets“ scheiterte
make[1]: *** [targets] Fehler 2
make[1]: Verzeichnis „/home/pi/games/quake3“ wird verlassen
Makefile:975: die Regel für Ziel „release“ scheiterte
make: *** [release] Fehler 2


Can someone help me?