[Qgis-user] Compile error in qgis1.3.0

Salvatore Larosa s_larosa at libero.it
Wed Dec 16 14:38:30 PST 2009


Can someone give me a hint?


Salvatore Larosa wrote:
> 
> Hi,
> I get the following error compiling qgis 1.3.0 in debian / lenny:
> 
> [ 63%] Building CXX object
> src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o
> /usr/local/grass-6.4.svn/include/grass/Vect.h: In static member function
> ‘static int QgsGrassProvider::openMap(QString, QString, QString,
> QString)’:
> /usr/local/grass-6.4.svn/include/grass/Vect.h:183: error: too few
> arguments to function ‘int Vect_build(Map_info*, FILE*)’
> /home/sam/dev/cpp/qgis-1.3.0/src/providers/grass/qgsgrassprovider.cpp:1070:
> error: at this point in file
> /usr/local/grass-6.4.svn/include/grass/Vect.h: In member function ‘bool
> QgsGrassProvider::closeEdit(bool)’:
> /usr/local/grass-6.4.svn/include/grass/Vect.h:185: error: too few
> arguments to function ‘int Vect_build_partial(Map_info*, int, FILE*)’
> /home/sam/dev/cpp/qgis-1.3.0/src/providers/grass/qgsgrassprovider.cpp:1567:
> error: at this point in file
> /usr/local/grass-6.4.svn/include/grass/Vect.h:183: error: too few
> arguments to function ‘int Vect_build(Map_info*, FILE*)’
> /home/sam/dev/cpp/qgis-1.3.0/src/providers/grass/qgsgrassprovider.cpp:1568:
> error: at this point in file
> make[2]: ***
> [src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o] Error 1
> make[1]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/all] Error 2
> make: *** [all] Error 2
> 
> the output of cmake command is as follows:
> 
> $ cmake ..
> -- Found Proj: /usr/lib/libproj.so
> -- Found Expat: /usr/lib/libexpat.so
> -- Using GSL from /usr
> -- Found GEOS: /usr/lib/libgeos_c.so
> -- Found GDAL: /usr/local/lib/libgdal.so
> -- Found PostgreSQL: /usr/lib/libpq.so
> -- Found GRASS: /usr/local/grass-6.4.svn (6.4.svn)
> -- Python libraries found
> -- Python bindings enabled
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/sam/dev/cpp/qgis-1.3.0/build
> 
> Any hint?
> 
> Thanks!
> 
> 

-- 
View this message in context: http://n2.nabble.com/Compile-error-in-qgis1-3-0-tp4155955p4178418.html
Sent from the qgis-user mailing list archive at Nabble.com.



More information about the Qgis-user mailing list