zzz-db_manager-5-depend : qgis build failed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

zzz-db_manager-5-depend : qgis build failed

nihcas
I am trying to compile QGIS master over Windows 10 and VS 2015 x64 and getting the error:


1>------ Build started: Project: version, Configuration: RelWithDebInfo x64 ------
2>------ Build started: Project: ui, Configuration: RelWithDebInfo x64 ------
3>------ Build started: Project: zzz-db_manager-5-depend, Configuration: RelWithDebInfo x64 ------
3>  Building Custom Rule C:/QGIS/python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeLists.txt
3>  CMake does not need to re-run because C:\BUILD5\python\plugins\db_manager\db_plugins\postgis\plugins\versioning\CMakeFiles\generate.stamp is up-to-date.
3>  Generating ui_DlgVersioning.py
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code -1073741819.
========== Build: 2 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========

Any solution to this?
Reply | Threaded
Open this post in threaded view
|

Re: zzz-db_manager-5-depend : qgis build failed

Jorge Gustavo Rocha
Hi nihcas,

There are updated instructions to build QGIS on Windows (submitted as PR
#4990 during the hackfest in Nødebo).

Take a look at the instructions:

https://github.com/imiara/QGIS/blob/8726146feda8932e4d47e148c8dbba163f179421/doc/msvc.t2t

If you find something missing on these instructions, please let us know.

Regards,

Jorge


On 29-08-2017 09:06, nihcas wrote:

> I am trying to compile QGIS master over Windows 10 and VS 2015 x64 and
> getting the error:
>
>
> 1>------ Build started: Project: version, Configuration: RelWithDebInfo x64
> ------
> 2>------ Build started: Project: ui, Configuration: RelWithDebInfo x64
> ------
> 3>------ Build started: Project: zzz-db_manager-5-depend, Configuration:
> RelWithDebInfo x64 ------
> 3>  Building Custom Rule
> C:/QGIS/python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeLists.txt
> 3>  CMake does not need to re-run because
> C:\BUILD5\python\plugins\db_manager\db_plugins\postgis\plugins\versioning\CMakeFiles\generate.stamp
> is up-to-date.
> 3>  Generating ui_DlgVersioning.py
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5):
> error MSB6006: "cmd.exe" exited with code -1073741819.
> ========== Build: 2 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========
>
> Any solution to this?
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/zzz-db-manager-5-depend-qgis-build-failed-tp5332868.html
> Sent from the QGIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> QGIS-Developer mailing list
> [hidden email]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>

J. Gustavo
--
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: zzz-db_manager-5-depend : qgis build failed

nihcas
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
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer