On Tue, May 16, 2017 at 9:08 PM, Aurélien PIERRE <rese...@aurelienpierre.com> wrote: > Hi, > > I'm trying to compile DT 2.2.4 from the sources on Ubuntu 16.04. I have > installed the dependencies listed on the wiki, plus another required during > the setup but not listed (LLVM 3.9). > > While executing build.sh, I get : > > aurelien@ouranos:~/Softwares/darktable$ ./build.sh Darktable build script > Building directory: /home/aurelien/Softwares/darktable/build Installation > prefix: /opt/darktable Build type: RelWithDebInfo Build generator: > Unix Makefiles Build tasks: 8 > -- Building SSE2-optimized codepaths: ON -- Found little endian system. > Good. -- Is the target platform supported: 1 -- multiarch triplet detected: > x86_64-linux-gnu -- Performing Test > C_COMPILER_UNDERSTANDS_-Wno-error=varargs -- Performing Test > C_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success -- Performing Test > CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs -- Performing Test > CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success -- Performing Test > C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member -- Performing > Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed -- > Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member > -- Performing Test > CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed -- > Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -- > Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 - Success > -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -- > Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 - Success > -- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768 -- Performing > Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success -- Performing Test > CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768 -- Performing Test > CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success -- Performing Test > C_COMPILER_UNDERSTANDS_-Wlarger-than=524288 -- Performing Test > C_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success -- Performing Test > CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288 -- Performing Test > CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success -- Looking for > external programs -- Found perl -- Found intltool-merge -- Found > desktop-file-validate -- Found LLVM 3.9.1 -- Found clang compiler - > /usr/bin/clang-3.9 -- Found clang opencl-c.h header in > /usr/lib/llvm-3.9/lib/clang/3.9.1/include -- Will be able to test-compile > OpenCL programs. Nice. -- Found jsonschema -- Found xsltproc -- Found > xmllint -- All external programs found -- Found msgfmt to convert .po file. > Translation enabled CMake Error at src/CMakeLists.txt:133 (message): The > compiler /usr/bin/c++ has no C++11 support. Please use a different C++ > compiler. > -- Configuring incomplete, errors occurred! See also > "/home/aurelien/Softwares/darktable/build/CMakeFiles/CMakeOutput.log". See > also "/home/aurelien/Softwares/darktable/build/CMakeFiles/CMakeError.log". So what compiler is c++? and which version
> I don't understand why C++11 is not recognized… Any idea ? Have you tried git clean -f -d -x? (i.e. purge build dir) > Thanks. > > -- > > Aurélien PIERRE > aurelienpierre.com Roman. > ________________________________ > > ___________________________________________________________________________ > darktable developer mailing list to unsubscribe send a mail to > darktable-dev+unsubscr...@lists.darktable.org ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org