[QGIS-Developer] zzz-db_manager-5-depend : qgis build failed
nihcas
nihcas.c76 at gmail.com
Wed Aug 30 02:29:55 PDT 2017
Hi Jorge
Thanks for your guideline.
I follow the instructions a below:
1. MS VS 2015 setup with python tools complete.
2. cygwin x64 installed at c:\cygwin.
3. osgeo4w-setup-x86_64.exe installed at D:\OSGeo4W64.
(For this I have used "OSGeo4W-setup-x86_64.exe -R d:\OSGeo4W64 -a x86_64 -A
-k -P qgis-dev -P qtkeychain-qt5-devel -P oci-devel -P expat -P fcgi -P gdal
-P grass -P gsl-devel -P iconv -P libzip-devel -P libspatialindex-devel -P
pyqt5 -P python3-devel -P python3-qscintilla -P python3-nose2 -P
python3-future -P python3-pyyaml -P python3-mock -P qca-qt5-devel -P
qca-qt5-libs -P qscintilla-qt5 -P qt5-devel -P qt5-libs-debug -P
qtwebkit-qt5-devel -P qtwebkit-qt5-libs-debug -P qwt-devel-qt5 -P sip-qt5 -P
spatialite")
4. Ninja.exe copied to d:\OSGeo4W64\bin.
5. cmake-3.7.2-win64-x64.msi installed at C:\Program Files\CMake
6. created at batch file at d:\OSGeo4W64\OSGeo4W-dev.bat. Structure of batch
file is
"@echo off
set OSGEO4W_ROOT=D:\OSGeo4W64
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
call "%OSGEO4W_ROOT%\bin\qt5_env.bat"
call "%OSGEO4W_ROOT%\bin\py3_env.bat"
set VS140COMNTOOLS=%PROGRAMFILES(x86)%\Microsoft Visual Studio
14.0\Common7\Tools\
call "%PROGRAMFILES(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
amd64
set INCLUDE=%INCLUDE%;%PROGRAMFILES(x86)%\Microsoft
SDKs\Windows\v7.1A\Include
set LIB=%LIB%;%PROGRAMFILES(x86)%\Microsoft SDKs\Windows\v7.1A\Lib
path %PATH%;%PROGRAMFILES%\CMake\bin;c:\cygwin\bin
@set GRASS_PREFIX="%OSGEO4W_ROOT%\apps\grass\grass-7.2.1
@set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
@set LIB=%LIB%;%OSGEO4W_ROOT%\lib;%OSGEO4W_ROOT%\lib
@cmd"
7. Open the windows command prompt and run d:\OSGeo4W64\OSGeo4W-dev.bat.
After that check
"git clone git://github.com/qgis/QGIS.git"
9. Open package-nightly.cmd as shown below. I had replaced "cmake -G Ninja"
with "cmake -G "Visual Studio 14 2015 Win64"" and rest **No change**.
10. On the command prompt I have run "OSGeo4W-dev.bat" again. After that
package-nightly.cmd 2.99.0 1 qgis-dev x86_64.
11. *The result in command prompt is as below*:
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd\
C:\>d:
D:\>cd OSGeo4W64
D:\OSGeo4W64>OSGeo4W-dev.bat
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
D:\OSGeo4W64>C:\QGIS\ms-windows\osgeo4w\package-nightly.cmd 2.99.0 1
qgis-dev x86_64
BEGIN: 30-08-2017 14:46:39.15
CMAKE: 30-08-2017 14:46:39.38
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILDNAME
CMAKE_BUILD_TYPE
CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS
CMAKE_PDB_OUTPUT_DIRECTORY_RELWITHDEBINFO
FCGI_INCLUDE_DIR
FCGI_LIBRARY
GEOS_LIBRARY
GRASS_PREFIX7
PEDANTIC
PYTHON_EXECUTABLE
PYTHON_INCLUDE_PATH
PYTHON_LIBRARY
QCA_INCLUDE_DIR
QCA_LIBRARY
QSCINTILLA_LIBRARY
QT_BINARY_DIR
QT_HEADERS_DIR
QT_LIBRARY_DIR
SERVER_SKIP_ECW
SETUPAPI_LIBRARY
SIP_BINARY_PATH
SITE
SPATIALINDEX_LIBRARY
SPATIALITE_LIBRARY
SQLITE3_LIBRARY
WITH_CUSTOM_WIDGETS
WITH_GLOBE
WITH_GRASS
WITH_GRASS7
WITH_ORACLE
WITH_PYSPATIALITE
WITH_QSPATIALITE
WITH_SERVER
-- Build files have been written to: D:/OSGeo4W64/build-qgis-dev-x86_64
FINISHED: 30-08-2017 14:46:51.45
D:\OSGeo4W64>
12. The solution build but not complete. Any suggestion?
<http://osgeo-org.1560.x6.nabble.com/file/t381715/cmake.jpg>
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
More information about the QGIS-Developer
mailing list