Build QGIS from source

11 messages Options Options
Embed this Post
Permalink
Sebastian Schmitz-3

Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
Hi
I want to build qgis from SVN trunk source.
I followed this documentation for Linux running ubuntu edgy:
http://wiki.qgis.org/qgiswiki/BuildingFromSource

I get through to step 4.9. Then one question remains: how do I build?

Cheers

Sebastian

--
---------------------------------------
WhereGroup
GmbH & Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:sebastian.schmitz@...
http://www.wheregroup.com
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


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

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
Hello Sebastian,

Sebastian Schmitz <sebastian.schmitz@...>, [20070618 -
12:19:12]

> I want to build qgis from SVN trunk source.
> I followed this documentation for Linux running ubuntu edgy:
> http://wiki.qgis.org/qgiswiki/BuildingFromSource
>
> I get through to step 4.9. Then one question remains: how do I build?

'make' does not help?

Cheers
       
        Stephan

--
Stephan Holl <stephan.holl@...>, http://intevation.de/~stephan
Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
_______________________________________________
Qgis-user mailing list
Qgis-user@...
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Sebastian Schmitz-3

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
In which directory?

checked out sources to ~/dev/cpp. contains a folder qgis.
created dir ~/apps. empty.

make does not do anything - does not find a make-Steuerdatei - Makefile

Cheers

Sebastian

Stephan Holl schrieb:

> Hello Sebastian,
>
> Sebastian Schmitz <sebastian.schmitz@...>, [20070618 -
> 12:19:12]
>
>  
>> I want to build qgis from SVN trunk source.
>> I followed this documentation for Linux running ubuntu edgy:
>> http://wiki.qgis.org/qgiswiki/BuildingFromSource
>>
>> I get through to step 4.9. Then one question remains: how do I build?
>>    
>
> 'make' does not help?
>
> Cheers
>
> Stephan
>
>  

--
---------------------------------------
WhereGroup
GmbH & Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:sebastian.schmitz@...
http://www.wheregroup.com
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


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

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
Hello Sebastian,

Sebastian Schmitz <sebastian.schmitz@...>, [20070618 -
12:33:12]

> In which directory?
>
> checked out sources to ~/dev/cpp. contains a folder qgis.
> created dir ~/apps. empty.
>
> make does not do anything - does not find a make-Steuerdatei -
> Makefile

Ah, OK. You need to build the Makefiles using CMake. (adjust your
pathes).

QGISTARGET=~/apps
GRASSBINS=/home/holl/cvs/grass_HEAD/dist.i686-pc-linux-gnu
QT4DIR=/usr/share/qt4
export PATH=${QT4DIR}/bin:$PATH
export LD_LIBRARY_PATH=${QT4DIR}/lib:$LD_LIBRARY_PATH
cd ~/dev/cpp/qgis/
mkdir -p build
cd build
cmake -D GRASS_PREFIX=${GRASSBINS} -D \
CMAKE_INSTALL_PREFIX=${QGISTARGET} -D QT_BINARY_DIR=${QT4DIR}/bin -D \
WITH_BINDINGS=yes -D CMAKE_BUILD_TYPE=debug .. \
make

the above stuff is described under 3.7 though not with my options.

HTH

        Stephan


--
Stephan Holl <stephan.holl@...>, http://intevation.de/~stephan
Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
_______________________________________________
Qgis-user mailing list
Qgis-user@...
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Tim Sutton

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
Hi

My apologies I just realised there is a piece missing from the linux
build notes which explains why you got stuck at a certain point! I
will try to update the notes tonight....

Regards

Tim

2007/6/18, Stephan Holl <stephan.holl@...>:

> Hello Sebastian,
>
> Sebastian Schmitz <sebastian.schmitz@...>, [20070618 -
> 12:33:12]
>
> > In which directory?
> >
> > checked out sources to ~/dev/cpp. contains a folder qgis.
> > created dir ~/apps. empty.
> >
> > make does not do anything - does not find a make-Steuerdatei -
> > Makefile
>
> Ah, OK. You need to build the Makefiles using CMake. (adjust your
> pathes).
>
> QGISTARGET=~/apps
> GRASSBINS=/home/holl/cvs/grass_HEAD/dist.i686-pc-linux-gnu
> QT4DIR=/usr/share/qt4
> export PATH=${QT4DIR}/bin:$PATH
> export LD_LIBRARY_PATH=${QT4DIR}/lib:$LD_LIBRARY_PATH
> cd ~/dev/cpp/qgis/
> mkdir -p build
> cd build
> cmake -D GRASS_PREFIX=${GRASSBINS} -D \
> CMAKE_INSTALL_PREFIX=${QGISTARGET} -D QT_BINARY_DIR=${QT4DIR}/bin -D \
> WITH_BINDINGS=yes -D CMAKE_BUILD_TYPE=debug .. \
> make
>
> the above stuff is described under 3.7 though not with my options.
>
> HTH
>
>         Stephan
>
>
> --
> Stephan Holl <stephan.holl@...>, http://intevation.de/~stephan
> Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
> Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@...
> 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@...
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Sebastian Schmitz-3

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
Hi,

that would be greatly appreciated.

Thanks

Sebastian

Tim Sutton schrieb:

> Hi
>
> My apologies I just realised there is a piece missing from the linux
> build notes which explains why you got stuck at a certain point! I
> will try to update the notes tonight....
>
> Regards
>
> Tim
>
> 2007/6/18, Stephan Holl <stephan.holl@...>:
>> Hello Sebastian,
>>
>> Sebastian Schmitz <sebastian.schmitz@...>, [20070618 -
>> 12:33:12]
>>
>> > In which directory?
>> >
>> > checked out sources to ~/dev/cpp. contains a folder qgis.
>> > created dir ~/apps. empty.
>> >
>> > make does not do anything - does not find a make-Steuerdatei -
>> > Makefile
>>
>> Ah, OK. You need to build the Makefiles using CMake. (adjust your
>> pathes).
>>
>> QGISTARGET=~/apps
>> GRASSBINS=/home/holl/cvs/grass_HEAD/dist.i686-pc-linux-gnu
>> QT4DIR=/usr/share/qt4
>> export PATH=${QT4DIR}/bin:$PATH
>> export LD_LIBRARY_PATH=${QT4DIR}/lib:$LD_LIBRARY_PATH
>> cd ~/dev/cpp/qgis/
>> mkdir -p build
>> cd build
>> cmake -D GRASS_PREFIX=${GRASSBINS} -D \
>> CMAKE_INSTALL_PREFIX=${QGISTARGET} -D QT_BINARY_DIR=${QT4DIR}/bin -D \
>> WITH_BINDINGS=yes -D CMAKE_BUILD_TYPE=debug .. \
>> make
>>
>> the above stuff is described under 3.7 though not with my options.
>>
>> HTH
>>
>>         Stephan
>>
>>
>> --
>> Stephan Holl <stephan.holl@...>, http://intevation.de/~stephan
>> Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
>> Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user@...
>> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
>>
>
>

--
---------------------------------------
WhereGroup
GmbH & Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:sebastian.schmitz@...
http://www.wheregroup.com
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


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

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
Hi,
let me provide some detail, so you can maybe include this when updating
http://wiki.qgis.org/qgiswiki/BuildingFromSource.
These are my problems trying to build QGIS from SVN source on kubuntu
edgy eft (sources.list below).

Following http://wiki.qgis.org/qgiswiki/BuildingFromSource:

at step 4.3: libqt4-debug-dev is not available
at step 4.4: libgdal1-dev is not available, but is replaced by
libgdal1-1.3.1-dev
instead of 4.9 installed cmake and did 3.7 and then 3.9 called cmake
like this: cmake -D CMAKE_INSTALL_PREFIX=/home/schmitz/apps/ .
some warnings no errors.

When I then run ~/apps/bin/qgis
I first get this: ./qgis: symbol lookup error: ./qgis: undefined symbol:
_ZN10QgsMapTool9setActionEP7QAction
then at second try this: Segmentation fault (core dumped)

Any help appreciated.

Cheers

Sebastian

#
# deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025)]/ edgy
main restricted


##deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025)]/ edgy
main restricted

deb http://de.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ edgy universe
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ edgy-backports main restricted
universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-backports main
restricted universe multiverse


deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted
deb http://security.ubuntu.com/ubuntu edgy-security universe
deb-src http://security.ubuntu.com/ubuntu edgy-security universe


Sebastian Schmitz schrieb:

