Xash3D Engine on Raspberry Pi


249 posts   Page 1 of 10   1, 2, 3, 4, 5 ... 10
by CockPitt » Thu Jul 16, 2015 6:28 am
Sorry, it's my first post here is the full post:

Hey there,

I wondered if a game like Half Life 1 could run on the Raspberry Pi 2.
After some investigation I discovered the https://github.com/SDLash3D/xash3d Engine. With it's help it's possible to run HF1 on Android.
I'm not very experienced in programming, compiling and all that stuff but I thought the installation guide would work on raspbian too... it didn't. At least the way I tried.


If I type the command "-DXASH_VGUI=yes -DCMAKE_OSX_ARCHITECTURES=i386 .." I get following Error:

-- checking for one of the modules 'sdl2'
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:363 (message):
None of the required 'sdl2' found
Call Stack (most recent call first):
engine/CMakeLists.txt:75 (pkg_search_module)


-- checking for one of the modules 'SDL2_image'
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:363 (message):
None of the required 'SDL2_image' found
Call Stack (most recent call first):
engine/CMakeLists.txt:76 (pkg_search_module)


-- checking for one of the modules 'sdl2'
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:363 (message):
None of the required 'sdl2' found
Call Stack (most recent call first):
game_launch/CMakeLists.txt:39 (pkg_search_module)


-- Configuring incomplete, errors occurred!

Does somebody know what I did wrong and how I can fix this Error or is it impossible to run the Xash3D Engine on raspian?
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by fruitoftheloom » Thu Jul 16, 2015 6:37 am
If I type the command "-DXASH_VGUI=yes -DCMAKE_OSX_ARCHITECTURES=i386 .." I get following Error:


The RPi has ARM Architecture, you are above stating Intel i386 x86 Architecture
.
Ex Computer Repair & Service Technician.
RPi 3B, HP Envy 4500 Wireless Printer, Google Chromecast, Android Smart Phone, HD 1080p TV and 3/4G Mobile Internet make ideal companions.
Posts: 13888
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK
by CockPitt » Thu Jul 16, 2015 8:10 am
fruitoftheloom wrote:
If I type the command "-DXASH_VGUI=yes -DCMAKE_OSX_ARCHITECTURES=i386 .." I get following Error:


The RPi has ARM Architecture, you are above stating Intel i386 x86 Architecture


Is it possible to modify the Command so that it works?
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by super213 » Sun Jul 26, 2015 1:10 am
CockPitt wrote:
fruitoftheloom wrote:
If I type the command "-DXASH_VGUI=yes -DCMAKE_OSX_ARCHITECTURES=i386 .." I get following Error:


The RPi has ARM Architecture, you are above stating Intel i386 x86 Architecture


Is it possible to modify the Command so that it works?


no sadly the rpi has a ARM. but it fits the pi in ways :D. but you need to learn programming a little then modify the code for ARM Architecture! or try to recompile but it mostly wont work!
Posts: 50
Joined: Sat Jul 04, 2015 7:00 pm
Location: USA
by Hiradur » Mon Jul 27, 2015 3:27 pm
1. It's missing the sdl2 dev files. Build sdl2 yourself, there are some tutorials out there.
2. Use
Code: Select all
cmake -DHL_SDK_DIR=PATH_TO_HALF_LIFE -DXASH_SDL=yes -DXASH_VGUI=yes


still no guarantee that it'll work in the end but if you managed to compile it it would be a start.
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by super213 » Mon Jul 27, 2015 11:14 pm
Hiradur wrote:1. It's missing the sdl2 dev files. Build sdl2 yourself, there are some tutorials out there.
2. Use
Code: Select all
cmake -DHL_SDK_DIR=PATH_TO_HALF_LIFE -DXASH_SDL=yes -DXASH_VGUI=yes


still no guarantee that it'll work in the end but if you managed to compile it it would be a start.

But Wouldn't there be things like library's pre compiled for x86 and other things that are for x86 only?
Posts: 50
Joined: Sat Jul 04, 2015 7:00 pm
Location: USA
by Hiradur » Tue Jul 28, 2015 7:43 am
super213 wrote:But Wouldn't there be things like library's pre compiled for x86 and other things that are for x86 only?


I don't know. I didn't realize it requires the HL1 SDK. But apparently it runs on the OpenPandora: http://pandoralive.info/?p=5043
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Wed Jul 29, 2015 12:47 pm
After installing SDL2 and trying following command:

pi@raspberrypi /opt/Xash3D $ sudo cmake -DHL_SDK_DIR=/opt/halflife -DXASH_SDL=yes -DXASH_VGUI=yes

I still get this Error:

-- checking for one of the modules 'SDL2_image'
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:363 (message):
None of the required 'SDL2_image' found
Call Stack (most recent call first):
engine/CMakeLists.txt:76 (pkg_search_module)


-- Configuring incomplete, errors occurred!
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Thu Jul 30, 2015 7:37 am
Don't use sudo for cmake. It isn't required and may screw up file permissions.

SDL2_image is a separate module you have to install manually. See here for a guide: https://www.raspberrypi.org/forums/view ... p?p=544740
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Thu Jul 30, 2015 8:12 pm
Big thanks to you Hiradur.
Now it compiles, but at 19% it crashes with an error. :(

pi@raspberrypi ~/xash3d/build $ make
Scanning dependencies of target xashmenu
[ 1%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_savegame.cpp.o
[ 2%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_vidoptions.cpp.o
[ 2%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_gameoptions.cpp.o
[ 3%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_multiplayer.cpp.o
[ 4%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_btns.cpp.o
[ 5%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_loadgame.cpp.o
[ 5%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_playersetup.cpp.o
[ 6%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_strings.cpp.o
[ 7%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_customgame.cpp.o
[ 7%] Building CXX object mainui/CMakeFiles/xashmenu.dir/basemenu.cpp.o
[ 8%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_video.cpp.o
[ 9%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_controls.cpp.o
[ 9%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_credits.cpp.o
[ 10%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_newgame.cpp.o
[ 11%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_main.cpp.o
[ 12%] Building CXX object mainui/CMakeFiles/xashmenu.dir/ui_title_anim.cpp.o
[ 12%] Building CXX object mainui/CMakeFiles/xashmenu.dir/utils.cpp.o
[ 13%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_creategame.cpp.o
[ 14%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_saveload.cpp.o
[ 14%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_audio.cpp.o
[ 15%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_configuration.cpp.o
[ 16%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_internetgames.cpp.o
[ 16%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_advcontrols.cpp.o
[ 17%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_langame.cpp.o
[ 18%] Building CXX object mainui/CMakeFiles/xashmenu.dir/menu_vidmodes.cpp.o
[ 19%] Building CXX object mainui/CMakeFiles/xashmenu.dir/udll_int.cpp.o
Linking CXX shared library libxashmenu.so
[ 19%] Built target xashmenu
Scanning dependencies of target xash
[ 19%] Building CXX object engine/CMakeFiles/xash.dir/platform/android/android-gameif.cpp.o
c++: error: unrecognized command line option ‘-msse’
c++: error: unrecognized command line option ‘-msse2’
engine/CMakeFiles/xash.dir/build.make:54: recipe for target 'engine/CMakeFiles/xash.dir/platform/android/android-gameif.cpp.o' failed
make[2]: *** [engine/CMakeFiles/xash.dir/platform/android/android-gameif.cpp.o] Error 1
CMakeFiles/Makefile2:125: recipe for target 'engine/CMakeFiles/xash.dir/all' failed
make[1]: *** [engine/CMakeFiles/xash.dir/all] Error 2
Makefile:72: recipe for target 'all' failed
make: *** [all] Error 2

Any Idea to fix that?
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Fri Jul 31, 2015 7:53 am
Easy to fix:

In engine/CMakeLists.txt

Change
Code: Select all
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w -msse -msse2 -O2")


to
Code: Select all
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w -O2")


then re-run cmake and make
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Fri Jul 31, 2015 9:07 am
Thanks, that worked once again ;)

It finishes compiling now.

After follwing the next instructions, there is a new error, when running the last command:

$HOME/Desktop/Xash3D/xash3d.sh
=================================================================================
(build 3030) started at Jul31 2015 [10:51.01]
=================================================================================
/home/pi/Desktop/Xash3D/xash3d.sh: line 32: 6704 Segmentation fault ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} $@
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Fri Jul 31, 2015 9:43 am
This requires further debugging but the output isn't really helpful. Could you check if this gives a more extensive output

Code: Select all
LD_LIBRARY_PATH=~/Desktop/Xash3D:$LD_LIBRARY_PATH ~/Desktop/Xash3D/xash3d


Assuming ~/Desktop/Xash3D is the game's root directory.
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Fri Jul 31, 2015 10:14 am
:| nothing helpful i think:

pi@raspberrypi ~ $ LD_LIBRARY_PATH=~/Desktop/Xash3D:$LD_LIBRARY_PATH ~/Desktop/Xash3D/xash3d
=================================================================================
(build 3030) started at Jul31 2015 [12:11.26]
=================================================================================

=================================================================================
(build 3030) stopped with error at Jul31 2015 [12:11.27]
================================================================================
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Fri Jul 31, 2015 2:09 pm
In that case you have to recompile it with debugging symbols and run it in gdb for debugging. Do this:

Code: Select all
cmake -DHL_SDK_DIR=PATH_TO_HALF_LIFE -DXASH_SDL=yes -DXASH_VGUI=yes -DCMAKE_BUILD_TYPE=DEBUG

then re-run make.

After compiling finished start the game this way:
Code: Select all
DEBUGGER=gdb $HOME/Desktop/Xash3D/xash3d.sh
<gdb will then load the debugging symbols and await your input when it's fnished>
(gdb) r
<wait for segfault>
(gdb) bt

Post the output of bt here.
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Fri Jul 31, 2015 2:50 pm
I forgot to write that a had to turn VGUI off "-DXASH_VGUI=no" because of an error.

Here are the results of gdb:

pi@raspberrypi ~/xash3d/build $ DEBUGGER=gdb $HOME/Desktop/Xash3D/xash3d.sh
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/pi/Desktop/Xash3D/xash3d...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/pi/Desktop/Xash3D/xash3d
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x748d8450 (LWP 4294)]
[New Thread 0x740d8450 (LWP 4295)]
[New Thread 0x736ff450 (LWP 4296)]
[New Thread 0x72eff450 (LWP 4297)]
[New Thread 0x726ff450 (LWP 4298)]
=================================================================================
(build 3030) started at Jul31 2015 [16:46.34]
=================================================================================

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x749ad050 in R_Init () from /home/pi/Desktop/Xash3D/libxash.so
#2 0x749b157c in CL_Init () from /home/pi/Desktop/Xash3D/libxash.so
#3 0x74980e78 in Host_Main () from /home/pi/Desktop/Xash3D/libxash.so
#4 0x00010e00 in main ()
(gdb)
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by CockPitt » Fri Jul 31, 2015 2:55 pm
Sorry the results of my post are wrong here are the right ones ( I forgot to copy some files in the Xash3D executive dircetory):

pi@raspberrypi ~/xash3d/build $ DEBUGGER=gdb $HOME/Desktop/Xash3D/xash3d.sh
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/pi/Desktop/Xash3D/xash3d...done.
(gdb) r
Starting program: /home/pi/Desktop/Xash3D/xash3d
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x748d8450 (LWP 4449)]
[New Thread 0x740d8450 (LWP 4450)]
[New Thread 0x736ff450 (LWP 4451)]
[New Thread 0x72eff450 (LWP 4452)]
[New Thread 0x726ff450 (LWP 4453)]
=================================================================================
(build 3030) started at Jul31 2015 [16:54.15]
=================================================================================

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x749ad050 in R_Init () from /home/pi/Desktop/Xash3D/libxash.so
#2 0x749b157c in CL_Init () from /home/pi/Desktop/Xash3D/libxash.so
#3 0x74980e78 in Host_Main () from /home/pi/Desktop/Xash3D/libxash.so
#4 0x00010e00 in main ()
(gdb)
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Fri Jul 31, 2015 3:30 pm
Sorry, I made a typo:
It should've been
Code: Select all
-DCMAKE_BUILD_TYPE=Debug


instead of
Code: Select all
-DCMAKE_BUILD_TYPE=DEBUG


It looks like your code is not compiled with debugging symbols because otherwise bt should show in which line of the source code the program crashed.
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Fri Jul 31, 2015 3:49 pm
With "-DCMAKE_BUILD_TYPE=Debug" I still get this:

pi@raspberrypi ~/xash3d/build $ DEBUGGER=gdb $HOME/Desktop/Xash3D/xash3d.sh
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/pi/Desktop/Xash3D/xash3d...done.
(gdb) r
Starting program: /home/pi/Desktop/Xash3D/xash3d
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x748d8450 (LWP 3906)]
[New Thread 0x740d8450 (LWP 3907)]
[New Thread 0x736ff450 (LWP 3908)]
[New Thread 0x72eff450 (LWP 3909)]
[New Thread 0x726ff450 (LWP 3910)]
=================================================================================
(build 3030) started at Jul31 2015 [17:47.12]
=================================================================================

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x749ad050 in R_Init () from /home/pi/Desktop/Xash3D/libxash.so
#2 0x749b157c in CL_Init () from /home/pi/Desktop/Xash3D/libxash.so
#3 0x74980e78 in Host_Main () from /home/pi/Desktop/Xash3D/libxash.so
#4 0x00010e00 in main ()
(gdb)
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Sat Aug 01, 2015 12:13 pm
Ok, thanks for doing it. I wasn't 100% sure if CMAKE_BUILD_TYPE is case sensitive or not. We still don't see the line in the code where it crashes. However, R_Init() is defined in gl_vidnt.c and initializes the renderer. So we are a bit closer. Three things to try which come to my mind are:
- start it with glshim. You'll have to use glshim for high FPS anyway because the engine only supports OpenGL and not OpenGL ES as I see it.

- recompile with -DPANDORA=1 as argument for cmake. There is some OpenPandora specific code inside. It could work on the Pi as well.

- set breakpoints to manually determine which line leads to the crash:
Inside gdb enter:
Code: Select all
(gdb) break engine/client/gl_vidnt.c:linenumber
(gdb) r
<two options: it crashed or halted>
if execution is halted at breakpoint:
(gdb) break engine/client/glvidnt.c:linenumber+1
(gdb) c
<repeat until crash>

if it crashed you now got the number of the line causing the trouble
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Sun Aug 02, 2015 4:45 pm
1. -DPANDORA=1

pi@raspberrypi ~/xash3d/build $ $HOME/Desktop/Xash3D/xash3d.sh
=================================================================================
(build 3030) started at Aug01 2015 [22:32.59]
=================================================================================
sudo: /usr/pandora/scripts/op_gamma.sh: command not found
/home/pi/Desktop/Xash3D/xash3d.sh: line 32: 3959 Segmentation fault ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} $@
pi@raspberrypi ~/xash3d/build $


2. "Starting with glshim" Produces an error:

pi@raspberrypi ~/glshim $ cmake . -DBCMHOST=1; make GL
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/glshim
Scanning dependencies of target GL
[ 0%] Building C object src/CMakeFiles/GL.dir/gl/array.c.o
In file included from /home/pi/glshim/src/gl/gl.h:27:0,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/home/pi/glshim/src/gl/wrap/glpack.h:43:5: error: unknown type name ‘EGLSyncNV’
EGLSyncNV sync;
^
/home/pi/glshim/src/gl/wrap/glpack.h:45:5: error: unknown type name ‘EGLTimeNV’
EGLTimeNV timeout;
^
/home/pi/glshim/src/gl/wrap/glpack.h:139:5: error: unknown type name ‘EGLNativeFileDescriptorKHR’
EGLNativeFileDescriptorKHR file_descriptor;
^
/home/pi/glshim/src/gl/wrap/glpack.h:156:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:200:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:223:5: error: unknown type name ‘EGLSyncNV’
EGLSyncNV sync;
^
/home/pi/glshim/src/gl/wrap/glpack.h:249:5: error: unknown type name ‘EGLSyncNV’
EGLSyncNV sync;
^
/home/pi/glshim/src/gl/wrap/glpack.h:307:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:324:5: error: unknown type name ‘EGLSyncNV’
EGLSyncNV sync;
^
/home/pi/glshim/src/gl/wrap/glpack.h:419:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:429:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:439:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:441:5: error: unknown type name ‘EGLuint64KHR’
EGLuint64KHR * value;
^
/home/pi/glshim/src/gl/wrap/glpack.h:497:5: error: unknown type name ‘EGLSyncNV’
EGLSyncNV sync;
^
/home/pi/glshim/src/gl/wrap/glpack.h:506:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:516:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:524:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
/home/pi/glshim/src/gl/wrap/glpack.h:532:5: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stream;
^
In file included from /home/pi/glshim/src/gl/gl.h:27:0,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/home/pi/glshim/src/gl/wrap/glpack.h:25843:40: error: unknown type name ‘EGLSyncNV’
#define eglClientWaitSyncNV_ARG_EXPAND EGLSyncNV sync, EGLint flags, EGLTimeNV timeout
^
/home/pi/glshim/src/gl/wrap/glpack.h:25865:28: note: in expansion of macro ‘eglClientWaitSyncNV_ARG_EXPAND’
EGLint eglClientWaitSyncNV(eglClientWaitSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25843:70: error: unknown type name ‘EGLTimeNV’
#define eglClientWaitSyncNV_ARG_EXPAND EGLSyncNV sync, EGLint flags, EGLTimeNV timeout
^
/home/pi/glshim/src/gl/wrap/glpack.h:25865:28: note: in expansion of macro ‘eglClientWaitSyncNV_ARG_EXPAND’
EGLint eglClientWaitSyncNV(eglClientWaitSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25843:40: error: unknown type name ‘EGLSyncNV’
#define eglClientWaitSyncNV_ARG_EXPAND EGLSyncNV sync, EGLint flags, EGLTimeNV timeout
^
/home/pi/glshim/src/gl/wrap/glpack.h:25866:33: note: in expansion of macro ‘eglClientWaitSyncNV_ARG_EXPAND’
EGLint stub_eglClientWaitSyncNV(eglClientWaitSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25843:70: error: unknown type name ‘EGLTimeNV’
#define eglClientWaitSyncNV_ARG_EXPAND EGLSyncNV sync, EGLint flags, EGLTimeNV timeout
^
/home/pi/glshim/src/gl/wrap/glpack.h:25866:33: note: in expansion of macro ‘eglClientWaitSyncNV_ARG_EXPAND’
EGLint stub_eglClientWaitSyncNV(eglClientWaitSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25843:40: error: unknown type name ‘EGLSyncNV’
#define eglClientWaitSyncNV_ARG_EXPAND EGLSyncNV sync, EGLint flags, EGLTimeNV timeout
^
/home/pi/glshim/src/gl/wrap/glpack.h:25867:43: note: in expansion of macro ‘eglClientWaitSyncNV_ARG_EXPAND’
typedef EGLint (*eglClientWaitSyncNV_PTR)(eglClientWaitSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25843:70: error: unknown type name ‘EGLTimeNV’
#define eglClientWaitSyncNV_ARG_EXPAND EGLSyncNV sync, EGLint flags, EGLTimeNV timeout
^
/home/pi/glshim/src/gl/wrap/glpack.h:25867:43: note: in expansion of macro ‘eglClientWaitSyncNV_ARG_EXPAND’
typedef EGLint (*eglClientWaitSyncNV_PTR)(eglClientWaitSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25977:1: error: unknown type name ‘EGLSyncNV’
EGLSyncNV eglCreateFenceSyncNV(eglCreateFenceSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25978:1: error: unknown type name ‘EGLSyncNV’
EGLSyncNV stub_eglCreateFenceSyncNV(eglCreateFenceSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:25979:20: error: expected declaration specifiers or ‘...’ before ‘*’ token
typedef EGLSyncNV (*eglCreateFenceSyncNV_PTR)(eglCreateFenceSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26149:1: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR eglCreateStreamFromFileDescriptorKHR(eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26128:73: error: unknown type name ‘EGLNativeFileDescriptorKHR’
#define eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor
^
/home/pi/glshim/src/gl/wrap/glpack.h:26149:51: note: in expansion of macro ‘eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND’
EGLStreamKHR eglCreateStreamFromFileDescriptorKHR(eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26150:1: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stub_eglCreateStreamFromFileDescriptorKHR(eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26128:73: error: unknown type name ‘EGLNativeFileDescriptorKHR’
#define eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor
^
/home/pi/glshim/src/gl/wrap/glpack.h:26150:56: note: in expansion of macro ‘eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND’
EGLStreamKHR stub_eglCreateStreamFromFileDescriptorKHR(eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26151:23: error: expected declaration specifiers or ‘...’ before ‘*’ token
typedef EGLStreamKHR (*eglCreateStreamFromFileDescriptorKHR_PTR)(eglCreateStreamFromFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26176:1: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR eglCreateStreamKHR(eglCreateStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26177:1: error: unknown type name ‘EGLStreamKHR’
EGLStreamKHR stub_eglCreateStreamKHR(eglCreateStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26178:23: error: expected declaration specifiers or ‘...’ before ‘*’ token
typedef EGLStreamKHR (*eglCreateStreamKHR_PTR)(eglCreateStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26182:88: error: unknown type name ‘EGLStreamKHR’
#define eglCreateStreamProducerSurfaceKHR_ARG_EXPAND EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list
^
/home/pi/glshim/src/gl/wrap/glpack.h:26205:46: note: in expansion of macro ‘eglCreateStreamProducerSurfaceKHR_ARG_EXPAND’
EGLSurface eglCreateStreamProducerSurfaceKHR(eglCreateStreamProducerSurfaceKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26182:88: error: unknown type name ‘EGLStreamKHR’
#define eglCreateStreamProducerSurfaceKHR_ARG_EXPAND EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list
^
/home/pi/glshim/src/gl/wrap/glpack.h:26206:51: note: in expansion of macro ‘eglCreateStreamProducerSurfaceKHR_ARG_EXPAND’
EGLSurface stub_eglCreateStreamProducerSurfaceKHR(eglCreateStreamProducerSurfaceKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26182:88: error: unknown type name ‘EGLStreamKHR’
#define eglCreateStreamProducerSurfaceKHR_ARG_EXPAND EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list
^
/home/pi/glshim/src/gl/wrap/glpack.h:26207:61: note: in expansion of macro ‘eglCreateStreamProducerSurfaceKHR_ARG_EXPAND’
typedef EGLSurface (*eglCreateStreamProducerSurfaceKHR_PTR)(eglCreateStreamProducerSurfaceKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26322:56: error: unknown type name ‘EGLStreamKHR’
#define eglDestroyStreamKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:26343:32: note: in expansion of macro ‘eglDestroyStreamKHR_ARG_EXPAND’
EGLBoolean eglDestroyStreamKHR(eglDestroyStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26322:56: error: unknown type name ‘EGLStreamKHR’
#define eglDestroyStreamKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:26344:37: note: in expansion of macro ‘eglDestroyStreamKHR_ARG_EXPAND’
EGLBoolean stub_eglDestroyStreamKHR(eglDestroyStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26322:56: error: unknown type name ‘EGLStreamKHR’
#define eglDestroyStreamKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:26345:47: note: in expansion of macro ‘eglDestroyStreamKHR_ARG_EXPAND’
typedef EGLBoolean (*eglDestroyStreamKHR_PTR)(eglDestroyStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26403:37: error: unknown type name ‘EGLSyncNV’
#define eglDestroySyncNV_ARG_EXPAND EGLSyncNV sync
^
/home/pi/glshim/src/gl/wrap/glpack.h:26423:29: note: in expansion of macro ‘eglDestroySyncNV_ARG_EXPAND’
EGLBoolean eglDestroySyncNV(eglDestroySyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26403:37: error: unknown type name ‘EGLSyncNV’
#define eglDestroySyncNV_ARG_EXPAND EGLSyncNV sync
^
/home/pi/glshim/src/gl/wrap/glpack.h:26424:34: note: in expansion of macro ‘eglDestroySyncNV_ARG_EXPAND’
EGLBoolean stub_eglDestroySyncNV(eglDestroySyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26403:37: error: unknown type name ‘EGLSyncNV’
#define eglDestroySyncNV_ARG_EXPAND EGLSyncNV sync
^
/home/pi/glshim/src/gl/wrap/glpack.h:26425:44: note: in expansion of macro ‘eglDestroySyncNV_ARG_EXPAND’
typedef EGLBoolean (*eglDestroySyncNV_PTR)(eglDestroySyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26486:31: error: unknown type name ‘EGLSyncNV’
#define eglFenceNV_ARG_EXPAND EGLSyncNV sync
^
/home/pi/glshim/src/gl/wrap/glpack.h:26506:23: note: in expansion of macro ‘eglFenceNV_ARG_EXPAND’
EGLBoolean eglFenceNV(eglFenceNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26486:31: error: unknown type name ‘EGLSyncNV’
#define eglFenceNV_ARG_EXPAND EGLSyncNV sync
^
/home/pi/glshim/src/gl/wrap/glpack.h:26507:28: note: in expansion of macro ‘eglFenceNV_ARG_EXPAND’
EGLBoolean stub_eglFenceNV(eglFenceNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26486:31: error: unknown type name ‘EGLSyncNV’
#define eglFenceNV_ARG_EXPAND EGLSyncNV sync
^
/home/pi/glshim/src/gl/wrap/glpack.h:26508:38: note: in expansion of macro ‘eglFenceNV_ARG_EXPAND’
typedef EGLBoolean (*eglFenceNV_PTR)(eglFenceNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26738:1: error: unknown type name ‘EGLNativeFileDescriptorKHR’
EGLNativeFileDescriptorKHR eglGetStreamFileDescriptorKHR(eglGetStreamFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26717:66: error: unknown type name ‘EGLStreamKHR’
#define eglGetStreamFileDescriptorKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:26738:58: note: in expansion of macro ‘eglGetStreamFileDescriptorKHR_ARG_EXPAND’
EGLNativeFileDescriptorKHR eglGetStreamFileDescriptorKHR(eglGetStreamFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26739:1: error: unknown type name ‘EGLNativeFileDescriptorKHR’
EGLNativeFileDescriptorKHR stub_eglGetStreamFileDescriptorKHR(eglGetStreamFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26717:66: error: unknown type name ‘EGLStreamKHR’
#define eglGetStreamFileDescriptorKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:26739:63: note: in expansion of macro ‘eglGetStreamFileDescriptorKHR_ARG_EXPAND’
EGLNativeFileDescriptorKHR stub_eglGetStreamFileDescriptorKHR(eglGetStreamFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26740:37: error: expected declaration specifiers or ‘...’ before ‘*’ token
typedef EGLNativeFileDescriptorKHR (*eglGetStreamFileDescriptorKHR_PTR)(eglGetStreamFileDescriptorKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26773:39: error: unknown type name ‘EGLSyncNV’
#define eglGetSyncAttribNV_ARG_EXPAND EGLSyncNV sync, EGLint attribute, EGLint * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:26795:31: note: in expansion of macro ‘eglGetSyncAttribNV_ARG_EXPAND’
EGLBoolean eglGetSyncAttribNV(eglGetSyncAttribNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26773:39: error: unknown type name ‘EGLSyncNV’
#define eglGetSyncAttribNV_ARG_EXPAND EGLSyncNV sync, EGLint attribute, EGLint * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:26796:36: note: in expansion of macro ‘eglGetSyncAttribNV_ARG_EXPAND’
EGLBoolean stub_eglGetSyncAttribNV(eglGetSyncAttribNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26773:39: error: unknown type name ‘EGLSyncNV’
#define eglGetSyncAttribNV_ARG_EXPAND EGLSyncNV sync, EGLint attribute, EGLint * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:26797:46: note: in expansion of macro ‘eglGetSyncAttribNV_ARG_EXPAND’
typedef EGLBoolean (*eglGetSyncAttribNV_PTR)(eglGetSyncAttribNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26818:1: error: unknown type name ‘EGLuint64NV’
EGLuint64NV eglGetSystemTimeFrequencyNV(eglGetSystemTimeFrequencyNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26819:1: error: unknown type name ‘EGLuint64NV’
EGLuint64NV stub_eglGetSystemTimeFrequencyNV(eglGetSystemTimeFrequencyNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26820:22: error: expected declaration specifiers or ‘...’ before ‘*’ token
typedef EGLuint64NV (*eglGetSystemTimeFrequencyNV_PTR)(eglGetSystemTimeFrequencyNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26841:1: error: unknown type name ‘EGLuint64NV’
EGLuint64NV eglGetSystemTimeNV(eglGetSystemTimeNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26842:1: error: unknown type name ‘EGLuint64NV’
EGLuint64NV stub_eglGetSystemTimeNV(eglGetSystemTimeNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:26843:22: error: expected declaration specifiers or ‘...’ before ‘*’ token
typedef EGLuint64NV (*eglGetSystemTimeNV_PTR)(eglGetSystemTimeNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27098:54: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27121:30: note: in expansion of macro ‘eglQueryStreamKHR_ARG_EXPAND’
EGLBoolean eglQueryStreamKHR(eglQueryStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27098:54: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27122:35: note: in expansion of macro ‘eglQueryStreamKHR_ARG_EXPAND’
EGLBoolean stub_eglQueryStreamKHR(eglQueryStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27098:54: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27123:45: note: in expansion of macro ‘eglQueryStreamKHR_ARG_EXPAND’
typedef EGLBoolean (*eglQueryStreamKHR_PTR)(eglQueryStreamKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27127:58: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamTimeKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27150:34: note: in expansion of macro ‘eglQueryStreamTimeKHR_ARG_EXPAND’
EGLBoolean eglQueryStreamTimeKHR(eglQueryStreamTimeKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27127:58: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamTimeKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27151:39: note: in expansion of macro ‘eglQueryStreamTimeKHR_ARG_EXPAND’
EGLBoolean stub_eglQueryStreamTimeKHR(eglQueryStreamTimeKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27127:58: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamTimeKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27152:49: note: in expansion of macro ‘eglQueryStreamTimeKHR_ARG_EXPAND’
typedef EGLBoolean (*eglQueryStreamTimeKHR_PTR)(eglQueryStreamTimeKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27156:57: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamu64KHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27179:33: note: in expansion of macro ‘eglQueryStreamu64KHR_ARG_EXPAND’
EGLBoolean eglQueryStreamu64KHR(eglQueryStreamu64KHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27156:97: error: unknown type name ‘EGLuint64KHR’
#define eglQueryStreamu64KHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27179:33: note: in expansion of macro ‘eglQueryStreamu64KHR_ARG_EXPAND’
EGLBoolean eglQueryStreamu64KHR(eglQueryStreamu64KHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27156:57: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamu64KHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27180:38: note: in expansion of macro ‘eglQueryStreamu64KHR_ARG_EXPAND’
EGLBoolean stub_eglQueryStreamu64KHR(eglQueryStreamu64KHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27156:97: error: unknown type name ‘EGLuint64KHR’
#define eglQueryStreamu64KHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27180:38: note: in expansion of macro ‘eglQueryStreamu64KHR_ARG_EXPAND’
EGLBoolean stub_eglQueryStreamu64KHR(eglQueryStreamu64KHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27156:57: error: unknown type name ‘EGLStreamKHR’
#define eglQueryStreamu64KHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27181:48: note: in expansion of macro ‘eglQueryStreamu64KHR_ARG_EXPAND’
typedef EGLBoolean (*eglQueryStreamu64KHR_PTR)(eglQueryStreamu64KHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27156:97: error: unknown type name ‘EGLuint64KHR’
#define eglQueryStreamu64KHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27181:48: note: in expansion of macro ‘eglQueryStreamu64KHR_ARG_EXPAND’
typedef EGLBoolean (*eglQueryStreamu64KHR_PTR)(eglQueryStreamu64KHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27349:36: error: unknown type name ‘EGLSyncNV’
#define eglSignalSyncNV_ARG_EXPAND EGLSyncNV sync, EGLenum mode
^
/home/pi/glshim/src/gl/wrap/glpack.h:27370:28: note: in expansion of macro ‘eglSignalSyncNV_ARG_EXPAND’
EGLBoolean eglSignalSyncNV(eglSignalSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27349:36: error: unknown type name ‘EGLSyncNV’
#define eglSignalSyncNV_ARG_EXPAND EGLSyncNV sync, EGLenum mode
^
/home/pi/glshim/src/gl/wrap/glpack.h:27371:33: note: in expansion of macro ‘eglSignalSyncNV_ARG_EXPAND’
EGLBoolean stub_eglSignalSyncNV(eglSignalSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27349:36: error: unknown type name ‘EGLSyncNV’
#define eglSignalSyncNV_ARG_EXPAND EGLSyncNV sync, EGLenum mode
^
/home/pi/glshim/src/gl/wrap/glpack.h:27372:43: note: in expansion of macro ‘eglSignalSyncNV_ARG_EXPAND’
typedef EGLBoolean (*eglSignalSyncNV_PTR)(eglSignalSyncNV_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27376:55: error: unknown type name ‘EGLStreamKHR’
#define eglStreamAttribKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27399:31: note: in expansion of macro ‘eglStreamAttribKHR_ARG_EXPAND’
EGLBoolean eglStreamAttribKHR(eglStreamAttribKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27376:55: error: unknown type name ‘EGLStreamKHR’
#define eglStreamAttribKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27400:36: note: in expansion of macro ‘eglStreamAttribKHR_ARG_EXPAND’
EGLBoolean stub_eglStreamAttribKHR(eglStreamAttribKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27376:55: error: unknown type name ‘EGLStreamKHR’
#define eglStreamAttribKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value
^
/home/pi/glshim/src/gl/wrap/glpack.h:27401:46: note: in expansion of macro ‘eglStreamAttribKHR_ARG_EXPAND’
typedef EGLBoolean (*eglStreamAttribKHR_PTR)(eglStreamAttribKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27405:64: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerAcquireKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27426:40: note: in expansion of macro ‘eglStreamConsumerAcquireKHR_ARG_EXPAND’
EGLBoolean eglStreamConsumerAcquireKHR(eglStreamConsumerAcquireKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27405:64: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerAcquireKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27427:45: note: in expansion of macro ‘eglStreamConsumerAcquireKHR_ARG_EXPAND’
EGLBoolean stub_eglStreamConsumerAcquireKHR(eglStreamConsumerAcquireKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27405:64: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerAcquireKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27428:55: note: in expansion of macro ‘eglStreamConsumerAcquireKHR_ARG_EXPAND’
typedef EGLBoolean (*eglStreamConsumerAcquireKHR_PTR)(eglStreamConsumerAcquireKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27432:74: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27453:50: note: in expansion of macro ‘eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND’
EGLBoolean eglStreamConsumerGLTextureExternalKHR(eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27432:74: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27454:55: note: in expansion of macro ‘eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND’
EGLBoolean stub_eglStreamConsumerGLTextureExternalKHR(eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27432:74: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27455:65: note: in expansion of macro ‘eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND’
typedef EGLBoolean (*eglStreamConsumerGLTextureExternalKHR_PTR)(eglStreamConsumerGLTextureExternalKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27459:64: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerReleaseKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27480:40: note: in expansion of macro ‘eglStreamConsumerReleaseKHR_ARG_EXPAND’
EGLBoolean eglStreamConsumerReleaseKHR(eglStreamConsumerReleaseKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27459:64: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerReleaseKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27481:45: note: in expansion of macro ‘eglStreamConsumerReleaseKHR_ARG_EXPAND’
EGLBoolean stub_eglStreamConsumerReleaseKHR(eglStreamConsumerReleaseKHR_ARG_EXPAND);
^
/home/pi/glshim/src/gl/wrap/glpack.h:27459:64: error: unknown type name ‘EGLStreamKHR’
#define eglStreamConsumerReleaseKHR_ARG_EXPAND EGLDisplay dpy, EGLStreamKHR stream
^
/home/pi/glshim/src/gl/wrap/glpack.h:27482:55: note: in expansion of macro ‘eglStreamConsumerReleaseKHR_ARG_EXPAND’
typedef EGLBoolean (*eglStreamConsumerReleaseKHR_PTR)(eglStreamConsumerReleaseKHR_ARG_EXPAND);
^
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from /home/pi/glshim/src/util/extypes.h:106,
from /home/pi/glshim/src/gl/types.h:9,
from /home/pi/glshim/src/gl/gl.h:9,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined
void vcos_timer_delete(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined
void vcos_timer_reset(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined
void vcos_timer_cancel(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined
void vcos_timer_set(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined
VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
^
In file included from /opt/vc/include/interface/vcos/vcos.h:135:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from /home/pi/glshim/src/util/extypes.h:106,
from /home/pi/glshim/src/gl/types.h:9,
from /home/pi/glshim/src/gl/gl.h:9,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/opt/vc/include/interface/vcos/vcos_mem.h:93:15: warning: inline function ‘vcos_get_free_mem’ declared but never defined
unsigned long vcos_get_free_mem(void);
^
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from /home/pi/glshim/src/util/extypes.h:106,
from /home/pi/glshim/src/gl/types.h:9,
from /home/pi/glshim/src/gl/gl.h:9,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined
void vcos_thread_resume(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ declared but never defined
int vcos_thread_running(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption’ declared but never defined
VCOS_UNSIGNED vcos_change_preemption(VCOS_UNSIGNED pe);
^
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’ declared but never defined
void vcos_thread_relinquish(void);
^
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affinity’ declared but never defined
VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread);
^
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from /home/pi/glshim/src/util/extypes.h:106,
from /home/pi/glshim/src/gl/types.h:9,
from /home/pi/glshim/src/gl/gl.h:9,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function ‘vcos_timer_delete’ declared but never defined
void vcos_timer_delete(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function ‘vcos_timer_reset’ declared but never defined
void vcos_timer_reset(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function ‘vcos_timer_cancel’ declared but never defined
void vcos_timer_cancel(VCOS_TIMER_T *timer);
^
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function ‘vcos_timer_set’ declared but never defined
void vcos_timer_set(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
^
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function ‘vcos_timer_create’ declared but never defined
VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
^
In file included from /opt/vc/include/interface/vcos/vcos.h:135:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from /home/pi/glshim/src/util/extypes.h:106,
from /home/pi/glshim/src/gl/types.h:9,
from /home/pi/glshim/src/gl/gl.h:9,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/opt/vc/include/interface/vcos/vcos_mem.h:93:15: warning: inline function ‘vcos_get_free_mem’ declared but never defined
unsigned long vcos_get_free_mem(void);
^
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from /home/pi/glshim/src/util/extypes.h:106,
from /home/pi/glshim/src/gl/types.h:9,
from /home/pi/glshim/src/gl/gl.h:9,
from /home/pi/glshim/src/gl/array.h:1,
from /home/pi/glshim/src/gl/array.c:1:
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function ‘vcos_thread_resume’ declared but never defined
void vcos_thread_resume(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function ‘vcos_thread_running’ declared but never defined
int vcos_thread_running(VCOS_THREAD_T *thread);
^
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function ‘vcos_change_preemption’ declared but never defined
VCOS_UNSIGNED vcos_change_preemption(VCOS_UNSIGNED pe);
^
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function ‘vcos_thread_relinquish’ declared but never defined
void vcos_thread_relinquish(void);
^
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function ‘vcos_thread_get_affinity’ declared but never defined
VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread);
^
src/CMakeFiles/GL.dir/build.make:54: recipe for target 'src/CMakeFiles/GL.dir/gl/array.c.o' failed
make[3]: *** [src/CMakeFiles/GL.dir/gl/array.c.o] Error 1
CMakeFiles/Makefile2:79: recipe for target 'src/CMakeFiles/GL.dir/all' failed
make[2]: *** [src/CMakeFiles/GL.dir/all] Error 2
CMakeFiles/Makefile2:91: recipe for target 'src/CMakeFiles/GL.dir/rule' failed
make[1]: *** [src/CMakeFiles/GL.dir/rule] Error 2
Makefile:147: recipe for target 'GL' failed
make: *** [GL] Error 2
pi@raspberrypi ~/glshim $

3. breakpoints

This didn't work, because the file is in the compiling directory.

Breakpoint 1 (engine/client/gl_vidnt.c:1) pending.
(gdb) break engine/client/gl_vidnt.c:2
No source file named engine/client/gl_vidnt.c.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (engine/client/gl_vidnt.c:1) pending.
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Tue Aug 04, 2015 9:34 am
1. Looks like when built for the Pandora it makes use of specific system functions so this won't work.
2. Try again with my glshim script: https://www.raspberrypi.org/forums/view ... 06#p792906
3. Change the file path so it matches the correct path.
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Wed Aug 05, 2015 9:22 am
1. glshim script

Compiling of glshim worked perfectly but if I try to start, "Permission denied" error announces:

pi@raspberrypi ~/glshim $ ./glshim.sh ~/Desktop/Xash3D
Starting game /home/pi/Desktop/Xash3D
./glshim.sh: 107: ./glshim.sh: /home/pi/Desktop/Xash3D: Permission denied


If I start with "sudo" it doesn't work either:

pi@raspberrypi ~/glshim $ sudo ./glshim.sh ~/Desktop/Xash3D
Starting game /home/pi/Desktop/Xash3D
./glshim.sh: 107: ./glshim.sh: /home/pi/Desktop/Xash3D: Permission denied


2. Breakpoints

Am I doning something wrong? I changed the directory to "/home/pi/xash3d" its not the game directory but the compiling directory,
but the "engine/client/gl_vidnt.c" file, wich produced the first error, is just in this directory.

(gdb) break engine/client/gl_vidnt.c:1
No symbol table is loaded. Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 3 (engine/client/gl_vidnt.c:1) pending.
(gdb)
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm
by Hiradur » Wed Aug 05, 2015 1:52 pm
1. Did you make the script executable with
Code: Select all
chmod +x glshim.sh

2. It doesn't matter where the sources are as long as they haven't been moved after the build. Try the full path to the source file.
You should also start with the linenumber of the first line that belongs to R_Init() (first line after the { bracket)
Posts: 96
Joined: Fri Mar 01, 2013 10:59 am
by CockPitt » Thu Aug 06, 2015 10:17 am
1. This is what I did. Is there any mistake?

pi@raspberrypi ~ $ cd glshim
pi@raspberrypi ~/glshim $ sudo apt-get install cmake libx11-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version.
libx11-dev is already the newest version.
libx11-dev set to manually installed.
The following packages were automatically installed and are no longer required:
libgssglue1 libpq5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi ~/glshim $ chmod +x glshim.sh
pi@raspberrypi ~/glshim $ ./glshim.sh
Attempting to build glshim and glues
Make sure you are connected to the internet and
cmake and libx11-dev are installed (sudo apt-get install cmake libx11-dev)
Building glshim...
switching to unstable-branch...
Already on 'unstable'
checking for updates...
Already up-to-date.
starting build...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/glwrapper/glshim
[100%] Built target GL
Building glues...
switching to glu-branch...
Already on 'glu'
checking for updates...
Already up-to-date.
starting build...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/glwrapper/glues
Scanning dependencies of target GLU
[ 2%] [ 2%] [ 3%] [ 4%] Building C object CMakeFiles/GLU.dir/source/glues_registry.c.o
Building C object CMakeFiles/GLU.dir/source/glues_mipmap.c.o
Building C object CMakeFiles/GLU.dir/source/glues_error.c.o
Building C object CMakeFiles/GLU.dir/source/glues_quad.c.o
[ 5%] [ 6%] Building C object CMakeFiles/GLU.dir/source/glues_project.c.o
Building C object CMakeFiles/GLU.dir/source/libtess/tessmono.c.o
[ 7%] Building C object CMakeFiles/GLU.dir/source/libtess/normal.c.o
[ 8%] Building C object CMakeFiles/GLU.dir/source/libtess/geom.c.o
[ 10%] Building C object CMakeFiles/GLU.dir/source/libtess/tess.c.o
[ 11%] Building C object CMakeFiles/GLU.dir/source/libtess/priorityq.c.o
[ 12%] Building C object CMakeFiles/GLU.dir/source/libtess/sweep.c.o
[ 13%] Building C object CMakeFiles/GLU.dir/source/libtess/render.c.o
[ 14%] Building C object CMakeFiles/GLU.dir/source/libtess/mesh.c.o
[ 15%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/bezierPatchMesh.cc.o
[ 16%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/insurfeval.cc.o
[ 17%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/bezierPatch.cc.o
[ 19%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/gles_evaluator.cc.o
[ 20%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/glrenderer.cc.o
[ 21%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/glsurfeval.cc.o
[ 22%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/glcurveval.cc.o
[ 23%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/incurveeval.cc.o
[ 24%] [ 25%] [ 26%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/internals/backend.cc.o
Building CXX object CMakeFiles/GLU.dir/source/libnurbs/interface/glinterface.cc.o
Building CXX object CMakeFiles/GLU.dir/source/libnurbs/internals/monoTriangulationBackend.cc.o
[ 28%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/internals/slicer.cc.o
[ 29%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/nurbtess/rectBlock.cc.o
[ 30%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/nurbtess/primitiveStream.cc.o
[ 31%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/nurbtess/gridWrap.cc.o
[ 32%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/nurbtess/sampleCompRight.cc.o
[ 33%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/nurbtess/sampleMonoPoly.cc.o
[ 34%] Building CXX object CMakeFiles/GLU.dir/source/libnurbs/nurbtess/monoChain.cc.o
Linking CXX shared library libGLU.so.1
[100%] Built target GLU
Could not read from count file.
checking for updates...
Already up-to-date.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/glwrapper/tinygles
[ 7%] [ 15%] [ 22%] Built target spin
Built target mech
Built target gears
[ 92%] Built target GLESv1_CM
[100%] Built target texobj
All libraries were successfully built
pi@raspberrypi ~/glshim $ ./glshim.sh /home/pi/Desktop/Xash3D
Starting game /home/pi/Desktop/Xash3D
./glshim.sh: 107: ./glshim.sh: /home/pi/Desktop/Xash3D: Permission denied

2. I'm very sorry, but I don't know how I set these breakpoints. I don't get it.
Posts: 107
Joined: Tue Jun 02, 2015 1:29 pm