I wonder if there’s someone feeling sane enough to help a completely noob building this.
Trigger warning: I’ve never done anything like this before.
I got this msys64 stuff and did all the preparation from here.
Building and running DT works fine. I then cleaned the msys64 folder from the DT stuff and tried R&DT.
What I did:
git clone https://github.com/aurelienpierre/R-Darktable.git cd r-darktable git checkout dev git submodule init git submodule update ./build.sh
What I got:
[ 65%] Linking C shared module libmap_settings.dll [ 65%] Linking C shared module liblocation.dll [ 65%] Linking C shared module libgamepad.dll [ 65%] Building C object lib/darktable/plugins/CMakeFiles/highpass.dir/introspection_highpass.c.obj [ 65%] Built target image_infos Detaching debug infos for midi. [ 65%] Generating introspection_lowpass.c [ 65%] Built target global_toolbox Detaching debug infos for map_settings. Detaching debug infos for location. C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/lib/libSDL2main.a(SDL_windows_main.c.obj):(.text+0x152): undefined reference to `SDL_main' collect2.exe: error: ld returned 1 exit status make: *** [lib/darktable/plugins/lighttable/CMakeFiles/gamepad.dir/build.make:223: lib/darktable/plugins/lighttable/libgamepad.dll] Error 1 make: *** [CMakeFiles/Makefile2:3655: lib/darktable/plugins/lighttable/CMakeFiles/gamepad.dir/all] Error 2 make: *** Waiting for unfinished jobs.... [ 65%] Linking C shared module libmap_locations.dll [ 65%] Generating introspection_shadhi.c [ 65%] Built target midi [ 65%] Built target map_settings [ 65%] Built target location [ 65%] Building C object lib/darktable/plugins/CMakeFiles/lowpass.dir/introspection_lowpass.c.obj Detaching debug infos for map_locations. [ 65%] Linking C shared module libgeotagging.dll [ 65%] Building C object lib/darktable/plugins/CMakeFiles/shadhi.dir/introspection_shadhi.c.obj [ 65%] Built target map_locations Detaching debug infos for geotagging. [ 65%] Linking C shared module librawprepare.dll [ 66%] Linking C shared module libsoften.dll [ 66%] Built target geotagging Detaching debug infos for rawprepare. Detaching debug infos for soften. [ 66%] Linking C shared module libbloom.dll [ 66%] Built target rawprepare [ 66%] Built target soften [ 66%] Linking C shared module libhighpass.dll Detaching debug infos for bloom. Detaching debug infos for highpass. [ 66%] Built target bloom [ 66%] Built target highpass [ 66%] Linking C shared module liblowpass.dll Detaching debug infos for lowpass. [ 66%] Linking C shared module libshadhi.dll [ 66%] Built target lowpass Detaching debug infos for shadhi. [ 66%] Built target shadhi make: *** [Makefile:156: all] Error 2
I just found out that others used to have this SDL_main error too with DT, but building continued nevertheless. Is there anything obvious I’m doing wrong? Trying with master (just leaving out
git checkout dev, because already in master as far as I understand) leads to the same result.