Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qgis master error during cmake configure #23631

Closed
qgib opened this issue Oct 14, 2016 · 4 comments
Closed

qgis master error during cmake configure #23631

qgib opened this issue Oct 14, 2016 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@qgib
Copy link
Contributor

qgib commented Oct 14, 2016

Author Name: Rashad Kanavath (@rkanavath)
Original Redmine Issue: 15708
Affected QGIS version: master
Redmine category:build/install


-- QGIS version: 2.99.0 Master (29900)
-- Could not find GRASS 6
-- Could not find GRASS 7
-- Found Proj: /usr/lib/libproj.so
-- Found GEOS: /usr/lib/libgeos_c.so (3.4.2)
-- Found GDAL: /home/rkanavath/local/gdal/trunk/lib/libgdal.so (2.2.0dev)
-- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so
-- Found Spatialindex: /usr/lib/x86_64-linux-gnu/libspatialindex.so
-- Found Qwt: /usr/lib/libqwt-qt4.so (5.2.3)
-- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so
-- Found PostgreSQL: /usr/lib/x86_64-linux-gnu/libpq.so
-- Found SpatiaLite: /usr/lib/x86_64-linux-gnu/libspatialite.so
-- Qt WebKit support DISABLED.
-- Found Qt version: 5.3.2
-- Touch support disabled
-- Found QScintilla2: /usr/lib/libqscintilla2.so (2.9.3)
-- Found QCA: /usr/lib/x86_64-linux-gnu/libqca.so (2.0.3)
-- QtCore/QCA include/lib variables missing or CMake is cross-compiling,
-- skipping QCA OpenSSL plugin C++ check
-- Pedantic compiler settings enabled
-- Found Python executable: /usr/bin/python3
-- Found Python version: 3.4.2
-- Found Python library: /usr/lib/x86_64-linux-gnu/libpython3.4m.so
-- Found PyQt5 version: 5.3.2
-- Found SIP version: 4.16.4
-- Found QScintilla2 PyQt module: 2.8.4
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/providers/virtual/CMakeLists.txt:5 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/app/CMakeLists.txt:472 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/app/CMakeLists.txt:476 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/helpviewer/CMakeLists.txt:51 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/browser/CMakeLists.txt:52 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/interpolation/CMakeLists.txt:34 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/oracle_raster/CMakeLists.txt:31 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/raster_terrain_analysis/CMakeLists.txt:26 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/coordinate_capture/CMakeLists.txt:26 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/dxf2shp_converter/CMakeLists.txt:29 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/evis/CMakeLists.txt:47 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/spatialquery/CMakeLists.txt:30 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/roadgraph/CMakeLists.txt:45 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/zonal_statistics/CMakeLists.txt:27 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

FindGSL.cmake: gsl-config not found. Please set it manually. GSL_CONFIG=GSL_CONFIG-NOTFOUND
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/gps_importer/CMakeLists.txt:33 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/topology/CMakeLists.txt:36 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/offline_editing/CMakeLists.txt:31 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/heatmap/CMakeLists.txt:26 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/geometry_checker/CMakeLists.txt:82 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
src/plugins/geometry_snapper/CMakeLists.txt:38 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

-- txt2tags not found - disabled
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
cmake/modules/ECMQt4To5Porting.cmake:243 (qt5_add_resources)
images/CMakeLists.txt:9 (QT4_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):

COPY_ONLY

Call Stack (most recent call first):
tests/src/gui/CMakeLists.txt:92 (QT5_ADD_RESOURCES)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Ctest Binary Directory set to: /home/rkanavath/projects/qgis/build/output/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rkanavath/projects/qgis/build

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2016

Author Name: Johannes Kroeger (Johannes Kroeger)


Those are just warnings, not errors. Does the further compilation process finish successfully?

@qgib
Copy link
Contributor Author

qgib commented Dec 7, 2016

Author Name: Matthias Kuhn (@m-kuhn)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Dec 7, 2016

Author Name: Rashad Kanavath (@rkanavath)


yes. I had build errors. qgis master uses qt5 and I have to run a fresh build with option -DWITH_WEBKIT=OFF. If I run simply run cmake and then try to deactivate WEBKIT, it is still throwing error.

I also got a compile error in qgisgui.cpp below change works for me.


diff --git a/src/gui/qgisgui.cpp b/src/gui/qgisgui.cpp
index 51ff7b3..56339a8 100644
--- a/src/gui/qgisgui.cpp
+++ b/src/gui/qgisgui.cpp
@@ -156,8 +156,11 @@ namespace QgisGui
     {
       outputFileName = fileDialog->selectedFiles().first();
     }
-     selectedFilter = fileDialog->selectedFilter();
+     selectedFilter = fileDialog->selectedNameFilter();

     QgsDebugMsg( "Selected filter: " + selectedFilter );
     ext = filterMap.value( selectedFilter, QString::null );

Here is last commit on my local tree
commit 51a56573c5cf45970baaead83640190af2040c1a
Merge: be6672d a6a09d9
Author: Alexander Bruy <alexander.bruy@gmail.com>
Date:   Thu Nov 10 11:45:56 2016 +0200

    Merge pull request #13786 from arnaud-morvan/processing_ogr2ogr_defaults
    
    [processing] fix Ogr2OgrToPostGisList algorithm

@qgib
Copy link
Contributor Author

qgib commented Jan 3, 2017

Author Name: Giovanni Manghi (@gioman)


When having such problems please raise your question in the developers mailing list. There are a lot of devs compiling QGIS master on daily basis, if something is wrong this is spotted very quickly. Problems are then usually local issues.


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant