I included "limits.h" and passed through the problem (thanks, Martin!)
but now I have another one:

[ 10%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/spatialindex/qgsspatialindex.o
In file included from
/var/Archives/qgis_0.9.1/src/core/spatialindex/qgsspatialindex.cpp:23:
/var/Archives/qgis_0.9.1/src/core/spatialindex/include/SpatialIndex.h:191:
error: multiple parameters named ‘in’
In file included from
/var/Archives/qgis_0.9.1/src/core/spatialindex/include/SpatialIndex.h:207,
                 from
/var/Archives/qgis_0.9.1/src/core/spatialindex/qgsspatialindex.cpp:23:
/var/Archives/qgis_0.9.1/src/core/spatialindex/include/RTree.h:78:
error: multiple parameters named ‘in’
make[2]: ***
[src/core/CMakeFiles/qgis_core.dir/spatialindex/qgsspatialindex.o] Error
1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2
[EMAIL PROTECTED] build]$   

I am using gcc 4.3:

gcc (GCC) 4.3 20070713 (experimental) (4.3-0.20070713.5mdv2008.0)

>>> "Martin Dobias" <[EMAIL PROTECTED]> 2/5/08 12:26 PM >>>
On Feb 5, 2008 1:12 AM, Mikhail Umorin
<[EMAIL PROTECTED]> wrote:
> > [...]
> > /var/Archives/qgis_0.9.1/src/core/qgsvectordataprovider.cpp:302:
> > error:
> > 'INT_MIN' was not declared in this scope
> > make[2]: ***
> > [src/core/CMakeFiles/qgis_core.dir/qgsvectordataprovider.o] Error
1
> > make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
> > make: *** [all] Error 2
> > []$>
> >
> > What can be the problem? I would appreciate any help
>
> What platform are you compiling on?
>
> Mandriva Linux x86_64:
>
> Linux localhost 2.6.22.12-desktop-1mdv #1 SMP Tue Nov 20 13:15:05
EST
> 2007 x86_64 Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
GNU/Linux

And what version of GCC? The problem seems to be in missing #include
<limits.h> in that file. Can you try adding it and compile again?

Martin
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

Reply via email to