> Hi,
>
> that would be greatly appreciated.
>
> Thanks
>
> Sebastian
>
> Tim Sutton schrieb:
>> Hi
>>
>> My apologies I just realised there is a piece missing from the linux
>> build notes which explains why you got stuck at a certain point! I
>> will try to update the notes tonight....
>>
>> Regards
>>
>> Tim
>>
>> 2007/6/18, Stephan Holl <stephan.holl@...>:
>>> Hello Sebastian,
>>>
>>> Sebastian Schmitz <sebastian.schmitz@...>, [20070618 -
>>> 12:33:12]
>>>
>>> > In which directory?
>>> >
>>> > checked out sources to ~/dev/cpp. contains a folder qgis.
>>> > created dir ~/apps. empty.
>>> >
>>> > make does not do anything - does not find a make-Steuerdatei -
>>> > Makefile
>>>
>>> Ah, OK. You need to build the Makefiles using CMake. (adjust your
>>> pathes).
>>>
>>> QGISTARGET=~/apps
>>> GRASSBINS=/home/holl/cvs/grass_HEAD/dist.i686-pc-linux-gnu
>>> QT4DIR=/usr/share/qt4
>>> export PATH=${QT4DIR}/bin:$PATH
>>> export LD_LIBRARY_PATH=${QT4DIR}/lib:$LD_LIBRARY_PATH
>>> cd ~/dev/cpp/qgis/
>>> mkdir -p build
>>> cd build
>>> cmake -D GRASS_PREFIX=${GRASSBINS} -D \
>>> CMAKE_INSTALL_PREFIX=${QGISTARGET} -D QT_BINARY_DIR=${QT4DIR}/bin -D \
>>> WITH_BINDINGS=yes -D CMAKE_BUILD_TYPE=debug .. \
>>> make
>>>
>>> the above stuff is described under 3.7 though not with my options.
>>>
>>> HTH
>>>
>>>         Stephan
>>>
>>>
>>> --
>>> Stephan Holl <stephan.holl@...>,
>>> http://intevation.de/~stephan
>>> Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B
>>> 18998
>>> Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver
>>> Wagner
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user@...
>>> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
>>>
>>
>>
>

--
---------------------------------------
WhereGroup
GmbH & Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:sebastian.schmitz@...
http://www.wheregroup.com
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


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

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
> When I then run ~/apps/bin/qgis
> I first get this: ./qgis: symbol lookup error: ./qgis: undefined symbol:
> _ZN10QgsMapTool9setActionEP7QAction

This is surely due the fact that your system uses wrong libraries - it
chooses those in e.g. /usr/local/lib but it has to choose the ones
which are in ~/apps/libs

How to do this - set LD_LIBRARY_PATH variable - it will add the
specified dirs to the library search:
export LD_LIBRARY_PATH=~/apps/lib

This should also go to the wiki...

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

Re: Build QGIS from source

Reply Threaded MoreMore options
Print post
Permalink
Thanks, did the trick. QGIS runs fine!

Should definitely go to wiki. I dunno how to do this as
http://wiki.qgis.org/qgiswiki/BuildingFromSource sais, do not edit this
document.. Tim?

Sebastian




Martin Dobias schrieb:

>> When I then run ~/apps/bin/qgis
>> I first get this: ./qgis: symbol lookup error: ./qgis: undefined symbol:
>> _ZN10QgsMapTool9setActionEP7QAction
>
> This is surely due the fact that your system uses wrong libraries - it
> chooses those in e.g. /usr/local/lib but it has to choose the ones
> which are in ~/apps/libs
>
> How to do this - set LD_LIBRARY_PATH variable - it will add the
> specified dirs to the library search:
> export LD_LIBRARY_PATH=~/apps/lib
>
> This should also go to the wiki...
>
> Martin

--
---------------------------------------
WhereGroup
GmbH & Co. KG
Siemensstr. 8
D-53121 Bonn
Amtsgericht Bonn, HRA 6788

Fon: +49 (0)228 / 90 90 38 - 24
Fax: +49 (0)228 / 90 90 38 - 11

mailto:sebastian.schmitz@...
http://www.wheregroup.com
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
---------------------------------------


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

Plugin Compile Error

Reply Threaded MoreMore options
Print post
Permalink
Hi folks,

Im trying to compile a plugin (Quantum Navigator). Currently, Im using the
qgis svn trunk, I get pass the configure but make bails out as follows...

