Hi Tom,

building with autogen.sh or configure script is broken at the moment -
currently we're trying CMake as a replacement of current automake &
autoconf build system. Please search qgis-developer archives from this
month on how to build qgis with CMake. Don't hesitate to contact us
with any problems with it - preferably on qgis-developer list as it's
still a bit in development.


Regards,
Martin

On 1/26/07, Tom Russo <[EMAIL PROTECTED]> wrote:
The last time I built qgis was on 15 Dec from svn.  Last night and
this morning I tried to update by doing an svn update, and I'm getting
compile failures.

My current revision is revision 6458.

My system is Ubuntu 6.10.

I clean out the directory with make distclean, configure with:
./autogen.sh --with-grass=/usr/local/grass-6.3.cvs --with-qtdir=/usr

and make with just "make".  The result is that the first file in the
compile fails:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPREFIX=\"/usr\"
-DPLUGINPATH=\"/usr/lib/qgis\" -DPKGDATAPATH=\"/usr/share/qgis\" -g
-O2 -DQT3_SUPPORT -I/usr/mkspecs/default -I/usr/include/qt4/Qt3Support
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDesigner
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSql
-I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtDesigner -D_REENTRANT
-DQT_THREAD_SUPPORT -I/usr/include/postgresql -DNO_DEBUG
-I/usr/include -I/usr/local/include -Iraster -Irenderer -Isymbology -g
-O2 -MT libqgis_core_la-qgis.lo -MD -MP -MF
.deps/libqgis_core_la-qgis.Tpo -c qgis.cpp  -fPIC -DPIC -o
.libs/libqgis_core_la-qgis.o
qgis.h:35: error: invalid function declaration
qgis.cpp:10: error: 'QGis' has not been declared
qgis.cpp:13: error: 'QGis' has not been declared
qgis.cpp:16: error: 'QGis' has not been declared
qgis.cpp:19: error: 'QGis' has not been declared
qgis.cpp:21: error: 'QGis' has not been declared
qgis.cpp:29: error: 'QGis' has not been declared
qgis.cpp:40: error: 'QGis' has not been declared

Line 35 of qgis.h is:
class CORE_EXPORT QGis

the remaining lines of qgis.cpp are lines that attempt to declare
things like QGis::qgisVersion

My guess is that CORE_EXPORT is not being defined correctly for my
system and is confusing the compiler.  But I don't see where it's set
or how it's wrong.  Help?

--
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
 one trick, rational thinking, but when you're good and crazy, oooh, oooh,
 oooh, the sky is the limit!"  --- The Tick
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

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

Reply via email to