[QGIS-Developer] Problems building 2.18 on Windows 7 with MS Visual C++ 2010 Express

David Adler dadler at adtechgeospatial.com
Mon May 22 14:58:52 PDT 2017

I haven't tried building QGIS for over a year and the build process is 
now failing.

1. Forked and cloned a clean copy of release-2_18

2. Ran cmake-gui which had the following warning messages but the 
Configure and Generate seemed successful
CMake Warning at CMakeLists.txt:320 (FIND_PACKAGE):
By not providing "FindQJSON.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "QJSON", but
CMake did not find one.

Could not find a package configuration file provided by "QJSON" with any of
the following names:


Add the installation prefix of "QJSON" to CMAKE_PREFIX_PATH or set
"QJSON_DIR" to a directory containing one of the above files. If "QJSON"
provides a separate development package or SDK, be sure it has been

3. Opened the VS project file in qgisbuild and ran BUILD_ALL which had 7 
failures like the following:
98>  Building Custom Rule 
98>  CMake does not need to re-run because 
E:\qgisbuild\python\pyplugin_installer\CMakeFiles\generate.stamp is 
98>  Generating ui_qgsplugininstallerfetchingbase.py
98>  Traceback (most recent call last):
92>  qgis_doublespinbox.vcxproj -> 
98>    File "J:\QGISDB2-218\scripts\\pyuic-wrapper.py", line 26, in <module>
98>      import qgis.PyQt.uic.pyuic
98>    File "E:\qgisbuild\output\python\qgis\__init__.py", line 27, in 
98>      from qgis.core import QgsFeature, QgsGeometry
98>    File "E:\qgisbuild\output\python\qgis\core\__init__.py", line 30, 
in <module>
98>      from qgis._core import *
98>  ImportError: DLL load failed: The specified module could not be found.
98>C:\Program Files 
error MSB6006: "cmd.exe" exited with code 1.

Is there something obvious missing or wrong version of some build software?

This email has been checked for viruses by Avast antivirus software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170522/b82c70f9/attachment-0001.html>

More information about the QGIS-Developer mailing list