Re: [Qgis-user] Compile error in qgsvectordataprovider.cpp

2008-02-05 Thread Mikhail Umorin
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) CPU5160  @ 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


Re: [Qgis-user] Extremely slow opening project.

2008-02-05 Thread Tim Sutton
Hi

Marco could this be a side effect of progressive rendering? I've
noticed similar issues here.

Regards

Tim

2008/2/4, Michael Hove [EMAIL PROTECTED]:
 QGIS 0.9.2rc1 is extremely slow at opening a project. As an example,
 it took
 approximately 15 minutes to import a project. A similar project in 0.9.1
 took 13 seconds. If I turn render off and then load the project, it
 loads in
 7 seconds. This is on OS X Tiger and Leopard using William Kyngesburye's
 builds. The time to load a project appears to increase rapidly with the
 number of layers in the project.

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



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] grass tools turned off?

2008-02-05 Thread Tim Sutton
Hi

Grass tools are only available when you have a mapset open - do you
have an open mapset?

Regards

Tim

2008/2/3, David Epstein [EMAIL PROTECTED]:
 Hi everyone,

 I remember being able to open the grass tools last week. Now when I have
 grass vector files loaded, I am able to EDIT those files but not use the
 grass tools.

 -david

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



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] Compile error in qgsvectordataprovider.cpp

2008-02-05 Thread Martin Dobias
On Feb 5, 2008 8:21 PM, Mikhail Umorin [EMAIL PROTECTED] wrote:
 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

You can edit those 2 files and change the second parameter's name to
something different (e.g. in2) so they're not the same:
- src/core/spatialindex/include/SpatialIndex.h : line 191
- src/core/spatialindex/include/RTree.h : line 78

 I am using gcc 4.3:

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

Seems like new GCC is more strict than the older versions :-)

I'm going to apply the patches to SVN for the further versions.

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


[Qgis-user] Help Wanted : Release assistants (no rocket science required)

2008-02-05 Thread Tim Sutton
Hi all

As you have probably noticed we are embarking on a more aggressive
release schedule in the run up to the 1.0 release of QGIS. Making a
release takes a lot of time so I'm looking for some helpers! you dont
have to know anything about programming. A little knowledge of html
would be useful. I'm in particular looking for people to help
publicising the releases as they come out. In particular:

 - updating the qgis wiki where relevant
 - updating qgis.org where relevant
 - posting a blog entry to qgis.org
 - posting news announcements to key sites
 - regional helpers to post to language specific sites in their own language

If you are able to help in this regard please contact me.

Many thanks

Regards


-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] Compile error in qgsvectordataprovider.cpp

2008-02-05 Thread Mikhail Umorin
Even if I put #include cstring in Buffer.h I still get the same error

 Martin Dobias [EMAIL PROTECTED] 2/5/08 5:12 PM 
On Feb 6, 2008 12:00 AM, Mikhail Umorin [EMAIL PROTECTED] wrote:
 and if I add suggested includes (cstring and limits) to Buffer.cc then
 I get:

 [ 22%] Building CXX object
 src/core/CMakeFiles/qgis_core.dir/spatialindex/storagemanager/Buffer.o
 In file included from
 /usr/lib/gcc/x86_64-mandriva-linux-gnu/4.3/../../../../include/c++/4.3/cstring:49,
  from
 /var/Archives/qgis_0.9.1/src/core/spatialindex/storagemanager/Buffer.cc:24:
 /usr/include/string.h:302: error: variable or field 'memset'
 declared void
 /usr/include/string.h:302: error: expected primary-expression before
 'void'
 /usr/include/string.h:302: error: expected `)' before 'void'
 make[2]: ***
 [src/core/CMakeFiles/qgis_core.dir/spatialindex/storagemanager/Buffer.o]
 Error 1
 make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
 make: *** [all] Error 2
 [EMAIL PROTECTED] build]$


 So, what should I do now?

I suggest putting #include cstring to Buffer.h instead of putting it
to Buffer.c since it's being used also in the header file.

Hope that helps,
Martin

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