Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

OSX MacOS. Sierra Scantailor

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.
eugeis
Posts: 1
Joined: 19 May 2018, 01:08
Number of books owned: 0
Country: Germany

Re: OSX MacOS. Sierra Scantailor

Post by eugeis » 28 Jul 2018, 05:27

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`

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest