mitsuba-renderer / mitsuba

Mitsuba renderer main repository
GNU General Public License v3.0
1.04k stars 320 forks source link

failed to build due qt5 #32

Open KammutierSpule opened 7 years ago

KammutierSpule commented 7 years ago

I am using one of the latest Linux Mint (Ubuntu based) it fails to build while looking for qt libraries:

Package QtGui was not found in the pkg-config search path. Perhaps you should add the directory containing `QtGui.pc' to the PKG_CONFIG_PATH environment variable No package 'QtGui' found ... OSError: 'pkg-config QtGui QtWidgets QtCore QtOpenGL QtXml QtXmlPatterns QtNetwork --libs --cflags' exited 1: ...

It looks like it is expecting the 5 in the Qt5* library names. For instance, if I run in command line:

pkg-config Qt5Gui Qt5Widgets Qt5Core Qt5OpenGL Qt5Xml Qt5XmlPatterns Qt5Network --libs --cflags

it returns OK.

dvicini commented 7 years ago

I have exacty the same problem on my arch linux setup. I tried changing the loaded modules to the Qt5 modules (in mitsuba/data/scons/qt.py) and got it to compile. I can even run mtsgui. However, once I try to open a scene in it, I get mtsgui: relocation error: mtsgui: symbol _ZdlPvm, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

I will investigate some more...

dvicini commented 7 years ago

UPDATE: I think downloading Qt5 manually is not necessary if you already installed it in your system. So you can leave out step 1.

Ok, so I figured it out now:

  1. First I installed Qt5 manually in a specific folder. In the config.py I then define

    QTDIR = '/hdd/local/qt5/5.9.1/gcc_64/'
    QTINCLUDE = '/hdd/local/qt5/5.9.1/gcc_64/include/' 

    (insert your path accordingly)

  2. Then in mitsuba/data/scons/qt5.py I changed all the validmodules (line 392) to include the version number, e.g. QtCore => Qt5Core

  3. I changed mitsuba/build/SConscript to load these modules by their updated names, i.e. I changed line 28 to qtEnv.EnableQt5Modules(['Qt5Gui', 'Qt5Widgets', 'Qt5Core', 'Qt5OpenGL', 'Qt5Xml', 'Qt5XmlPatterns', 'Qt5Network'])

  4. These changes should allow you to build everything. After building, I manually added the Qt5 library directory to the LD_LIBRARY_PATH, such that the correct dynamic libraries get loaded. With this I can now run mtsgui and render scenes from it

wjakob commented 7 years ago

Interesting -- especially since compiling Mitsuba with Qt5 currently works on Windows and MacOS. Do you think that this is a linux-specific requirement?

dvicini commented 7 years ago

It seems so, I don't have enough data to tell for sure though. Merlin compiled Mitsuba with Qt5 on OSX last week and that seemed fine (no changes required). I don't have a Windows setup to test, but I guess you have tested that.

I am not sure whether the Qt naming scheme can differ between distributions/package managers.

amyspark commented 7 years ago

@wjakob, I can confirm that Linux indeed needs this change, because of pkg-config's naming conventions: https://github.com/mitsuba-renderer/mitsuba/blob/46650b73a1064e0b074ef620c6da4963d7b17fa1/data/scons/qt5.py#L467 If one has Qt4 around in PATH, it returns those modules instead and thus breaks the build. However: changing module names e.g. QtGui -> Qt5Gui breaks -framework linking in MacOS, so...

lazysquid commented 7 years ago

I also have similar issue but quite different. It is weird cause although I have qt5, I also installed qt4 related libraries.

Package QtWidgets was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtWidgets.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtWidgets' found
OSError: 'pkg-config QtGui QtWidgets QtCore QtOpenGL QtXml QtXmlPatterns QtNetwork --libs --cflags' exited 1:

Currently I'm using ubuntu 16.04 and installed all dependencies.

amyspark commented 7 years ago

@FrostedPenguin, QtWidgets only appears in pkg-config in Qt5 (see qtbase5-dev). Anyway, I think I've fixed it in my fork (waiting for the Linux build to finish OK). I'll file a pull request when done.

hchoi405 commented 5 years ago

For reference, I successfully built mstgui in Ubuntu 18.04.1 with @amyspark's solution. One error I met was 'Qt5XmlPatterns not found' and resolved it by sudo apt install libqt5xmlpatterns5-dev

wuerzig commented 5 years ago

Confirmed @amyspark and @hchoi405 's solutions on Ubuntu 18 LTS

SilvioJin commented 5 years ago

Hi, I had the same problem and after doing what @dvicini suggested I tried to build running the following command:

QT_SELECT=qt5 scons -j8

but I got this errors now:

scons: Reading SConscript files ...
Using configuation file "/home/fen/mitsuba/config.py"
Checking for Qt 5.x... yes
Checking for g++ ...(cached) yes
Checking for C header file png.h... (cached) yes
Checking for C header file jpeglib.h... (cached) yes
Checking for C++ header file ImfRgba.h... (cached) yes
Checking for C++ header file xercesc/dom/DOMLSParser.hpp... (cached) yes
Checking for C++ header file dae.h... (cached) yes
Checking for C++ header file pyconfig.h... (cached) yes
Checking for C++ header file pyconfig.h... (cached) yes
Checking for C++ header file boost/version.hpp... (cached) yes
Checking for C++ header file Eigen/Core... (cached) yes
Checking for C++ header file fftw3.h... (cached) yes
Checking for C header file GL/gl.h... (cached) yes
Checking for C header file GL/glu.h... (cached) yes
Checking for C header file GL/glext.h... (cached) yes
Checking for C header file GL/glew.h... (cached) yes
Checking for C type GLEWContext... (cached) yes
Checking for C header file X11/extensions/xf86vmode.h... (cached) yes
Checking for Mitsuba version .. 0.6.0
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/release/bsdfs/blendbsdf.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/bsdfs/blendbsdf.cpp
g++ -o build/release/libcore/qmc.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_BUILD_MODULE=MTS_MODULE_CORE -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/libcore/qmc.cpp
g++ -o build/release/libcore/random.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_BUILD_MODULE=MTS_MODULE_CORE -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/libcore/random.cpp
g++ -o build/release/libcore/util.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_BUILD_MODULE=MTS_MODULE_CORE -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/libcore/util.cpp
g++ -o build/release/libcore/properties.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_BUILD_MODULE=MTS_MODULE_CORE -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/libcore/properties.cpp
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/cobject.h:23,
                 from include/mitsuba/render/bsdf.h:23,
                 from src/bsdfs/blendbsdf.cpp:19:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
g++ -o build/release/libcore/transform.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_BUILD_MODULE=MTS_MODULE_CORE -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/libcore/transform.cpp
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/qmc.h:23,
                 from src/libcore/qmc.cpp:19:
include/mitsuba/core/constants.h:56:27: error: exponent has no digits
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                           ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:96:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
include/mitsuba/core/constants.h:56:27: error: exponent has no digits
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                           ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:111:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
g++ -o build/release/libcore/plugin.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_BUILD_MODULE=MTS_MODULE_CORE -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/libcore/plugin.cpp
include/mitsuba/core/constants.h:56:27: error: exponent has no digits
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                           ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:1198:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
include/mitsuba/core/constants.h:56:27: error: exponent has no digits
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                           ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:2230:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/random.h:23,
                 from src/libcore/random.cpp:52:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from src/libcore/util.cpp:19:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/properties.h:23,
                 from src/libcore/properties.cpp:19:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
g++ -o build/release/libcore/bitmap.os -c -O3 -Wall -fPIC -std=c++11 -g -pipe -march=nocona -msse2 -ftree-vectorize -mfpmath=sse -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fno-math-errno -fomit-frame-pointer -DMTS_DEBUG -DSINGLE_PRECISION -DSPECTRUM_SAMPLES=3 -DMTS_SSE -DMTS_HAS_COHERENT_RT -fopenmp -fvisibility=hidden -mtls-dialect=gnu2 -fPIC -DMTS_BUILD_MODULE=MTS_MODULE_CORE -DMTS_HAS_LIBPNG=1 -DMTS_HAS_LIBJPEG=1 -DMTS_HAS_OPENEXR=1 -DMTS_HAS_FFTW=1 -DMTS_HAS_COLLADA=1 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude src/libcore/bitmap.cpp
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/matrix.h:23,
                 from include/mitsuba/core/transform.h:23,
                 from src/libcore/transform.cpp:19:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from src/libcore/util.cpp:19:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
src/libcore/util.cpp:530:26: note: in expansion of macro ‘RCPOVERFLOW’
     if (std::abs(det) <= RCPOVERFLOW)
                          ^~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/bitmap.h:23,
                 from src/libcore/bitmap.cpp:19:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/plugin.h:23,
                 from src/libcore/plugin.cpp:19:
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:27: error: exponent has no digits
 #define RCPOVERFLOW_FLT   0x1p-128f
                           ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&, mitsuba::Float&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&, mitsuba::Float&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/properties.h:23,
                 from src/libcore/properties.cpp:19:
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&, mitsuba::Float&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
src/libcore/qmc.cpp: In function ‘mitsuba::Float mitsuba::radicalInverse(int, uint64_t)’:
include/mitsuba/core/constants.h:56:39: error: unable to find numeric literal operator ‘operator""f’
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:96:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
include/mitsuba/core/constants.h:56:39: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:96:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
src/libcore/qmc.cpp: In function ‘mitsuba::Float mitsuba::scrambledRadicalInverse(int, uint64_t, uint16_t*)’:
include/mitsuba/core/constants.h:56:39: error: unable to find numeric literal operator ‘operator""f’
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:111:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
include/mitsuba/core/constants.h:56:39: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:111:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&, mitsuba::Float&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
src/libcore/qmc.cpp: In function ‘mitsuba::Float mitsuba::radicalInverseFast(uint16_t, uint64_t)’:
include/mitsuba/core/constants.h:56:39: error: unable to find numeric literal operator ‘operator""f’
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:1198:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
include/mitsuba/core/constants.h:56:39: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:1198:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
src/libcore/util.cpp: In function ‘bool mitsuba::solveLinearSystem2x2(const Float (*)[2], const Float*, mitsuba::Float*)’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
src/libcore/util.cpp:530:26: note: in expansion of macro ‘RCPOVERFLOW’
     if (std::abs(det) <= RCPOVERFLOW)
                          ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
src/libcore/util.cpp:530:26: note: in expansion of macro ‘RCPOVERFLOW’
     if (std::abs(det) <= RCPOVERFLOW)
                          ^~~~~~~~~~~
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/random.h:23,
                 from src/libcore/random.cpp:52:
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&, mitsuba::Float&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
scons: *** [build/release/libcore/transform.os] Error 1
scons: *** [build/release/libcore/util.os] Error 1
src/libcore/qmc.cpp: In function ‘mitsuba::Float mitsuba::scrambledRadicalInverseFast(uint16_t, uint64_t, uint16_t*)’:
include/mitsuba/core/constants.h:56:39: error: unable to find numeric literal operator ‘operator""f’
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:2230:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
include/mitsuba/core/constants.h:56:39: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define ONE_MINUS_EPS_FLT 0x1.fffffep-1f
                                       ^
include/mitsuba/core/constants.h:86:27: note: in expansion of macro ‘ONE_MINUS_EPS_FLT’
 #define ONE_MINUS_EPS     ONE_MINUS_EPS_FLT
                           ^~~~~~~~~~~~~~~~~
src/libcore/qmc.cpp:2230:30: note: in expansion of macro ‘ONE_MINUS_EPS’
     return std::min(inverse, ONE_MINUS_EPS);
                              ^~~~~~~~~~~~~
scons: *** [build/release/libcore/qmc.os] Error 1
scons: *** [build/release/bsdfs/blendbsdf.os] Error 1
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&, mitsuba::Float&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
scons: *** [build/release/libcore/random.os] Error 1
scons: *** [build/release/libcore/plugin.os] Error 1
In file included from include/mitsuba/mitsuba.h:45:0,
                 from include/mitsuba/core/bitmap.h:23,
                 from src/libcore/bitmap.cpp:19:
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:494:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/matrix.h: In member function ‘bool mitsuba::Matrix2x2::invert2x2(mitsuba::Matrix2x2&, mitsuba::Float&) const’:
include/mitsuba/core/constants.h:58:32: error: unable to find numeric literal operator ‘operator""f’
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
include/mitsuba/core/constants.h:58:32: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define RCPOVERFLOW_FLT   0x1p-128f
                                ^
include/mitsuba/core/constants.h:87:27: note: in expansion of macro ‘RCPOVERFLOW_FLT’
 #define RCPOVERFLOW       RCPOVERFLOW_FLT
                           ^~~~~~~~~~~~~~~
include/mitsuba/core/matrix.h:510:30: note: in expansion of macro ‘RCPOVERFLOW’
         if (std::abs(det) <= RCPOVERFLOW)
                              ^~~~~~~~~~~
scons: *** [build/release/libcore/properties.os] Error 1
In file included from /usr/include/OpenEXR/ImfHeader.h:51:0,
                 from /usr/include/OpenEXR/ImfInputFile.h:46,
                 from src/libcore/bitmap.cpp:37:
/usr/include/OpenEXR/ImathVec.h: At global scope:
/usr/include/OpenEXR/ImathVec.h:228:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     const Vec2 & normalizeExc () throw (IEX_NAMESPACE::MathExc);
                                  ^~~~~
/usr/include/OpenEXR/ImathVec.h:232:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     Vec2<T>  normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                     ^~~~~
/usr/include/OpenEXR/ImathVec.h:440:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     const Vec3 & normalizeExc () throw (IEX_NAMESPACE::MathExc);
                                  ^~~~~
/usr/include/OpenEXR/ImathVec.h:444:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     Vec3<T>  normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                     ^~~~~
/usr/include/OpenEXR/ImathVec.h:622:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     const Vec4 &    normalizeExc () throw (IEX_NAMESPACE::MathExc);
                                     ^~~~~
/usr/include/OpenEXR/ImathVec.h:626:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     Vec4<T>         normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                            ^~~~~
/usr/include/OpenEXR/ImathVec.h:714:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec2<short>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
                              ^~~~~
/usr/include/OpenEXR/ImathVec.h:723:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec2<short>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                     ^~~~~
/usr/include/OpenEXR/ImathVec.h:738:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec2<int>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
                            ^~~~~
/usr/include/OpenEXR/ImathVec.h:747:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec2<int>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                   ^~~~~
/usr/include/OpenEXR/ImathVec.h:762:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec3<short>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
                              ^~~~~
/usr/include/OpenEXR/ImathVec.h:771:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec3<short>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                     ^~~~~
/usr/include/OpenEXR/ImathVec.h:786:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec3<int>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
                            ^~~~~
/usr/include/OpenEXR/ImathVec.h:795:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec3<int>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                   ^~~~~
/usr/include/OpenEXR/ImathVec.h:809:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec4<short>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
                              ^~~~~
/usr/include/OpenEXR/ImathVec.h:818:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec4<short>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                     ^~~~~
/usr/include/OpenEXR/ImathVec.h:833:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec4<int>::normalizeExc () throw (IEX_NAMESPACE::MathExc);
                            ^~~~~
/usr/include/OpenEXR/ImathVec.h:842:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec4<int>::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
                                   ^~~~~
/usr/include/OpenEXR/ImathVec.h:1212:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec2<T>::normalizeExc () throw (IEX_NAMESPACE::MathExc)
                          ^~~~~
/usr/include/OpenEXR/ImathVec.h:1249:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec2<T>::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
                                 ^~~~~
/usr/include/OpenEXR/ImathVec.h:1704:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec3<T>::normalizeExc () throw (IEX_NAMESPACE::MathExc)
                          ^~~~~
/usr/include/OpenEXR/ImathVec.h:1743:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec3<T>::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
                                 ^~~~~
/usr/include/OpenEXR/ImathVec.h:2109:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec4<T>::normalizeExc () throw (IEX_NAMESPACE::MathExc)
                          ^~~~~
/usr/include/OpenEXR/ImathVec.h:2150:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Vec4<T>::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
                                 ^~~~~
In file included from /usr/include/OpenEXR/ImfChromaticities.h:47:0,
                 from /usr/include/OpenEXR/ImfChromaticitiesAttribute.h:47,
                 from /usr/include/OpenEXR/ImfStandardAttributes.h:59,
                 from src/libcore/bitmap.cpp:38:
/usr/include/OpenEXR/ImathMatrix.h:266:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:269:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:272:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:275:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:640:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:643:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:646:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:649:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                         throw (IEX_NAMESPACE::MathExc);
                         ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:1433:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix33<T>::gjInvert (bool singExc) throw (IEX_NAMESPACE::MathExc)
                                      ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:1441:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix33<T>::gjInverse (bool singExc) const throw (IEX_NAMESPACE::MathExc)
                                             ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:1545:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix33<T>::invert (bool singExc) throw (IEX_NAMESPACE::MathExc)
                                    ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:1553:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix33<T>::inverse (bool singExc) const throw (IEX_NAMESPACE::MathExc)
                                           ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:2702:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix44<T>::gjInvert (bool singExc) throw (IEX_NAMESPACE::MathExc)
                                      ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:2710:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix44<T>::gjInverse (bool singExc) const throw (IEX_NAMESPACE::MathExc)
                                             ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:2814:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix44<T>::invert (bool singExc) throw (IEX_NAMESPACE::MathExc)
                                    ^~~~~
/usr/include/OpenEXR/ImathMatrix.h:2822:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Matrix44<T>::inverse (bool singExc) const throw (IEX_NAMESPACE::MathExc)
                                           ^~~~~
src/libcore/bitmap.cpp:266:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     METHODDEF(void) jpeg_error_exit (j_common_ptr cinfo) throw(std::runtime_error) {
                                                          ^~~~~
scons: *** [build/release/libcore/bitmap.os] Error 1
scons: building terminated because of errors.

other (maybe) helpful info:

qmake --version

returns:

QMake version 3.0 Using Qt version 5.6.2 in /home/fen/anaconda3/envs/myProject/lib

added path such that echo $LD_LIBRARY_PATH

returns:

:/home/fen/anaconda3/envs/myProject/lib/pkgconfig/:/home/fen/anaconda3/envs/myProject/lib

Using Ubuntu 18.04.2 LTS.

Can anyone help?

Solved changed -std=c++11 into -std=gnu++11 in the config.py file

LZleejean commented 3 years ago

@SilvioJin 's solution confirm in Ubuntu 20.04. Just changed -std=c++11 into -std=gnu++11 in the config.py file