[root@rupert-linux build]# make
[ 36%] Built target dglib
Scanning dependencies of target dgbuild
[ 45%] Building CXX object dglib/CMakeFiles/dgbuild.dir/dgbuild.o
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:183: error:
expected `,' or `...' before '&' token
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:184: error:
ISO C++ forbids declaration of `QgsPolyline' with no type
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp: In function
`QList<QgsPoint> vectorToList(int)':
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
`QgsPolyline' is not a class or namespace
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
`const_iterator' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
expected `;' before "it"
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
`it' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
`line' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186:
warning: unused variable 'line'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186:
warning: unused variable 'const_iterator'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp: In function
`int main(int, char*)':
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:239: error:
`setPrefixPath' is not a member of `QgsApplication'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:240: error:
`initQgis' is not a member of `QgsApplication'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:250: error:
`exitQgis' is not a member of `QgsApplication'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:258: error:
`QgsAttributeList' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:258: error:
expected `;' before "lst"
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:261: error:
`lst' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:282: error:
'class QgsDistanceArea' has no member named 'setProjectionsEnabled'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:291: error:
expected initializer before '&' token
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:295: error:
`attr' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:295:
warning: unused variable 'attr'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:300: error:
`attr' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:328: error:
`QgsPolyline' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:328: error:
expected `;' before "line"
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:329: error:
`line' was not declared in this scope
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:327:
warning: unused variable 'g'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:328:
warning: unused variable 'QgsPolyline'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:459: error:
`exitQgis' is not a member of `QgsApplication'
/home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:258:
warning: unused variable 'QgsAttributeList'
make[2]: *** [dglib/CMakeFiles/dgbuild.dir/dgbuild.o] Error 1
make[1]: *** [dglib/CMakeFiles/dgbuild.dir/all] Error 2
make: *** [all] Error 2

Regards,

Rupert

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

Re: Plugin Compile Error

Reply Threaded MoreMore options
Print post
Permalink
Hi,

ahh, I've forgotten to mention in installation guide that you need to
set QGIS prefix also for CMake to let it know where to search for
include files and libraries.
In build directory, run:
ccmake .
and in the utility application set QGIS_PREFIX variable to the path
where your qgis installation resides.

Cheers,
Martin

On 6/21/07, rupert@... <rupert@...> wrote:

> Hi folks,
>
> Im trying to compile a plugin (Quantum Navigator). Currently, Im using the
> qgis svn trunk, I get pass the configure but make bails out as follows...
>
> [root@rupert-linux build]# make
> [ 36%] Built target dglib
> Scanning dependencies of target dgbuild
> [ 45%] Building CXX object dglib/CMakeFiles/dgbuild.dir/dgbuild.o
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:183: error:
> expected `,' or `...' before '&' token
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:184: error:
> ISO C++ forbids declaration of `QgsPolyline' with no type
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp: In function
> `QList<QgsPoint> vectorToList(int)':
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
> `QgsPolyline' is not a class or namespace
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
> `const_iterator' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
> expected `;' before "it"
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
> `it' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186: error:
> `line' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186:
> warning: unused variable 'line'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:186:
> warning: unused variable 'const_iterator'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp: In function
> `int main(int, char*)':
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:239: error:
> `setPrefixPath' is not a member of `QgsApplication'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:240: error:
> `initQgis' is not a member of `QgsApplication'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:250: error:
> `exitQgis' is not a member of `QgsApplication'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:258: error:
> `QgsAttributeList' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:258: error:
> expected `;' before "lst"
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:261: error:
> `lst' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:282: error:
> 'class QgsDistanceArea' has no member named 'setProjectionsEnabled'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:291: error:
> expected initializer before '&' token
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:295: error:
> `attr' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:295:
> warning: unused variable 'attr'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:300: error:
> `attr' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:328: error:
> `QgsPolyline' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:328: error:
> expected `;' before "line"
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:329: error:
> `line' was not declared in this scope
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:327:
> warning: unused variable 'g'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:328:
> warning: unused variable 'QgsPolyline'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:459: error:
> `exitQgis' is not a member of `QgsApplication'
> /home/install/qgis-svn/src/plugins/qnavigator/dglib/dgbuild.cpp:258:
> warning: unused variable 'QgsAttributeList'
> make[2]: *** [dglib/CMakeFiles/dgbuild.dir/dgbuild.o] Error 1
> make[1]: *** [dglib/CMakeFiles/dgbuild.dir/all] Error 2
> make: *** [all] Error 2
>
> Regards,
>
> Rupert
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@...
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
>
_______________________________________________
Qgis-user mailing list
Qgis-user@...
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user