"Oliver Eichler" <oliver.eich...@gmx.de> writes: > You do "hg pull" and "hg up" in the source path. > > You do "cmake ../QMapShack" in the build path
Oh, so I had just called cmake from the wrong directory. I see now that I was too impatient. > You want to install ccmake, too. Because with ccmake you can change > CMAKE_INSTALL_PREFIX form /usr/local to /usr. Usually it shouldn't > matter as long as you do not end up in two installations. One in /usr > and one in /usr/local. I would prefer to not make install at all. I guess I can call the binary from the build path? I want to continue to use the Debian package. This is just for trying the patch (if it still matters). > When working with Linux you have to be aware what you are doing. So > it's really important to reflect over documentation and error > messages. Usually these things are quite accurate, but you have to > read them and think about them. After I got to know the documentation of Git (among other examples), I'm not too optimistic about the quality of the documentation I find. Ok, this is what I get now. "cmake" succeeds, but "make" stops at this point: | ... | [ 53%] Building CXX object src/CMakeFiles/qmapshack.dir/gis/db/CDBProject.cpp.o | /home/micha/software/QMapShack/src/gis/db/CDBProject.cpp: In member function ‘virtual bool CDBProject::save()’: | /home/micha/software/QMapShack/src/gis/db/CDBProject.cpp:601:31: error: no matching function for call to ‘CProgressDialog::hide(bool)’ | progress.hide(true); | ^ | In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:45:0, | from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1, | from /home/micha/software/build_QMapShack/src/ui_IMainWindow.h:13, | from /home/micha/software/QMapShack/src/CMainWindow.h:23, | from /home/micha/software/QMapShack/src/gis/db/CDBProject.cpp:19: | /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:472:10: note: candidate: void QWidget::hide() | void hide(); | ^~~~ | /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:472:10: note: candidate expects 0 arguments, 1 provided | /home/micha/software/QMapShack/src/gis/db/CDBProject.cpp:603:32: error: no matching function for call to ‘CProgressDialog::hide(bool)’ | progress.hide(false); | ^ | In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:45:0, | from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1, | from /home/micha/software/build_QMapShack/src/ui_IMainWindow.h:13, | from /home/micha/software/QMapShack/src/CMainWindow.h:23, | from /home/micha/software/QMapShack/src/gis/db/CDBProject.cpp:19: | /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:472:10: note: candidate: void QWidget::hide() | void hide(); | ^~~~ | /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:472:10: note: candidate expects 0 arguments, 1 provided | src/CMakeFiles/qmapshack.dir/build.make:4389: recipe for target 'src/CMakeFiles/qmapshack.dir/gis/db/CDBProject.cpp.o' failed | make[2]: *** [src/CMakeFiles/qmapshack.dir/gis/db/CDBProject.cpp.o] Error 1 | CMakeFiles/Makefile2:118: recipe for target 'src/CMakeFiles/qmapshack.dir/all' failed | make[1]: *** [src/CMakeFiles/qmapshack.dir/all] Error 2 | Makefile:151: recipe for target 'all' failed | make: *** [all] Error 2 Here is the output from cmake if it matters: | bash-4.4:micha:build_QMapShack$ cmake ../QMapShack | -- The C compiler identification is GNU 7.2.0 | -- The CXX compiler identification is GNU 7.2.0 | -- Check for working C compiler: /usr/bin/cc | -- Check for working C compiler: /usr/bin/cc -- works | -- Detecting C compiler ABI info | -- Detecting C compiler ABI info - done | -- Detecting C compile features | -- Detecting C compile features - 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 | -- Detecting CXX compile features | -- Detecting CXX compile features - done | -- Performing Test WITH_FPIC | -- Performing Test WITH_FPIC - Success | -- Looking for stdint.h | -- Looking for stdint.h - found | -- Looking for inttypes.h | -- Looking for inttypes.h - found | -- Looking for byteswap.h | -- Looking for byteswap.h - found | -- Check if the system is big endian | -- Searching 16 bit integer | -- Looking for sys/types.h | -- Looking for sys/types.h - found | -- Looking for stddef.h | -- Looking for stddef.h - found | -- Check size of unsigned short | -- Check size of unsigned short - done | -- Using unsigned short | -- Check if the system is big endian - little endian | -- Looking for arc4random | -- Looking for arc4random - not found | -- Found ALGLIB: /usr/lib/x86_64-linux-gnu/libalglib.so | -- Found GDAL: /usr/lib/libgdal.so | -- Found PROJ: /usr/lib/x86_64-linux-gnu/libproj.so | -- Found ROUTINO: /usr/lib/libroutino.so | -- Found ROUTINO: /usr/include | -- Found ROUTINO: /usr/share/routino | -- Found QUAZIP: /usr/lib/x86_64-linux-gnu/libquazip5.so | -- Found QUAZIP: /usr/include/quazip | -- Performing Test Flag:-Wsuggest-override | -- Performing Test Flag:-Wsuggest-override - Success | -- Performing Test Flag:-Woverloaded-virtual | -- Performing Test Flag:-Woverloaded-virtual - Success | -- | -- Configuring done | -- Generating done | -- Build files have been written to: /home/micha/software/build_QMapShack Any idea? Regards, and thanks so far, Michael. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Qlandkartegt-users mailing list Qlandkartegt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users