[Qgis-developer] Building QGIS with Microsoft Visual Studio in Windows 7

otmane yazidi alaoui yazidiotmane at gmail.com
Tue Aug 26 03:44:40 PDT 2014


I got the following result
_______________________________________________
QGIS Version: 2.5.0 Master (20500)
Could not find GRASS
Found Proj: C: /OSGeo4W/lib/proj_i.lib
GEOS Found: C: /OSGeo4W/lib/geos_c.lib (3.4.2)
Found GDAL: C: /OSGeo4W/lib/gdal_i.lib (1.11.0)
Expat Found: C: /OSGeo4W/lib/libexpat.lib
Spatialindex Found: C: /OSGeo4W/lib/spatialindex_i.lib
Qwt Found: C: /OSGeo4W/lib/qwt5.lib (5.2.1)
Found Sqlite3: C: /OSGeo4W/lib/sqlite3_i.lib
Found PostgreSQL: C: /OSGeo4W/lib/libpq.lib
SpatiaLite Found: C: /OSGeo4W/lib/spatialite_i.lib
Found Qt Version: 4.7.1
Touch support disabled
Qscintilla2 Found: C: /OSGeo4W/lib/qscintilla2.lib (2.6.2)
Pedantic compile settings enabled
Found Python executable C: /OSGeo4W/bin/python.exe
Found Python Version: 2.7.4
Found Python library: C: /OSGeo4W/apps/Python27/libs/python27.lib
Found SIP Version: 4.13.1
Found PyQt4 Version: 4.8.3
Found qscintilla2 PyQt4 module: 2.6.2
GSL Found: C: /OSGeo4W/lib/gsl.lib C: /OSGeo4W/lib/cblas.lib
txt2tags not found - disabled
Ctest Binary Directory set to: C: / dev / cpp / build3 / output / bin
Configuring done
Generating done
-------------------------------------------------- -------------------------
ca mean that all works fine on cmake
but when I open my solution in vs Express
I have this result:
....
187> Compiling manifest to resources ...
187> Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
187> Copyright (C) Microsoft Corporation. All rights reserved.
187> Linking ...
187> LINK: fatal error LNK1104: can not open file '.. \ .. \ core \
RelWithDebInfo \ qgis_core.lib'
187> Build log WAS saved at "file: // c: \ dev \ cpp \ build3 \ src \
providers \ wms \ wmsprovider.dir \ RelWithDebInfo \ BuildLog.htm"
187> wmsprovider - 1 error (s), 0 warning (s)
========== Build: 74 succeeded, 114 failed, 69 up-to-date, 0 skipped
==========
  you have an idea on how to solve this ??
thank you a lot


2014-08-21 20:57 GMT+00:00 otmane yazidi alaoui <yazidiotmane at gmail.com>:

> I sincerely thank you for your help
> I got the following result
> _______________________________________________
> QGIS Version: 2.5.0 Master (20500)
> Could not find GRASS
> Found Proj: C: /OSGeo4W/lib/proj_i.lib
> GEOS Found: C: /OSGeo4W/lib/geos_c.lib (3.4.2)
> Found GDAL: C: /OSGeo4W/lib/gdal_i.lib (1.11.0)
> Expat Found: C: /OSGeo4W/lib/libexpat.lib
> Spatialindex Found: C: /OSGeo4W/lib/spatialindex_i.lib
> Qwt Found: C: /OSGeo4W/lib/qwt5.lib (5.2.1)
> Found Sqlite3: C: /OSGeo4W/lib/sqlite3_i.lib
> Found PostgreSQL: C: /OSGeo4W/lib/libpq.lib
> SpatiaLite Found: C: /OSGeo4W/lib/spatialite_i.lib
> Found Qt Version: 4.7.1
> Touch support disabled
> Qscintilla2 Found: C: /OSGeo4W/lib/qscintilla2.lib (2.6.2)
> Pedantic compile settings enabled
> Found Python executable C: /OSGeo4W/bin/python.exe
> Found Python Version: 2.7.4
> Found Python library: C: /OSGeo4W/apps/Python27/libs/python27.lib
> Found SIP Version: 4.13.1
> Found PyQt4 Version: 4.8.3
> Found qscintilla2 PyQt4 module: 2.6.2
> GSL Found: C: /OSGeo4W/lib/gsl.lib C: /OSGeo4W/lib/cblas.lib
> txt2tags not found - disabled
> Ctest Binary Directory set to: C: / dev / cpp / build3 / output / bin
> Configuring done
> Generating done
> --------------------------------------------------
> -------------------------
> ca mean that all works fine on cmake
> but when I open my solution in vs Express
> I have this result:
> ....
> 187> Compiling manifest to resources ...
> 187> Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> 187> Copyright (C) Microsoft Corporation. All rights reserved.
> 187> Linking ...
> 187> LINK: fatal error LNK1104: can not open file '.. \ .. \ core \
> RelWithDebInfo \ qgis_core.lib'
> 187> Build log WAS saved at "file: // c: \ dev \ cpp \ build3 \ src \
> providers \ wms \ wmsprovider.dir \ RelWithDebInfo \ BuildLog.htm"
> 187> wmsprovider - 1 error (s), 0 warning (s)
> ========== Build: 74 succeeded, 114 failed, 69 up-to-date, 0 skipped
> ==========
>   you have an idea on how to solve this ??
> thank you a lot
>
>
> 2014-08-21 16:45 GMT+00:00 Jürgen E. <jef at norbit.de>:
>
> Hi Otmane,
>>
>> On Thu, 21. Aug 2014 at 15:30:06 +0100, otmane yazidi alaoui wrote:
>> > Hello everyone
>> > I ask you, what I am doing is right or not ??
>> > I really am stuck
>> > thank you very much
>>
>> > > I change the value of:
>> > > PTYHON LIBRIRY T to C: / OSGeo4W / apps / Python27 / Lib
>>
>> Why?   PYTHON_LIBRARY points at
>> %O4W_ROOT%/apps/Python27/libs/python27.lib in
>> package.cmd
>>
>> > > 2> ------ Build started: Project: processing-26-stageinstall,
>> > > Configuration: Debug Win32 ------
>> > > 2> Performing Post-Build Event ...
>> > > 1> Generating qgsexpressionparser.cpp
>> > > 1> m4: can not open `Files \ GnuWin32 / share / bison ': No such file
>> or
>> > > directory
>> > > 1> m4: can not open `C: \ Program: No such file or directory
>> > > 1> m4: can not open `Files \ GnuWin32 / share / bison / m4sugar /
>> > > m4sugar.m4 ': No such file or directory
>>
>> bison.exe (or it's m4) apparently doesn't like to be run from a directory
>> with
>> blanks.  Try installing into a directory without blanks.
>>
>>
>>
>> Jürgen
>>
>> --
>> Jürgen E. Fischer           norBIT GmbH             Tel.
>> +49-4931-918175-31
>> Dipl.-Inf. (FH)             Rheinstraße 13          Fax.
>> +49-4931-918175-50
>> Software Engineer           D-26506 Norden
>> http://www.norbit.de
>> QGIS release manager (PSC)  Germany                    IRC: jef on
>> FreeNode
>>
>> --
>> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
>> Rheinstrasse 13, 26506 Norden
>> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
>
> --
>  ////////////////////////////////////////////////////////
>        YAZIDI ALAOUI OTMANE
>            Ingénieur d'état en Géomatique
>                    Tel:+212652538743
>                    @ :yazidiotmane at gmail.com
> http://www.doyoubuzz.com/otmane-yazidi-alaoui
> //////////////////////////////////////////////////////////////////
>



-- 
 ////////////////////////////////////////////////////////
       YAZIDI ALAOUI OTMANE
           Ingénieur d'état en Géomatique
                   Tel:+212652538743
                   @ :yazidiotmane at gmail.com
http://www.doyoubuzz.com/otmane-yazidi-alaoui
//////////////////////////////////////////////////////////////////
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140826/794debdd/attachment.html>


More information about the Qgis-developer mailing list