OSX MacOS. Sierra Scantailor

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.

Moderator: peterZ

eugeis
Posts: 1
Joined: 19 May 2018, 01:08
Number of books owned: 0
Country: Germany

Re: OSX MacOS. Sierra Scantailor

Post by eugeis »

Hello all,

I have problems with jpeg at building,
please any help,
thank you

Here is error message:

Code: Select all

$ make
[  2%] Built target toplevel_ui_sources
[  2%] Automatic MOC for target output
[  2%] Built target output_autogen
[ 11%] Built target output
[ 12%] Automatic MOC for target stcore
[ 12%] Built target stcore_autogen
[ 13%] Building CXX object CMakeFiles/stcore.dir/JpegMetadataLoader.cpp.o
/Users/ee/Downloads/scantailor-EXPERIMENTAL_2016_02_22/JpegMetadataLoader.cpp:130:9: error: cannot initialize
      return object of type 'boolean' with an rvalue of type 'int'
        return 1;
               ^
/Users/ee/Downloads/scantailor-EXPERIMENTAL_2016_02_22/JpegMetadataLoader.cpp:248:28: error: no matching
      function for call to 'jpeg_read_header'
        int const header_status = jpeg_read_header(cinfo.ptr(), 0);
                                  ^~~~~~~~~~~~~~~~
/Library/Frameworks/GTK+.framework/Headers/jpeglib.h:1032:13: note: candidate function not viable: no known
      conversion from 'int' to 'boolean' for 2nd argument
EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
            ^
2 errors generated.
make[2]: *** [CMakeFiles/stcore.dir/JpegMetadataLoader.cpp.o] Error 1
make[1]: *** [CMakeFiles/stcore.dir/all] Error 2
make: *** [all] Error 2

jpeg is installed

Code: Select all

$ brew install jpeg
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from 5d4adead to b335a735.
Updated 1 tap (homebrew/core).
==> Updated Formulae
bitwarden-cli     distcc            fn                mysql-client      mysql@5.7         zanata-client
conan             f3                groonga           mysql@5.6         webpack

Warning: jpeg 9c is already installed and up-to-date
To reinstall 9c, run `brew reinstall jpeg`
jaffamuffin
Posts: 22
Joined: 21 Oct 2011, 09:51
Number of books owned: 0

Re: OSX MacOS. Sierra Scantailor

Post by jaffamuffin »

I can't believe I posted this 2 years ago, and not followed up. I've searched my posts and found no other posts on this so .. wow.. time flies. I did manage to compile it successfully and was treated to a much newer faster version than I had ever used before. (I thought I had already posted this !) thanks all.

I see the link above is from Sep '17, does it all still apply for Mac OS Catalina, having got an even newer faster shiny mac last month.

I would like to build it again, and also for some windows machines - is there a best practice guide for compiling the latest and greatest on windows -- there's a few versions it seems, I'm not sure which one I should be targetting.
Post Reply