make[2]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build“ wird betreten
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/arm-linux-gnueabihf-gcc
-- Check for working C compiler: /usr/bin/arm-linux-gnueabihf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/arm-linux-gnueabihf-g++
-- Check for working CXX compiler: /usr/bin/arm-linux-gnueabihf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking to see if CXX compiler accepts flag -flto
-- Checking to see if CXX compiler accepts flag -flto - yes
-- Found OpenGLES: /opt/vc/lib/libGLESv2.so
-- SHADERTOY_VERSION=1.2.0
-- Added usage definition: ADDON_GLOBAL_VERSION_MAIN_USED
-- Added usage definition: ADDON_GLOBAL_VERSION_GUI_USED
-- Added usage definition: ADDON_GLOBAL_VERSION_FILESYSTEM_USED
-- Added usage definition: ADDON_INSTANCE_VERSION_VISUALIZATION_USED
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ADDON_DEPENDS_PATH
PACKAGE_CONFIG_PATH
-- Build files have been written to: /usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build
Force build of visualization.shadertoy
make[3]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird betreten
make[4]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird betreten
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird betreten
Scanning dependencies of target kissfft
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird verlassen
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird betreten
[ 20%] Building C object lib/kissfft/CMakeFiles/kissfft.dir/kiss_fft.c.o
[ 40%] Linking C static library libkissfft.a
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird verlassen
[ 40%] Built target kissfft
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird betreten
Scanning dependencies of target visualization.shadertoy
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird verlassen
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird betreten
[ 60%] Building CXX object CMakeFiles/visualization.shadertoy.dir/src/lodepng.cpp.o
[ 80%] Building CXX object CMakeFiles/visualization.shadertoy.dir/src/main.cpp.o
/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy/src/main.cpp: In member function ‘void CVisualizationShadertoy::RenderTo(GLuint, GLuint)’:
/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy/src/main.cpp:363:42: error: ‘GL_RED’ was not declared in this scope
glTexImage2D(GL_TEXTURE_2D, 0, GL_RED, NUM_BANDS, 2, 0, GL_RED, GL_UNSIGNED_BYTE, m_audioData);
^~~~~~
/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy/src/main.cpp:363:42: note: suggested alternative: ‘GL_RGB’
glTexImage2D(GL_TEXTURE_2D, 0, GL_RED, NUM_BANDS, 2, 0, GL_RED, GL_UNSIGNED_BYTE, m_audioData);
^~~~~~
GL_RGB
/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy/src/main.cpp: In member function ‘GLint CVisualizationShadertoy::LoadTexture(int)’:
/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy/src/main.cpp:509:26: error: ‘GL_RED’ was not declared in this scope
return CreateTexture(GL_RED, NUM_BANDS, 2, m_audioData);
^~~~~~
/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy/src/main.cpp:509:26: note: suggested alternative: ‘GL_RGB’
return CreateTexture(GL_RED, NUM_BANDS, 2, m_audioData);
^~~~~~
GL_RGB
make[5]: *** [CMakeFiles/visualization.shadertoy.dir/build.make:76: CMakeFiles/visualization.shadertoy.dir/src/main.cpp.o] Fehler 1
make[5]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird verlassen
make[4]: *** [CMakeFiles/Makefile2:73: CMakeFiles/visualization.shadertoy.dir/all] Fehler 2
make[4]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird verlassen
make[3]: *** [Makefile:152: all] Fehler 2
make[3]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build/visualization.shadertoy-prefix/src/visualization.shadertoy-build“ wird verlassen
make[2]: *** [CMakeFiles/visualization.shadertoy.dir/build.make:102: visualization.shadertoy-prefix/src/visualization.shadertoy-stamp/visualization.shadertoy-build] Fehler 2
make[2]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build“ wird verlassen
make[1]: *** [CMakeFiles/Makefile2:74: CMakeFiles/visualization.shadertoy.dir/all] Fehler 2
make[1]: Verzeichnis „/usr/src/xbian/xbian-package-xbmc/build/rpi2-matrix/working/cmake/addons/build“ wird verlassen
make: *** [Makefile:84: all] Fehler 2
GL_RED is not defined in GLES2/gl2.h, it's defined in GLES3/gl3.h only (and of course GL/gl.h), which is not part of the Raspberry Pi firmware package