Unfortunately, I havenât been successful with my own build.
Strangely, when doing the âgit clone http://github.com/Beep6581/RawTherapee.git âŚâ, I get an error âfatal: unable to access âhttp://github.com/Beep6581/RawTherapee.git/â: Could not resolve host: github.comâ. Using the IP address (192.30.253.112) directly results in a different, but similar error. Ping works.
So I downloaded the code instead. Make runs with a few warnings (when I first tried it a couple of days ago, there were many more). Program crashes with segmentation fault.
These are the warnings:
[ 7%] Building CXX object rtengine/CMakeFiles/rtengine.dir/cfa_linedn_RT.cc.obj
In function â_ZN8rtengine14RawImageSource10cfa_linednEfbbRKNS0_24CFALineDenoiseRowBlenderE._omp_fn.0â:
cc1plus.exe: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
[ 8%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ciecam02.cc.obj
[ 11%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dcraw.cc.obj
In file included from D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/dcraw.cc:85:0:
C:/msys32/mingw32/i686-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
#warning Please include winsock2.h before windows.h
^~~~~~~
D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/dcraw.cc: In member function âshort int* DCraw::foveon_make_curve(double, double, double)â:
D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/dcraw.cc:3864:9: warning: argument 1 value â4294967295â exceeds maximum object size 2147483647 [-Walloc-size-larger-than=]
curve = (short *) calloc (size+1, sizeof *curve);
In file included from C:/msys32/mingw32/include/c++/7.3.0/cstdlib:75:0,
from C:/msys32/mingw32/include/c++/7.3.0/bits/stl_algo.h:59,
from C:/msys32/mingw32/include/c++/7.3.0/algorithm:62,
from D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/rt_math.h:3,
from D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/dcraw.cc:19:
C:/msys32/mingw32/i686-w64-mingw32/include/stdlib.h:501:17: note: in a call to allocation function 'void* calloc(size_t, size_t)' declared here
void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
^~~~~~
In member function 'short int* DCraw::foveon_make_curve(double, double, double)',
inlined from 'void DCraw::foveon_make_curves(short int**, float*, float*, float)' at D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/dcraw.cc:3882:39:
D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/dcraw.cc:3864:9: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=]
curve = (short *) calloc (size+1, sizeof *curve);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/msys32/mingw32/include/c++/7.3.0/cstdlib:75:0,
from C:/msys32/mingw32/include/c++/7.3.0/bits/stl_algo.h:59,
from C:/msys32/mingw32/include/c++/7.3.0/algorithm:62,
from D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/rt_math.h:3,
from D:/Software/RawTherapee_Source_dev_228/repo/cloned/rtengine/dcraw.cc:19:
C:/msys32/mingw32/i686-w64-mingw32/include/stdlib.h: In member function 'void DCraw::foveon_make_curves(short int**, float*, float*, float)':
C:/msys32/mingw32/i686-w64-mingw32/include/stdlib.h:501:17: note: in a call to allocation function 'void* calloc(size_t, size_t)' declared here
void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
^~~~~~
[ 12%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dcrop.cc.obj