It's not compiling with Debian Jessie.
ric@iam:~/dangerdeep-0.4.0_pre3327$ scons -k
scons: Reading SConscript files ...
Compiling for GNU/Linux Environment (linux2)
Using architecture: x86_64
Found GL library "/usr/lib/libGL.so"
Install binary path: /usr/local/bin
Using data dir: /usr/local/share/dangerdeep
Checking for C library GL... (cached) yes
Checking for C library GLU... (cached) yes
Checking for C library SDL... (cached) yes
Checking for C library SDL_image... (cached) yes
Checking for C library SDL_mixer... (cached) yes
Checking for C library fftw3... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C header file gl.h... (cached) yes
Checking for C header file glu.h... (cached) yes
Checking for C header file SDL.h... (cached) yes
Checking for C header file SDL_image.h... (cached) yes
Checking for C header file SDL_mixer.h... (cached) yes
Checking for C header file fftw3.h... (cached) yes
Checking for C header file bzlib.h... (cached) yes
Checking for C library fftw3f... (cached) yes
fftw3 library supports float type. Using it...
Checking for C library avutil... (cached) no
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/home/ric/dangerdeep-0.4.0_pre3327/SConstruct", line 348, in <module>
scons: warning: Two different environments were specified for target cfg.o,
but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/ric/dangerdeep-0.4.0_pre3327/src/SConscript", line 132, in <module>
scons: warning: Two different environments were specified for target keys.o,
but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/ric/dangerdeep-0.4.0_pre3327/src/SConscript", line 132, in <module>
scons: warning: BuildDir() and the build_dir keyword have been deprecated;
use VariantDir() and the variant_dir keyword instead.
File "/home/ric/dangerdeep-0.4.0_pre3327/SConstruct", line 350, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/linux/subsim.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=x86-64 -g -O2 -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/subsim.cpp
In file included from src/subsim.cpp:57:0:
src/faulthandler.h: In function ‘void print_stack_trace()’:
src/faulthandler.h:181:41: error: ‘getpid’ was not declared in this scope
oss << "addr2line -e /proc/" << getpid() << "/exe -s " << addrs;
^
scons: *** [build/linux/subsim.o] Error 1
g++ -o build/linux/sea_object.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=x86-64 -g -O2 -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sea_object.cpp
In file included from src/sea_object.h:32:0,
from src/sea_object.cpp:23:
src/matrix3.h: In instantiation of ‘matrix3t<D>::matrix3t() [with D = double]’:
src/sea_object.cpp:301:19: required from here
src/matrix3.h:40:34: error: ‘memset’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
memset(values, 0, sizeof(D)*3*3);
^
In file included from /usr/include/SDL/SDL_stdinc.h:60:0,
from /usr/include/SDL/SDL_types.h:28,
from src/color.h:26,
from src/primitives.h:27,
from src/polygon.h:31,
from src/sea_object.h:35,
from src/sea_object.cpp:23:
/usr/include/string.h:66:14: note: ‘void* memset(void*, int, size_t)’ declared here, later in the translation unit
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^
scons: *** [build/linux/sea_object.o] Error 1
g++ -o build/linux/model.o -c -Wall `sdl-config --cflags` `pkg-config --cflags x11` -march=x86-64 -g -O2 -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/model.cpp
src/model.cpp: In member function ‘void model::mesh::compile()’:
src/model.cpp:854:31: warning: variable ‘has_texture_u1’ set but not used [-Wunused-but-set-variable]
bool has_texture_u0 = false, has_texture_u1 = false;
^
src/model.cpp: In member function ‘double model::mesh::compute_volume() const’:
src/model.cpp:1143:11: warning: variable ‘abcd’ set but not used [-Wunused-but-set-variable]
vector3 abcd = A + B + C + D;
^
src/model.cpp: In member function ‘void model::mesh::display(const texture*) const’:
src/model.cpp:1724:31: warning: variable ‘has_texture_u1’ set but not used [-Wunused-but-set-variable]
bool has_texture_u0 = false, has_texture_u1 = false;
^
In file included from src/model.h:27:0,
from src/model.cpp:23:
src/matrix3.h: In instantiation of ‘matrix3t<D>::matrix3t() [with D = double]’:
src/model.cpp:678:14: required from here
src/matrix3.h:40:34: error: ‘memset’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
memset(values, 0, sizeof(D)*3*3);
^
In file included from /usr/include/SDL/SDL_stdinc.h:60:0,
from /usr/include/SDL/SDL_main.h:26,
from /usr/include/SDL/SDL.h:30,
from src/texture.h:37,
from src/model.h:29,
from src/model.cpp:23:
/usr/include/string.h:66:14: note: ‘void* memset(void*, int, size_t)’ declared here, later in the translation unit
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^
In file included from src/model.h:28:0,
from src/model.cpp:23:
src/matrix4.h: In instantiation of ‘matrix4t<D>::matrix4t() [with D = float]’:
src/matrix4.h:149:41: required from ‘static matrix4t<D> matrix4t<D>::one() [with D = float]’
src/model.cpp:380:44: required from here
src/matrix4.h:41:34: error: ‘memset’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
memset(values, 0, sizeof(D)*4*4);
^
In file included from /usr/include/SDL/SDL_stdinc.h:60:0,
from /usr/include/SDL/SDL_main.h:26,
from /usr/include/SDL/SDL.h:30,
from src/texture.h:37,
from src/model.h:29,
from src/model.cpp:23:
/usr/include/string.h:66:14: note: ‘void* memset(void*, int, size_t)’ declared here, later in the translation unit
extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
^
scons: *** [build/linux/model.o] Error 1
scons: done building targets (errors occurred during build).
ric@iam:~/dangerdeep-0.4.0_pre3327$