Hi. Please try the following: $ cd darktable $ git fetch --all -p $ git rebase origin/master master # or upstream, but i think then you'd know what to do $ cd src/external/rawspeed/ $ git fetch --all -p $ git rebase origin/develop develop $ git clean -f -d -x $ cd ../../../ $ git submodule update -f $ git clean -f -d -x
And then do ./build.sh or however you build the darktable. Roman. On Wed, Apr 26, 2017 at 3:01 AM, Kevin <kmg...@bigpond.com> wrote: > Hi, > > I'm having problems compiling darktable. This has been happening for some time > so is not just some recent change to the source. > > Platform: Fedora 25, completely up-to-date. > > The error is as follows: > > <snip> > [ 21%] Building CXX object src/CMakeFiles/lib_darktable.dir/common/ > imageio_exr.cc.o > /home/kmg/photography/darktable/src/common/imageio_rawspeed.cc:51:76: > error: ‘RawImage’ has not been declared > static dt_imageio_retval_t dt_imageio_open_rawspeed_sraw (dt_image_t *img, > RawImage r, dt_mipmap_buffer_t *buf); > > ^~~~~~~~ > /home/kmg/photography/darktable/src/common/imageio_rawspeed.cc:52:8: error: > ‘CameraMetaData’ does not name a type > static CameraMetaData *meta = NULL; > ^~~~~~~~~~~~~~ > /home/kmg/photography/darktable/src/common/imageio_rawspeed.cc: In function > ‘void dt_rawspeed_load_meta()’: > /home/kmg/photography/darktable/src/common/imageio_rawspeed.cc:56:6: error: > ‘meta’ was not declared in this scope > if(meta == NULL) > ^~~~ > /home/kmg/photography/darktable/src/common/imageio_rawspeed.cc:65:18: > error: expected type-specifier before ‘CameraMetaData’ > meta = new CameraMetaData(camfile); > ^~~~~~~~~~~~~~ > ... plus many more > > The start of the build is as follows: > > warning: unknown feature 'gnome-keyring' > warning: unknown feature 'openmap' > Darktable build script > > Building directory: /home/kmg/photography/darktable/build > Installation prefix: /usr/local > 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 > -- 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 > CMake Warning at CMakeLists.txt:356 (message): > Could not find clang opencl-c.h header include dir > > > CMake Warning at CMakeLists.txt:357 (message): > Test-compilation of OpenCL programs can not be done. > > > -- Test-compilation of OpenCL programs is disabled. > -- Missing jsonschema, problems in noiseprofiles.json might go unnoticed > -- Found xsltproc > -- Found xmllint > -- All external programs found > -- Found msgfmt to convert .po file. Translation enabled > -- Checking for -march=native support > -- Checking for -march=native support - works > -- Checking for -std=c++11 support > -- Checking for -std=c++11 support - works > -- Looking for PThreads > -- Looking for PThreads - found > -- Looking for OpenMP > -- Looking for OpenMP - found > -- Looking for pugixml > -- Found Pugixml 1.80 > -- Looking for pugixml - found (system) > -- Looking for JPEG > -- Looking for JPEG - found > -- Looking for ZLIB > -- Looking for ZLIB - found (system) > -- Looking for xmllint tool > -- Looking for xmllint tool - found > -- Found Glib 2.50.3 > -- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.3", > minimum required is "2.6") > -- Checking for one of the modules 'libsoup-2.2;libsoup2' > -- Found GIO > -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.3") > -- Found Sqlite3 3.14.2 > -- Found JsonGlib > -- Found OpenJPEG > -- Found GraphicsMagick > -- Does the compiler support __builtin_cpu_supports(): 1 > -- Checking for -march=native support > -- Checking for one of the modules 'lua53;lua5.3;lua-5.3;lua' > -- Lua support: System library for lua 5.3 not found (to use darktable's > version use -DDONT_USE_INTERNAL_LUA=Off) > -- Found Pugixml 1.80 > -- Map mode: enabled > -- Print mode: enabled > -- building darktable-cmstest with colord support. nice. > -- > Missing xml2po. No localized usermanuals are build > Missing xml2po > Can NOT update usermanual translations > -- Configuring done > -- Generating done > -- Build files have been written to: /home/kmg/photography/darktable/build > [ 1%] Built target locale_uk > <<end>> > > Cheers, > Kevin > ___________________________________________________________________________ > 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