I cannot build latest darktable from git on Debian testing.
I got error
/home/seg/apps/darktable/src/common/imageio_j2k.c:32:10: fatal error: openjpeg.h: No such file or directory
#include <openjpeg.h>
^~~~~~~~~~~~
compilation terminated.
src/CMakeFiles/lib_darktable.dir/build.make:2524: recipe for target 'src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o' failed
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1432: recipe for target 'src/CMakeFiles/lib_darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
It seems I have problem with libopenjpeg-dev library. I remember before I have installed all dependencies and successfully built darktable from git. But after update of my system I cannot do it again.
So did it work or not? The old one was named libopenjpeg-dev
Also, you did purge the build directory already, right?
That solves 99% of the problems usually.