Closed alcomposer closed 5 years ago
@alcomposer could you post the full cmake and make logs? I would like to check how LibVIPS is detected on your system.
Thanks!
I have updated the build scripts to download a specific VIPS version (v8.7.4 at the moment), instead of the git HEAD. This version works fine on my system.
Could you please try re-running the build script like this?
CLEAN_VIPS=1 ./build_all.sh
Hmm, VIPS is now fine, but now rawspeed isn't happy! :-(
/home/alexmitchell/Documents/github/PhotoFlow/src/external/rawspeed/src/librawspeed/common/RawImage.cpp:135:57: error: ‘const’ attribute on function returning ‘void’ [-Werror=attributes]
void __attribute__((const)) RawImageData::poisonPadding() {
^
/home/alexmitchell/Documents/github/PhotoFlow/src/external/rawspeed/src/librawspeed/common/RawImage.cpp:156:59: error: ‘const’ attribute on function returning ‘void’ [-Werror=attributes]
void __attribute__((const)) RawImageData::unpoisonPadding() {
It seems that the RawSpeed library version in the master branch does not play well with recent compilers... could you try building the stable
branch instead?
In any case, the stable branch is currently very much ahead of master, and I am trying to plan a new release in the not so far future. So I suggest to stick to the stable development branch to get the latest code (and in particular the OCIO part).
hmmm Just built with stable
and get the same error.
RawImageData::poisonPadding()
etc
That's strange... the implementation of the poisonPadding()
function in the stable branch is here, and does not contain any __attribute__((const))
statement.
Are you sure your local git repository was correctly switched to the stable branch?
git checkout stable
git branch
returns:
master
* stable
I think you need to also do a
git pull origin stable
to update your local copy.
Ok, started again, did:
git checkout stable
Output of git pull origin stable
is:
From https://github.com/aferrero2707/PhotoFlow
* branch stable -> FETCH_HEAD
Already up to date.
Get similar errors to original issue when building.
Looks like the stderr is missing from your last build log... I can see that the compilation has failed, but not the error messages.
I am trying to build the AppImage with the same VIPS version, to see if I can reproduce the compilation issue (the code compiles fine on macOS).
Build with: ./build_all.sh |& tee output_log.txt
:-/
build_log_stderr_stdout.txt
I was able to reproduce the issue with the AppImage build scripts.
I downgraded the VIPS version installed by build_all.sh to 8.5.9, which is the same as used for the AppImages. Could you do a git pull origin stable
and recompile?
As before, please use
CLEAN_VIPS=1 ./build_all.sh
Meanwhile I will adapt the code to be compatible with the most recent VIPS versions...
Thanks!
Yup this resolved the issue. Thanks!
Build all fails with errors: