Compilation error in rawimage.cc
Issue #254
resolved
I tried to build ART today on Manjaro Arch linux, and it failed with the following error message:
/home/sguyader/Sources/ART/rtengine/rawimage.cc: In member function « int rtengine::RawImage::loadRaw(bool, unsigned int, bool, rtengine::ProgressListener*, double, bool) »:
/home/sguyader/Sources/ART/rtengine/rawimage.cc:739:30: error: « struct libraw_data_t » has no member named « rawparams »; did you want to use « params » ?
739 | libraw_->imgdata.rawparams.shot_select = shot_select;
| ^~~~~~~~~
| params
make[2]: *** [rtengine/CMakeFiles/rtengine.dir/build.make:1112 : rtengine/CMakeFiles/rtengine.dir/rawimage.cc.o] Error 1
make[2]: *** Wainting for unfinished tasks....
make[1]: *** [CMakeFiles/Makefile2:164 : rtengine/CMakeFiles/rtengine.dir/all] Error 2
make: *** [Makefile:136 : all] Error 2
Comments (3)
-
repo owner -
reporter I didn’t change my libraw version since last time it compiled. But I just reinstalled libraw (trying libraw-git from AUR) and it seems to be compiling now. Sorry for the buzz.
-
reporter - changed status to resolved
The issue was solved by reinstalling libraw
- Log in to comment
Hi,
is it possible you have the wrong version of libraw?