[Qgis-developer] Merge of refactoring branch

Tom Elwertowski telwertowski at comcast.net
Tue Jan 9 03:55:03 EST 2007


Paolo Cavallini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi all.
> Trying to build and got the first problems:
> cmake .. -DGRASS_PREFIX=/usr/local/grass-6.2.1
> ...
> - -- Could not find GRASS
> ...
> 
> With ccmake I can specify the GRASS_PREFIX, but then:
> # make
> [  0%] Built target svnversion
> [  9%] Built target ui
> [  9%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgis.o
> /home/paolo/Desktop/buildpackage/qgis/src/core/qgis.cpp:10: error:
> ‘VERSION’ was not declared in this scope
> make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgis.o] Error 1
> 
>  GRASS_INCLUDE_DIR
>  GRASS_PREFIX                     /usr/local/grass-6.2.1

I also needed to specify GRASS_INCLUDE_DIR as /usr/local/grass-6.2.1/include

Tom



More information about the Qgis-developer mailing list