Closed johnny-mac closed 4 years ago
the Manual.md has a description of the variable equivalent to $pkgdir, DESTDIR
ohh okay, so DESTDIR=$DESTDIR? :P Good to know, thank you.
# Template file for 'projectm'
pkgname=projectm
version=3.1.0
revision=1
build_style=gnu-configure
configure_args="--enable-qt"
hostmakedepends="pkg-config qt5-host-tools autoconf automake libtool glm"
makedepends="pulseaudio-devel alsa-lib-devel glew-devel ftgl-devel libXext-devel SDL2-devel
gtkglext-devel jack-devel qt5-tools-devel libvisual-devel MesaLib-devel glu-devel"
depends="hicolor-icon-theme desktop-file-utils dejavu-fonts-ttf libGL"
short_desc="Cross-platform music visualization milkdrop-compatible"
maintainer="Johnny-Mac <johnny-mac@linuxmail.org>"
license="LGPL-2.1-or-later"
homepage="https://projectm.sourceforge.net"
distfiles="https://github.com/${pkgname}-visualizer/${pkgname}/archive/v${version}.tar.gz"
checksum=8ddf99dc141e554d76a2ecf8d8c1fe7996051e30fa8dd4fc133ce024c8defba7
pre_configure() {
./autogen.sh
}
This is so far what I've got, but it fails to build unfortunately...
make all-recursive
make[1]: Entering directory '/builddir/projectm-3.1.0'
Making all in src
make[2]: Entering directory '/builddir/projectm-3.1.0/src'
Making all in libprojectM
make[3]: Entering directory '/builddir/projectm-3.1.0/src/libprojectM'
Making all in Renderer
make[4]: Entering directory '/builddir/projectm-3.1.0/src/libprojectM/Renderer'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-MilkdropWaveform.lo -MD -MP -MF .deps/libRenderer_la-MilkdropWaveform.Tpo -c -o libRenderer_la-MilkdropWaveform.lo `test -f 'MilkdropWaveform.cpp' || echo './'`MilkdropWaveform.cpp
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PerPixelMesh.lo -MD -MP -MF .deps/libRenderer_la-PerPixelMesh.Tpo -c -o libRenderer_la-PerPixelMesh.lo `test -f 'PerPixelMesh.cpp' || echo './'`PerPixelMesh.cpp
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Pipeline.lo -MD -MP -MF .deps/libRenderer_la-Pipeline.Tpo -c -o libRenderer_la-Pipeline.lo `test -f 'Pipeline.cpp' || echo './'`Pipeline.cpp
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Renderer.lo -MD -MP -MF .deps/libRenderer_la-Renderer.Tpo -c -o libRenderer_la-Renderer.lo `test -f 'Renderer.cpp' || echo './'`Renderer.cpp
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-ShaderEngine.lo -MD -MP -MF .deps/libRenderer_la-ShaderEngine.Tpo -c -o libRenderer_la-ShaderEngine.lo `test -f 'ShaderEngine.cpp' || echo './'`ShaderEngine.cpp
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Texture.lo -MD -MP -MF .deps/libRenderer_la-Texture.Tpo -c -o libRenderer_la-Texture.lo `test -f 'Texture.cpp' || echo './'`Texture.cpp
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Waveform.lo -MD -MP -MF .deps/libRenderer_la-Waveform.Tpo -c -o libRenderer_la-Waveform.lo `test -f 'Waveform.cpp' || echo './'`Waveform.cpp
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Filters.lo -MD -MP -MF .deps/libRenderer_la-Filters.Tpo -c -o libRenderer_la-Filters.lo `test -f 'Filters.cpp' || echo './'`Filters.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-MilkdropWaveform.lo -MD -MP -MF .deps/libRenderer_la-MilkdropWaveform.Tpo -c MilkdropWaveform.cpp -fPIC -DPIC -o .libs/libRenderer_la-MilkdropWaveform.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Texture.lo -MD -MP -MF .deps/libRenderer_la-Texture.Tpo -c Texture.cpp -fPIC -DPIC -o .libs/libRenderer_la-Texture.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Renderer.lo -MD -MP -MF .deps/libRenderer_la-Renderer.Tpo -c Renderer.cpp -fPIC -DPIC -o .libs/libRenderer_la-Renderer.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Pipeline.lo -MD -MP -MF .deps/libRenderer_la-Pipeline.Tpo -c Pipeline.cpp -fPIC -DPIC -o .libs/libRenderer_la-Pipeline.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-ShaderEngine.lo -MD -MP -MF .deps/libRenderer_la-ShaderEngine.Tpo -c ShaderEngine.cpp -fPIC -DPIC -o .libs/libRenderer_la-ShaderEngine.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PerPixelMesh.lo -MD -MP -MF .deps/libRenderer_la-PerPixelMesh.Tpo -c PerPixelMesh.cpp -fPIC -DPIC -o .libs/libRenderer_la-PerPixelMesh.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Filters.lo -MD -MP -MF .deps/libRenderer_la-Filters.Tpo -c Filters.cpp -fPIC -DPIC -o .libs/libRenderer_la-Filters.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Waveform.lo -MD -MP -MF .deps/libRenderer_la-Waveform.Tpo -c Waveform.cpp -fPIC -DPIC -o .libs/libRenderer_la-Waveform.o
PerPixelMesh.cpp: In constructor 'PerPixelMesh::PerPixelMesh(int, int)':
PerPixelMesh.cpp:7:49: warning: declaration of 'height' shadows a member of 'PerPixelMesh' [-Wshadow]
PerPixelMesh::PerPixelMesh(int width, int height) : width(width), height(height), size (width * height),
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:31:6: note: shadowed declaration is here
int height;
^~~~~~
PerPixelMesh.cpp:7:49: warning: declaration of 'width' shadows a member of 'PerPixelMesh' [-Wshadow]
PerPixelMesh::PerPixelMesh(int width, int height) : width(width), height(height), size (width * height),
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:30:6: note: shadowed declaration is here
int width;
^~~~~
PerPixelMesh.cpp: In constructor 'PixelPoint::PixelPoint(float, float)':
PerPixelMesh.cpp:45:40: warning: declaration of 'y' shadows a member of 'PixelPoint' [-Wshadow]
PixelPoint::PixelPoint(float x, float y)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:9:8: note: shadowed declaration is here
float y;
^
PerPixelMesh.cpp:45:40: warning: declaration of 'x' shadows a member of 'PixelPoint' [-Wshadow]
PixelPoint::PixelPoint(float x, float y)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:8:8: note: shadowed declaration is here
float x;
^
PerPixelMesh.cpp: In constructor 'PerPixelContext::PerPixelContext(float, float, float, float, int, int)':
PerPixelMesh.cpp:47:88: warning: declaration of 'j' shadows a member of 'PerPixelContext' [-Wshadow]
PerPixelContext::PerPixelContext(float x, float y, float rad, float theta, int i, int j)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:22:6: note: shadowed declaration is here
int j;
^
PerPixelMesh.cpp:47:88: warning: declaration of 'i' shadows a member of 'PerPixelContext' [-Wshadow]
PerPixelContext::PerPixelContext(float x, float y, float rad, float theta, int i, int j)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:21:6: note: shadowed declaration is here
int i;
^
PerPixelMesh.cpp:47:88: warning: declaration of 'theta' shadows a member of 'PerPixelContext' [-Wshadow]
PerPixelContext::PerPixelContext(float x, float y, float rad, float theta, int i, int j)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:19:8: note: shadowed declaration is here
float theta;
^~~~~
PerPixelMesh.cpp:47:88: warning: declaration of 'rad' shadows a member of 'PerPixelContext' [-Wshadow]
PerPixelContext::PerPixelContext(float x, float y, float rad, float theta, int i, int j)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:18:8: note: shadowed declaration is here
float rad;
^~~
PerPixelMesh.cpp:47:88: warning: declaration of 'y' shadows a member of 'PerPixelContext' [-Wshadow]
PerPixelContext::PerPixelContext(float x, float y, float rad, float theta, int i, int j)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:17:8: note: shadowed declaration is here
float y;
^
PerPixelMesh.cpp:47:88: warning: declaration of 'x' shadows a member of 'PerPixelContext' [-Wshadow]
PerPixelContext::PerPixelContext(float x, float y, float rad, float theta, int i, int j)
^
In file included from PerPixelMesh.cpp:3:
PerPixelMesh.hpp:16:8: note: shadowed declaration is here
float x;
^
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PerPixelMesh.lo -MD -MP -MF .deps/libRenderer_la-PerPixelMesh.Tpo -c PerPixelMesh.cpp -o libRenderer_la-PerPixelMesh.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Texture.lo -MD -MP -MF .deps/libRenderer_la-Texture.Tpo -c Texture.cpp -o libRenderer_la-Texture.o >/dev/null 2>&1
mv -f .deps/libRenderer_la-PerPixelMesh.Tpo .deps/libRenderer_la-PerPixelMesh.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PerlinNoise.lo -MD -MP -MF .deps/libRenderer_la-PerlinNoise.Tpo -c -o libRenderer_la-PerlinNoise.lo `test -f 'PerlinNoise.cpp' || echo './'`PerlinNoise.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PerlinNoise.lo -MD -MP -MF .deps/libRenderer_la-PerlinNoise.Tpo -c PerlinNoise.cpp -fPIC -DPIC -o .libs/libRenderer_la-PerlinNoise.o
mv -f .deps/libRenderer_la-Texture.Tpo .deps/libRenderer_la-Texture.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PipelineContext.lo -MD -MP -MF .deps/libRenderer_la-PipelineContext.Tpo -c -o libRenderer_la-PipelineContext.lo `test -f 'PipelineContext.cpp' || echo './'`PipelineContext.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PipelineContext.lo -MD -MP -MF .deps/libRenderer_la-PipelineContext.Tpo -c PipelineContext.cpp -fPIC -DPIC -o .libs/libRenderer_la-PipelineContext.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PerlinNoise.lo -MD -MP -MF .deps/libRenderer_la-PerlinNoise.Tpo -c PerlinNoise.cpp -o libRenderer_la-PerlinNoise.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-PipelineContext.lo -MD -MP -MF .deps/libRenderer_la-PipelineContext.Tpo -c PipelineContext.cpp -o libRenderer_la-PipelineContext.o >/dev/null 2>&1
In file included from Waveform.hpp:11,
from Waveform.cpp:9:
Renderable.hpp: In constructor 'TypeIdPair::TypeIdPair(const string&, const string&)':
Renderable.hpp:162:62: warning: declaration of 'id2' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:164:14: note: shadowed declaration is here
std::string id2;
^~~
Renderable.hpp:162:62: warning: declaration of 'id1' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:163:14: note: shadowed declaration is here
std::string id1;
^~~
In file included from Waveform.cpp:9:
Waveform.hpp: In constructor 'WaveformContext::WaveformContext(int, BeatDetect*)':
Waveform.hpp:37:49: warning: declaration of 'music' shadows a member of 'WaveformContext' [-Wshadow]
WaveformContext(int samples, BeatDetect *music):samples(samples),music(music){};
^
Waveform.hpp:35:14: note: shadowed declaration is here
BeatDetect *music;
^~~~~
Waveform.hpp:37:49: warning: declaration of 'samples' shadows a member of 'WaveformContext' [-Wshadow]
WaveformContext(int samples, BeatDetect *music):samples(samples),music(music){};
^
Waveform.hpp:31:6: note: shadowed declaration is here
int samples;
^~~~~~~
In file included from Pipeline.hpp:6,
from Pipeline.cpp:7:
Renderable.hpp: In constructor 'TypeIdPair::TypeIdPair(const string&, const string&)':
Renderable.hpp:162:62: warning: declaration of 'id2' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:164:14: note: shadowed declaration is here
std::string id2;
^~~
Renderable.hpp:162:62: warning: declaration of 'id1' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:163:14: note: shadowed declaration is here
std::string id1;
^~~
mv -f .deps/libRenderer_la-PipelineContext.Tpo .deps/libRenderer_la-PipelineContext.Plo
Pipeline.cpp: In member function 'void Pipeline::setStaticPerPixel(int, int)':
Pipeline.cpp:17:48: warning: declaration of 'gy' shadows a member of 'Pipeline' [-Wshadow]
void Pipeline::setStaticPerPixel(int gx, int gy)
^
In file included from Pipeline.cpp:7:
Pipeline.hpp:23:7: note: shadowed declaration is here
int gy;
^~
Pipeline.cpp:17:48: warning: declaration of 'gx' shadows a member of 'Pipeline' [-Wshadow]
void Pipeline::setStaticPerPixel(int gx, int gy)
^
In file included from Pipeline.cpp:7:
Pipeline.hpp:22:7: note: shadowed declaration is here
int gx;
^~
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Renderable.lo -MD -MP -MF .deps/libRenderer_la-Renderable.Tpo -c -o libRenderer_la-Renderable.lo `test -f 'Renderable.cpp' || echo './'`Renderable.cpp
Waveform.cpp: In constructor 'Waveform::Waveform(int)':
Waveform.cpp:19:31: warning: declaration of 'samples' shadows a member of 'Waveform' [-Wshadow]
Waveform::Waveform(int samples)
^
In file included from Waveform.cpp:9:
Waveform.hpp:45:9: note: shadowed declaration is here
int samples; /* number of samples associated with this wave form. Usually powers of 2 */
^~~~~~~
In file included from Filters.hpp:11,
from Filters.cpp:10:
Renderable.hpp: In constructor 'TypeIdPair::TypeIdPair(const string&, const string&)':
Renderable.hpp:162:62: warning: declaration of 'id2' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:164:14: note: shadowed declaration is here
std::string id2;
^~~
Renderable.hpp:162:62: warning: declaration of 'id1' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:163:14: note: shadowed declaration is here
std::string id1;
^~~
In file included from Pipeline.hpp:6,
from Renderer.hpp:9,
from Renderer.cpp:1:
Renderable.hpp: In constructor 'TypeIdPair::TypeIdPair(const string&, const string&)':
Renderable.hpp:162:62: warning: declaration of 'id2' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:164:14: note: shadowed declaration is here
std::string id2;
^~~
Renderable.hpp:162:62: warning: declaration of 'id1' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:163:14: note: shadowed declaration is here
std::string id1;
^~~
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Pipeline.lo -MD -MP -MF .deps/libRenderer_la-Pipeline.Tpo -c Pipeline.cpp -o libRenderer_la-Pipeline.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Renderable.lo -MD -MP -MF .deps/libRenderer_la-Renderable.Tpo -c Renderable.cpp -fPIC -DPIC -o .libs/libRenderer_la-Renderable.o
In file included from Renderer.cpp:1:
Renderer.hpp: In constructor 'Renderer::Renderer(int, int, int, int, BeatDetect*, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)':
Renderer.hpp:112:15: warning: 'Renderer::presetURL' will be initialized after [-Wreorder]
std::string presetURL;
^~~~~~~~~
Renderer.hpp:100:15: warning: 'std::__cxx11::string Renderer::m_presetName' [-Wreorder]
std::string m_presetName;
^~~~~~~~~~~~
Renderer.cpp:22:1: warning: when initialized here [-Wreorder]
Renderer::Renderer(int width, int height, int gx, int gy, BeatDetect *_beatDetect, std::string _presetURL,
^~~~~~~~
In file included from Renderer.cpp:1:
Renderer.hpp:106:7: warning: 'Renderer::vh' will be initialized after [-Wreorder]
int vh;
^~
Renderer.hpp:93:15: warning: 'PerPixelMesh Renderer::mesh' [-Wreorder]
PerPixelMesh mesh;
^~~~
Renderer.cpp:22:1: warning: when initialized here [-Wreorder]
Renderer::Renderer(int width, int height, int gx, int gy, BeatDetect *_beatDetect, std::string _presetURL,
^~~~~~~~
Renderer.cpp: In member function 'void Renderer::draw_fps(float)':
Renderer.cpp:732:38: warning: declaration of 'realfps' shadows a member of 'Renderer' [-Wshadow]
void Renderer::draw_fps(float realfps)
^
In file included from Renderer.cpp:1:
Renderer.hpp:59:9: note: shadowed declaration is here
float realfps;
^~~~~~~
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Filters.lo -MD -MP -MF .deps/libRenderer_la-Filters.Tpo -c Filters.cpp -o libRenderer_la-Filters.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Waveform.lo -MD -MP -MF .deps/libRenderer_la-Waveform.Tpo -c Waveform.cpp -o libRenderer_la-Waveform.o >/dev/null 2>&1
In file included from MilkdropWaveform.hpp:11,
from MilkdropWaveform.cpp:10:
Renderable.hpp: In constructor 'TypeIdPair::TypeIdPair(const string&, const string&)':
Renderable.hpp:162:62: warning: declaration of 'id2' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:164:14: note: shadowed declaration is here
std::string id2;
^~~
Renderable.hpp:162:62: warning: declaration of 'id1' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:163:14: note: shadowed declaration is here
std::string id1;
^~~
In file included from Pipeline.hpp:6,
from ShaderEngine.hpp:15,
from ShaderEngine.cpp:9:
Renderable.hpp: In constructor 'TypeIdPair::TypeIdPair(const string&, const string&)':
Renderable.hpp:162:62: warning: declaration of 'id2' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:164:14: note: shadowed declaration is here
std::string id2;
^~~
Renderable.hpp:162:62: warning: declaration of 'id1' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:163:14: note: shadowed declaration is here
std::string id1;
^~~
mv -f .deps/libRenderer_la-PerlinNoise.Tpo .deps/libRenderer_la-PerlinNoise.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-BeatDetect.lo -MD -MP -MF .deps/libRenderer_la-BeatDetect.Tpo -c -o libRenderer_la-BeatDetect.lo `test -f 'BeatDetect.cpp' || echo './'`BeatDetect.cpp
In file included from ../../../src/libprojectM/Renderer/hlslparser/src/HLSLParser.h:15,
from ShaderEngine.cpp:12:
../../../src/libprojectM/Renderer/hlslparser/src/Engine.h: In constructor 'M4::Array<T>::Array(M4::Allocator*)':
../../../src/libprojectM/Renderer/hlslparser/src/Engine.h:91:34: warning: declaration of 'allocator' shadows a member of 'M4::Array<T>' [-Wshadow]
Array(Allocator * allocator) : allocator(allocator), buffer(NULL), size(0), capacity(0) {}
^
../../../src/libprojectM/Renderer/hlslparser/src/Engine.h:169:17: note: shadowed declaration is here
Allocator * allocator; // @@ Do we really have to keep a pointer to this?
^~~~~~~~~
In file included from MilkdropWaveform.cpp:10:
MilkdropWaveform.hpp: In constructor 'MilkdropWaveform::MilkdropWaveform()':
MilkdropWaveform.hpp:56:6: warning: 'MilkdropWaveform::samples' will be initialized after [-Wreorder]
int samples;
^~~~~~~
MilkdropWaveform.hpp:49:8: warning: 'float MilkdropWaveform::modOpacityStart' [-Wreorder]
float modOpacityStart;
^~~~~~~~~~~~~~~
MilkdropWaveform.cpp:16:1: warning: when initialized here [-Wreorder]
MilkdropWaveform::MilkdropWaveform(): RenderItem(),
^~~~~~~~~~~~~~~~
In file included from MilkdropWaveform.cpp:10:
MilkdropWaveform.hpp:50:8: warning: 'MilkdropWaveform::modOpacityEnd' will be initialized after [-Wreorder]
float modOpacityEnd;
^~~~~~~~~~~~~
MilkdropWaveform.hpp:39:7: warning: 'bool MilkdropWaveform::modulateAlphaByVolume' [-Wreorder]
bool modulateAlphaByVolume;
^~~~~~~~~~~~~~~~~~~~~
MilkdropWaveform.cpp:16:1: warning: when initialized here [-Wreorder]
MilkdropWaveform::MilkdropWaveform(): RenderItem(),
^~~~~~~~~~~~~~~~
In file included from MilkdropWaveform.cpp:10:
MilkdropWaveform.hpp:40:7: warning: 'MilkdropWaveform::maximizeColors' will be initialized after [-Wreorder]
bool maximizeColors;
^~~~~~~~~~~~~~
MilkdropWaveform.hpp:36:7: warning: 'bool MilkdropWaveform::additive' [-Wreorder]
bool additive;
^~~~~~~~
MilkdropWaveform.cpp:16:1: warning: when initialized here [-Wreorder]
MilkdropWaveform::MilkdropWaveform(): RenderItem(),
^~~~~~~~~~~~~~~~
MilkdropWaveform.cpp: In member function 'void MilkdropWaveform::WaveformMath(RenderContext&)':
MilkdropWaveform.cpp:199:8: warning: declaration of 'r' shadows a member of 'MilkdropWaveform' [-Wshadow]
float r, theta;
^
In file included from MilkdropWaveform.cpp:10:
MilkdropWaveform.hpp:27:8: note: shadowed declaration is here
float r;
^
MilkdropWaveform.cpp:232:10: warning: declaration of 'offset' shadows a previous local [-Wshadow]
float offset = first_value-last_value;
^~~~~~
MilkdropWaveform.cpp:201:8: note: shadowed declaration is here
float offset;
^~~~~~
MilkdropWaveform.cpp:234:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i<samples;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:258:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i<512-32;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:276:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i<512-32;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:293:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i<512-32;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:313:13: warning: declaration of 'i' shadows a previous local [-Wshadow]
for (int i=0; i<512-32; i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:340:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i<512-32;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:359:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i< samples;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:386:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i<samples;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:392:14: warning: declaration of 'i' shadows a previous local [-Wshadow]
for ( int i=0;i<samples;i++)
^
MilkdropWaveform.cpp:197:6: note: shadowed declaration is here
int i;
^
MilkdropWaveform.cpp:197:6: warning: unused variable 'i' [-Wunused-variable]
MilkdropWaveform.cpp:201:8: warning: variable 'offset' set but not used [-Wunused-but-set-variable]
float offset;
^~~~~~
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-BeatDetect.lo -MD -MP -MF .deps/libRenderer_la-BeatDetect.Tpo -c BeatDetect.cpp -fPIC -DPIC -o .libs/libRenderer_la-BeatDetect.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Renderer.lo -MD -MP -MF .deps/libRenderer_la-Renderer.Tpo -c Renderer.cpp -o libRenderer_la-Renderer.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-MilkdropWaveform.lo -MD -MP -MF .deps/libRenderer_la-MilkdropWaveform.Tpo -c MilkdropWaveform.cpp -o libRenderer_la-MilkdropWaveform.o >/dev/null 2>&1
ShaderEngine.cpp: In member function 'void ShaderEngine::SetupTextures(GLuint, const Shader&)':
ShaderEngine.cpp:900:5: error: 'uint' was not declared in this scope
uint texNum = 0;
^~~~
ShaderEngine.cpp:900:5: note: suggested alternative:
In file included from /usr/include/glm/detail/qualifier.hpp:3,
from /usr/include/glm/detail/type_vec4.hpp:6,
from /usr/include/glm/detail/type_mat4x4.hpp:6,
from /usr/include/glm/ext/matrix_double4x4.hpp:5,
from /usr/include/glm/mat4x4.hpp:5,
from Renderable.hpp:7,
from Pipeline.hpp:6,
from ShaderEngine.hpp:15,
from ShaderEngine.cpp:9:
/usr/include/glm/detail/setup.hpp:579:23: note: 'glm::uint'
typedef unsigned int uint;
^~~~
ShaderEngine.cpp:922:39: error: 'texNum' was not declared in this scope
glActiveTexture(GL_TEXTURE0 + texNum);
^~~~~~
BeatDetect.cpp: In constructor 'BeatDetect::BeatDetect(PCM*)':
BeatDetect.cpp:39:32: warning: declaration of 'pcm' shadows a member of 'BeatDetect' [-Wshadow]
BeatDetect::BeatDetect(PCM *pcm) {
^
In file included from BeatDetect.cpp:37:
BeatDetect.hpp:52:8: note: shadowed declaration is here
PCM *pcm;
^~~
ShaderEngine.cpp:922:39: note: suggested alternative: 'texName'
glActiveTexture(GL_TEXTURE0 + texNum);
^~~~~~
texName
ShaderEngine.cpp: In member function 'void ShaderEngine::RenderBlurTextures(const Pipeline&, const PipelineContext&)':
ShaderEngine.cpp:952:5: error: 'uint' was not declared in this scope
uint passes = 0;
^~~~
ShaderEngine.cpp:952:5: note: suggested alternative:
In file included from /usr/include/glm/detail/qualifier.hpp:3,
from /usr/include/glm/detail/type_vec4.hpp:6,
from /usr/include/glm/detail/type_mat4x4.hpp:6,
from /usr/include/glm/ext/matrix_double4x4.hpp:5,
from /usr/include/glm/mat4x4.hpp:5,
from Renderable.hpp:7,
from Pipeline.hpp:6,
from ShaderEngine.hpp:15,
from ShaderEngine.cpp:9:
/usr/include/glm/detail/setup.hpp:579:23: note: 'glm::uint'
typedef unsigned int uint;
^~~~
ShaderEngine.cpp:954:9: error: 'passes' was not declared in this scope
passes = 6;
^~~~~~
ShaderEngine.cpp:954:9: note: suggested alternative: 'assert'
passes = 6;
^~~~~~
assert
ShaderEngine.cpp:956:9: error: 'passes' was not declared in this scope
passes = 4;
^~~~~~
ShaderEngine.cpp:956:9: note: suggested alternative: 'assert'
passes = 4;
^~~~~~
assert
ShaderEngine.cpp:958:9: error: 'passes' was not declared in this scope
passes = 2;
^~~~~~
ShaderEngine.cpp:958:9: note: suggested alternative: 'assert'
passes = 2;
^~~~~~
assert
ShaderEngine.cpp:1020:14: error: expected ';' before 'i'
for (uint i=0; i<passes; i++)
^~
;
ShaderEngine.cpp:1020:20: error: 'i' was not declared in this scope
for (uint i=0; i<passes; i++)
^
ShaderEngine.cpp:1020:22: error: 'passes' was not declared in this scope
for (uint i=0; i<passes; i++)
^~~~~~
ShaderEngine.cpp:1020:22: note: suggested alternative: 'assert'
for (uint i=0; i<passes; i++)
^~~~~~
assert
ShaderEngine.cpp: In member function 'void ShaderEngine::reset()':
ShaderEngine.cpp:1199:5: error: 'uint' was not declared in this scope
uint k = 0;
^~~~
ShaderEngine.cpp:1199:5: note: suggested alternative:
In file included from /usr/include/glm/detail/qualifier.hpp:3,
from /usr/include/glm/detail/type_vec4.hpp:6,
from /usr/include/glm/detail/type_mat4x4.hpp:6,
from /usr/include/glm/ext/matrix_double4x4.hpp:5,
from /usr/include/glm/mat4x4.hpp:5,
from Renderable.hpp:7,
from Pipeline.hpp:6,
from ShaderEngine.hpp:15,
from ShaderEngine.cpp:9:
/usr/include/glm/detail/setup.hpp:579:23: note: 'glm::uint'
typedef unsigned int uint;
^~~~
ShaderEngine.cpp:1205:40: error: 'k' was not declared in this scope
float rot_mult = 0.9f*powf(k/8.0f, 3.2f);
^
ShaderEngine.cpp:1218:12: error: 'k' was not declared in this scope
while (k < sizeof(xlate)/sizeof(xlate[0]));
^
ShaderEngine.cpp: In static member function 'static GLuint ShaderEngine::CompileShaderProgram(const string&, const string&, const string&)':
ShaderEngine.cpp:1227:11: warning: unused variable 'Result' [-Wunused-variable]
GLint Result = GL_FALSE;
^~~~~~
ShaderEngine.cpp:1228:9: warning: unused variable 'InfoLogLength' [-Wunused-variable]
int InfoLogLength;
^~~~~~~~~~~~~
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-BeatDetect.lo -MD -MP -MF .deps/libRenderer_la-BeatDetect.Tpo -c BeatDetect.cpp -o libRenderer_la-BeatDetect.o >/dev/null 2>&1
mv -f .deps/libRenderer_la-BeatDetect.Tpo .deps/libRenderer_la-BeatDetect.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Shader.lo -MD -MP -MF .deps/libRenderer_la-Shader.Tpo -c -o libRenderer_la-Shader.lo `test -f 'Shader.cpp' || echo './'`Shader.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Shader.lo -MD -MP -MF .deps/libRenderer_la-Shader.Tpo -c Shader.cpp -fPIC -DPIC -o .libs/libRenderer_la-Shader.o
In file included from Renderable.cpp:3:
Renderable.hpp: In constructor 'TypeIdPair::TypeIdPair(const string&, const string&)':
Renderable.hpp:162:62: warning: declaration of 'id2' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:164:14: note: shadowed declaration is here
std::string id2;
^~~
Renderable.hpp:162:62: warning: declaration of 'id1' shadows a member of 'TypeIdPair' [-Wshadow]
TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
^
Renderable.hpp:163:14: note: shadowed declaration is here
std::string id1;
^~~
Renderable.cpp: In constructor 'Shape::Shape()':
Renderable.cpp:86:15: warning: declaration of 'imageUrl' shadows a member of 'Shape' [-Wshadow]
std::string imageUrl = "";
^~~~~~~~
In file included from Renderable.cpp:3:
Renderable.hpp:62:17: note: shadowed declaration is here
std::string imageUrl;
^~~~~~~~
Renderable.cpp: In member function 'virtual void MotionVectors::Draw(RenderContext&)':
Renderable.cpp:332:19: warning: unused variable 'lz' [-Wunused-variable]
float lx, ly, lz;
^~
mv -f .deps/libRenderer_la-Filters.Tpo .deps/libRenderer_la-Filters.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\""/usr/share/projectM"\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-TextureManager.lo -MD -MP -MF .deps/libRenderer_la-TextureManager.Tpo -c -o libRenderer_la-TextureManager.lo `test -f 'TextureManager.cpp' || echo './'`TextureManager.cpp
make[4]: *** [Makefile:679: libRenderer_la-ShaderEngine.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/libRenderer_la-Pipeline.Tpo .deps/libRenderer_la-Pipeline.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Renderable.lo -MD -MP -MF .deps/libRenderer_la-Renderable.Tpo -c Renderable.cpp -o libRenderer_la-Renderable.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-TextureManager.lo -MD -MP -MF .deps/libRenderer_la-TextureManager.Tpo -c TextureManager.cpp -fPIC -DPIC -o .libs/libRenderer_la-TextureManager.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-Shader.lo -MD -MP -MF .deps/libRenderer_la-Shader.Tpo -c Shader.cpp -o libRenderer_la-Shader.o >/dev/null 2>&1
mv -f .deps/libRenderer_la-Waveform.Tpo .deps/libRenderer_la-Waveform.Plo
mv -f .deps/libRenderer_la-Shader.Tpo .deps/libRenderer_la-Shader.Plo
mv -f .deps/libRenderer_la-Renderer.Tpo .deps/libRenderer_la-Renderer.Plo
mv -f .deps/libRenderer_la-MilkdropWaveform.Tpo .deps/libRenderer_la-MilkdropWaveform.Plo
mv -f .deps/libRenderer_la-Renderable.Tpo .deps/libRenderer_la-Renderable.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -DDATADIR_PATH=\"/usr/share/projectM\" -I../../../vendor -include ../../../config.h -I../../../src/libprojectM/Renderer/hlslparser/src -I../../../src/libprojectM -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -pthread -std=c++11 -MT libRenderer_la-TextureManager.lo -MD -MP -MF .deps/libRenderer_la-TextureManager.Tpo -c TextureManager.cpp -o libRenderer_la-TextureManager.o >/dev/null 2>&1
mv -f .deps/libRenderer_la-TextureManager.Tpo .deps/libRenderer_la-TextureManager.Plo
make[4]: Leaving directory '/builddir/projectm-3.1.0/src/libprojectM/Renderer'
make[3]: *** [Makefile:640: all-recursive] Error 1
make[3]: Leaving directory '/builddir/projectm-3.1.0/src/libprojectM'
make[2]: *** [Makefile:443: all-recursive] Error 1
make[2]: Leaving directory '/builddir/projectm-3.1.0/src'
make[1]: *** [Makefile:513: all-recursive] Error 1
make[1]: Leaving directory '/builddir/projectm-3.1.0'
make: *** [Makefile:403: all] Error 2
@johnny-mac It would be nice if you would open this as a pull request and not as a issue, makes it way easier to comment.
For musl you can add export CXXFLAGS=-D_GNU_SOURCE
to the template and also adding this patch.
musl.patch
--- src/libprojectM/Renderer/ShaderEngine.cpp 2018-09-08 10:09:28.000000000 +0200
+++ - 2018-10-13 16:09:48.835610908 +0200
@@ -14,6 +14,7 @@
#include <glm/mat4x4.hpp> // glm::mat4
#include <glm/gtc/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale, glm::perspective
#include <glm/gtc/type_ptr.hpp>
+#include <sys/types.h>
#include <set>
#include <regex>
Sorry Johnnynator, I've tried to figure out how to make commits but its too much of a struggle for me... I really think git / github could make it much easier than it is... I hope someone here will submit these packages, because I can't. And thank you for the patch!
Edit: ignore this template, new one posted below.
This is so far what I've got for a template for projectM, I've borrowed some of the pkg_install() bits from archlinux, what's the void-equivalent for DESTDIR="$pkgdir" in this case?
edit: I've just realized projectm is no longer using cmake & qt4 in their new version, ignore that.