Fails to build:
==> Starting build()...
scons: Reading SConscript files ...
Using configuation file "/home/micwoj92/pkg/mitsuba-git/src/mitsuba/config.py"
Checking for Qt 5.x... yes
Checking for g++ ...no
Could not compile a simple C++ fragment, verify that g++ is installed! This could also mean that the Boost libraries are missing. The file "config.log" should contain more information.
==> ERROR: A failure occurred in build().
Aborting...
Here config.log
file /home/micwoj92/pkg/mitsuba-git/src/mitsuba/build/SConscript.configure,line 137:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for g++ ...
.sconf_temp/conftest_0.cpp <-
|#include <sstream>
| int main(int argc, char **argv) {
| std::ostringstream oss;
| return 0;
| }
g++ -o .sconf_temp/conftest_0.o -c -march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -std=gnu++14 -fPIC -O3 -Wall -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 -DGLEW_MX -I/usr/include/collada-dom-mitsuba2.4 -I/usr/include/collada-dom-mitsuba2.4/1.4 -I/usr/include/glew-1.13.0 -I/usr/include/OpenEXR -I/usr/include/eigen3 -I/usr/include/OpenEXR -Iinclude .sconf_temp/conftest_0.cpp
g++ -o .sconf_temp/conftest_0 "-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs" .sconf_temp/conftest_0.o -lboost_system -lboost_filesystem -lboost_thread -ldl -lm -lpthread -lgomp
/usr/bin/ld: unrecognized option '--sort-common -Wl'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
scons: Configure: no
Pinned Comments
bartus commented on 2019-04-10 11:42 (UTC) (edited on 2024-01-16 10:06 (UTC) by bartus)
Please report
issues
andpatches
to mitsuba-git->github.com