message is now printed on stderr, instead of merely "Cannot open
file".
* sample_viewer.cpp: Fixed a bug where positions within a vector
were calculated with floating-point numbers, resulting in
out-of-bounds errors. Fixes bug #2120835.
* various files: Added #include directives required by newer
versions of GCC.