[Qgis-developer] qgis compilation in windows

2012-10-01 Thread Massimo
Hi,

Is there anyone who can help me on qgis compilation in windows ?
I was able to compile version 1.8.x but now using latest repository version
[1.9.0 Master (10900)] I don´t.

Problems start with Project: python_module_qgis_networkanalysis as shown
below:


-- Build started: Project: python_module_qgis_networkanalysis,
Configuration: RelWithDebInfo Win32 --
Generating analysis/network/sipnetworkanalysispart0.cpp,
analysis/network/sipnetworkanalysispart1.cpp,
analysis/network/sipnetworkanalysispart2.cpp,
analysis/network/sipnetworkanalysispart3.cpp
sip: Deprecation warning:
C:/develop/Gis/Quantum-GIS/python/analysis/network/networkanalysis.sip:1:
%Module version number should be specified using the 'version' argument
sip: Deprecation warning: C:/develop/Gis/Quantum-GIS/python/core/core.sip:1:
%Module version number should be specified using the 'version' argument
Compiling...
sipnetworkanalysispart3.cpp
sipnetworkanalysispart2.cpp
sipnetworkanalysispart1.cpp
.\analysis\network\sipnetworkanalysispart1.cpp(338) : *error C2039:
'senderSignalIndex'* : is not a member of 'QObject'
C:\OSGeo4W\include\qt4\QtCore\qobject.h(122) : see declaration of
'QObject'
.\analysis\network\sipnetworkanalysispart1.cpp(338) : *error C3861:
'senderSignalIndex':* identifier not found
.\analysis\network\sipnetworkanalysispart1.cpp(1253) : *error C2039:
'senderSignalIndex'* : is not a member of 'QObject'
C:\OSGeo4W\include\qt4\QtCore\qobject.h(122) : see declaration of
'QObject'
.\analysis\network\sipnetworkanalysispart1.cpp(1253) :* error C3861:
'senderSignalIndex':* identifier not found
sipnetworkanalysispart0.cpp
Generating Code...
Build log was saved at
"file://c:\develop\Gis\Quantum-GIS-build\python\python_module_qgis_networkanalysis.dir\RelWithDebInfo\BuildLog.htm"
python_module_qgis_networkanalysis - 4 error(s), 2 warning(s)


Cmake configuration is the following:
Quantum GIS version: 1.9.0 Master (10900)
Could not find GRASS
Found Proj: C:/OSGeo4W/lib/proj_i.lib
Found GEOS: C:/OSGeo4W/lib/geos_c_i.lib
Found GDAL: C:/OSGeo4W/lib/gdal_i.lib (1.9.1)
Found Expat: C:/OSGeo4W/lib/libexpat.lib
Found Spatialindex: C:/OSGeo4W/lib/spatialindex_i.lib
Found Qwt: C:/OSGeo4W/lib/qwt5.lib (5.2.1)
Found Sqlite3: C:/OSGeo4W/lib/sqlite3_i.lib
Found PostgreSQL: C:/OSGeo4W/lib/libpq.lib
Found SpatiaLite: C:/OSGeo4W/lib/spatialite_i.lib
Touch support disabled
Pedantic compiler settings enabled
Found Python executable: C:/OSGeo4W/bin/python.exe
Found Python version: 2.7.2
Found Python library: C:/OSGeo4W/apps/Python27/libs/python27.lib
Found SIP version: 4.14
Found PyQt4 version: 4.9.5
Found GSL: C:/OSGeo4W/lib/gsl.lib;C:/OSGeo4W/lib/cblas.lib
txt2tags not found - disabled
Ctest Binary Directory  set to: C:/develop/Gis/Quantum-GIS-build/output/bin
Configuring done
Generating done

Thank you



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/qgis-compilation-in-windows-tp5005634.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] qgis compilation in windows

2012-10-01 Thread Jürgen E . Fischer
Hi Massimo,

On Mon, 01. Oct 2012 at 09:58:02 -0700, Massimo wrote:

> Found Python executable: C:/OSGeo4W/bin/python.exe
> Found Python version: 2.7.2
> Found Python library: C:/OSGeo4W/apps/Python27/libs/python27.lib
> Found SIP version: 4.14
> Found PyQt4 version: 4.9.5

Apparently you are not using OSGeo4W's sip and PyQt.
That should be sip 4.12.1 and PyQt4 4.8.3.


Jürgen 

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS 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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] qgis compilation in windows

2012-10-02 Thread Massimo
Jürgen E. Fischer wrote
> Hi Massimo,
> 
> On Mon, 01. Oct 2012 at 09:58:02 -0700, Massimo wrote:
> 
>> Found Python executable: C:/OSGeo4W/bin/python.exe
>> Found Python version: 2.7.2
>> Found Python library: C:/OSGeo4W/apps/Python27/libs/python27.lib
>> Found SIP version: 4.14
>> Found PyQt4 version: 4.9.5
> 
> Apparently you are not using OSGeo4W's sip and PyQt.
> That should be sip 4.12.1 and PyQt4 4.8.3.

Hi Jürgen,
you are right. The problem happened because I started cmake from windows
start menu->all programs->cmake 2.8 and not from the OSGeo command shell. 
Now I get:
- Found SIP version: 4.13.1
- Found PyQt4 version: 4.8.3
And I'm able to successful compile qgis.

BTW:
I've never understood how to use the python interpreter and qt installed
with OSGeo to write my plugins since that when I need to install third-party
python libs with PIP, it fails because pip looks for python interpreter in
the standard directory like c:\python27

Thank you.
Massimo



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/qgis-compilation-in-windows-tp5005634p5005782.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] qgis compilation in windows

2012-10-02 Thread petrosapotsos
Dear Massimo,

I am using ERIC4 for python project management. Connenct nicely with Qt as
well, and all works fine with QGIS 1.8 in Windows.
Good Luck,

Petros Apotsos



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/qgis-compilation-in-windows-tp5005634p5005849.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer