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`