Hi everyone, I'm quite new to DT (coming from lightroom) and I'd very much enjoy to be able to compile DT on my own on my windows machine.
I've been following the build file there : darktable <https://github.com/darktable-org/darktable>/packaging <https://github.com/darktable-org/darktable/tree/master/packaging>/windows <https://github.com/darktable-org/darktable/tree/master/packaging/windows>/BUILD.txt option A. The first cmake call (cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/darktable ../.) is working ok. Then i make the second call (cmake --build .). For this one to work I first have to modify darktable\build\src\metadata_gen.c which for some reason had some of its quote mishandled. Once fixed, I can resume the build. Yesterday, this second call worked, but the third (cmake --build . --target install) did not and I ended up with an error dealing with GraphicsMagick. I stopped there for the day. Today, I started out with a git pull to make sure I'm running the latest commit and restarted all the 3 cmake calls : 1st call worked ok. 2nd call errored first at 15% on metadata_gen.c as i mentionned before. Once this is corrected, it then errors right after at 16% : Scanning dependencies of target lib_darktable [ 15%] Building C object src/CMakeFiles/lib_darktable.dir/metadata_gen.c.obj [ 15%] Building C object src/CMakeFiles/lib_darktable.dir/version_gen.c.obj [ 16%] Building C object src/CMakeFiles/lib_darktable.dir/bauhaus/bauhaus.c.obj [ 16%] Building C object src/CMakeFiles/lib_darktable.dir/common/bilateral.c.obj [ 16%] Building C object src/CMakeFiles/lib_darktable.dir/common/bilateralcl.c.obj [ 16%] Building C object src/CMakeFiles/lib_darktable.dir/common/cache.c.obj [ 16%] Building C object src/CMakeFiles/lib_darktable.dir/common/calculator.c.obj [ 16%] Building C object src/CMakeFiles/lib_darktable.dir/common/collection.c.obj In file included from C:/DT/darktable/src/common/collection.c:20: C:/DT/darktable/src/common/collection.c: In function 'dt_collection_shift_image_positions': C:/DT/darktable/src/common/collection.c:1392:84: error: left shift count >= width of type [-Werror=shift-count-overflow] DT_DEBUG_SQLITE3_BIND_INT64(stmt, 3, (image_position & 0xFFFFFFFF00000000) + (1l << 32)); ^~ C:/DT/darktable/src/common/debug.h:65:97: note: in definition of macro '__DT_DEBUG_ASSERT__' _Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wshadow\"") const int x = xin; \ ^~~ C:/DT/darktable/src/common/collection.c:1392:3: note: in expansion of macro 'DT_DEBUG_SQLITE3_BIND_INT64' DT_DEBUG_SQLITE3_BIND_INT64(stmt, 3, (image_position & 0xFFFFFFFF00000000) + (1l << 32)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1.exe: all warnings being treated as errors make[2]: *** [src/CMakeFiles/lib_darktable.dir/build.make:168: src/CMakeFiles/lib_darktable.dir/common/collection.c.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:1439: src/CMakeFiles/lib_darktable.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 I'm not too sure where to look from there, or why I'm getting this error. If someone is able to help out that'd be great. Thanks ahead of time for your support, and hats off for the good work ! Cheers, Seb ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org