alexey@liparis:~/wrk/temp/scantailor_tmp$ cmake . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Boost version: 1.40.0 -- Checking to see if CXX compiler accepts flag -ffunction-sections -fdata-sections -Wl,--gc-sections -- Checking to see if CXX compiler accepts flag -ffunction-sections -fdata-sections -Wl,--gc-sections - yes -- Checking to see if CXX compiler accepts flag -fno-keep-inline-dllexport -- Checking to see if CXX compiler accepts flag -fno-keep-inline-dllexport - no -- Checking to see if CXX compiler accepts flag -fvisibility=hidden -- Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.6.2 (using /usr/bin/qmake) -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/libX11.so -- Boost version: 1.40.0 -- Found the following Boost libraries: -- unit_test_framework -- prg_exec_monitor -- Checking pthreads with CFLAGS="-pthread" and LIBS="-pthread" -- yes -- Looking for stdint.h -- Looking for stdint.h - found -- Configuring done -- Generating done -- Build files have been written to: /home/alexey/wrk/temp/scantailor_tmp alexey@liparis:~/wrk/temp/scantailor_tmp$ make Scanning dependencies of target compile_translations [ 0%] Generating scantailor_bg.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_bg.qm'... Generated 366 translation(s) (315 finished and 51 unfinished) Ignored 46 untranslated source text(s) [ 0%] Generating scantailor_pt_BR.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_pt_BR.qm'... Generated 363 translation(s) (313 finished and 50 unfinished) Ignored 49 untranslated source text(s) [ 0%] Generating scantailor_uk.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_uk.qm'... Generated 367 translation(s) (315 finished and 52 unfinished) Ignored 45 untranslated source text(s) [ 0%] Generating scantailor_ja.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_ja.qm'... Generated 366 translation(s) (315 finished and 51 unfinished) Ignored 46 untranslated source text(s) [ 0%] Generating scantailor_fr.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_fr.qm'... Generated 308 translation(s) (220 finished and 88 unfinished) Ignored 104 untranslated source text(s) [ 0%] Generating scantailor_hr.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_hr.qm'... Generated 373 translation(s) (367 finished and 6 unfinished) Ignored 39 untranslated source text(s) [ 0%] Generating scantailor_sk.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_sk.qm'... Generated 317 translation(s) (261 finished and 56 unfinished) Ignored 95 untranslated source text(s) [ 0%] Generating scantailor_es.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_es.qm'... Generated 365 translation(s) (313 finished and 52 unfinished) Ignored 47 untranslated source text(s) [ 0%] Generating scantailor_pl.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_pl.qm'... Generated 323 translation(s) (264 finished and 59 unfinished) Ignored 89 untranslated source text(s) [ 0%] Generating scantailor_zh_TW.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_zh_TW.qm'... Generated 305 translation(s) (221 finished and 84 unfinished) Ignored 107 untranslated source text(s) [ 0%] Generating scantailor_it.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_it.qm'... Generated 300 translation(s) (221 finished and 79 unfinished) Ignored 112 untranslated source text(s) [ 0%] Generating scantailor_de.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_de.qm'... Generated 308 translation(s) (222 finished and 86 unfinished) Ignored 104 untranslated source text(s) [ 0%] Generating scantailor_ru.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_ru.qm'... Generated 404 translation(s) (315 finished and 89 unfinished) Ignored 8 untranslated source text(s) [ 0%] Generating scantailor_cs.qm Updating '/home/alexey/wrk/temp/scantailor_tmp/scantailor_cs.qm'... Generated 355 translation(s) (305 finished and 50 unfinished) Ignored 57 untranslated source text(s) [ 3%] Built target compile_translations Scanning dependencies of target toplevel_ui_sources [ 3%] Generating ui_ErrorWidget.h [ 3%] Generating ui_SystemLoadWidget.h [ 3%] Generating ui_NewOpenProjectPanel.h [ 3%] Generating ui_LoadFilesStatusDialog.h [ 3%] Generating ui_SettingsDialog.h [ 3%] Generating ui_RemovePagesDialog.h [ 3%] Generating ui_RelinkingDialog.h [ 3%] Generating ui_MainWindow.h [ 3%] Generating ui_ProjectFilesDialog.h [ 3%] Generating ui_ExportDialog.h [ 3%] Generating ui_AboutDialog.h [ 3%] Generating ui_BatchProcessingLowerPanel.h [ 3%] Generating ui_FixDpiDialog.h [ 3%] Generating ui_OutOfMemoryDialog.h [ 6%] Built target toplevel_ui_sources [ 6%] Generating ui_OutputOptionsWidget.h [ 6%] Generating ApplyColorsDialog.h.moc [ 6%] Generating ChangeDpiDialog.h.moc [ 6%] Generating ImageView.h.moc [ 6%] Generating TabbedImageView.h.moc [ 7%] Generating OptionsWidget.h.moc [ 7%] Generating PictureZonePropDialog.h.moc [ 7%] Generating PictureZoneEditor.h.moc [ 7%] Generating FillZoneEditor.h.moc [ 8%] Generating DespeckleView.h.moc [ 8%] Generating DewarpingView.h.moc [ 8%] Generating ChangeDewarpingDialog.h.moc [ 8%] Generating ui_PictureZonePropDialog.h [ 9%] Generating ui_OutputChangeDewarpingDialog.h [ 9%] Generating ui_OutputChangeDpiDialog.h [ 9%] Generating ui_OutputApplyColorsDialog.h Scanning dependencies of target output [ 9%] Building CXX object filters/output/CMakeFiles/output.dir/ApplyColorsDialog.cpp.o [ 9%] Building CXX object filters/output/CMakeFiles/output.dir/ChangeDpiDialog.cpp.o [ 9%] Building CXX object filters/output/CMakeFiles/output.dir/ImageView.cpp.o [ 10%] Building CXX object filters/output/CMakeFiles/output.dir/TabbedImageView.cpp.o [ 10%] Building CXX object filters/output/CMakeFiles/output.dir/Filter.cpp.o In file included from /home/alexey/wrk/temp/scantailor_tmp/filters/output/Filter.cpp:19: /home/alexey/wrk/temp/scantailor_tmp/filters/output/Filter.h:83: error: invalid cast of an rvalue expression of type ‘QImage’ to type ‘QImage&’ In file included from /home/alexey/wrk/temp/scantailor_tmp/filters/output/Filter.cpp:22: /home/alexey/wrk/temp/scantailor_tmp/filters/output/Task.h:73: error: invalid cast of an rvalue expression of type ‘QImage’ to type ‘QImage&’ make[2]: *** [filters/output/CMakeFiles/output.dir/Filter.cpp.o] Error 1 make[1]: *** [filters/output/CMakeFiles/output.dir/all] Error 2 make: *** [all] Error 2 alexey@liparis:~/wrk/temp/scantailor_tmp$