<p>I think you need to compile against /usr/lib/libqwt-qt4.so instead of /use/lib/libqwt.so. <br>
You can fix the problem removing the package that provide libqwt.so, install the one that provide libqwt-qt4.so, doing cmake again and verifying what cmake said in "Found QWT:" line.<br>
Regards,</p>
<p>Gabriele</p>
<div class="gmail_quote">Il giorno 2010 11 8 15:39, <<a href="mailto:luca_manganelli@comune.trento.it">luca_manganelli@comune.trento.it</a>> ha scritto:<br type="attribution">> <br>> Hi,<br>> <br>> I'm encounteering problems compiling latest SVN build of QGIS. I have this<br>
> error:<br>> <br>> [ 44%] Building CXX object src/app/CMakeFiles/qgis.dir/qgisapp.cpp.o<br>> In file included from<br>> /usr/local/src/qgis_unstable/src/app/qgsrasterlayerproperties.h:23,<br>> from /usr/local/src/qgis_unstable/src/app/qgisapp.cpp:145:<br>
> <br>> [...]<br>> <br>> /usr/local/src/qgis_unstable/src/app/gps/qgsgpsinformationwidget.h:75:<br>> error: expected \u2018;\u2019 before \u2018*\u2019 token<br>> /usr/local/src/qgis_unstable/src/app/qgisapp.cpp: In member function 'void<br>
> QgisApp::about()':<br>> /usr/local/src/qgis_unstable/src/app/qgisapp.cpp:2496: error:<br>> 'QWT_VERSION_STR' was not declared in this scope<br>> make[2]: *** [src/app/CMakeFiles/qgis.dir/qgisapp.cpp.o] Errore 1<br>
> make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Errore 2<br>> make: *** [all] Errore 2<br>> <br>> <br>> It seems that QWT is missing, BUT (note the directory)<br>> <br>> /usr/include/qwt-qt4 $ fgrep QWT_VERSION_STR *<br>
> <br>> qwt_global.h:#define QWT_VERSION_STR "5.2.0"<br>> <br>> It is also found by CMAKE:<br>> <br>> /usr/local/src/qgis_unstable/cmake$ cmake .<br>> <br>> -- Quantum GIS version: 1.7.0 Trunk (10700)<br>
> -- Could not find GRASS<br>> -- Found Proj: /usr/lib/libproj.so<br>> -- Found Expat: /usr/lib/libexpat.so<br>> -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm<br>> -- Found GEOS: /usr/local/lib/libgeos_c.so<br>
> -- Found GDAL: /usr/local/lib/libgdal.so<br>> -- Found QWT: /usr/lib/libqwt.so<br>> -- Found PostgreSQL: /usr/lib/libpq.so<br>> -- Debug output enabled<br>> -- Found Python executable: /usr/bin/python2.6<br>
> -- Found Python version: 2.6.5<br>> -- Found Python library: /usr/lib/<a href="http://libpython2.6.so">libpython2.6.so</a><br>> -- Found SIP version: 4.10.1<br>> -- Found PyQt4 version: 4.7.2<br>> -- Found FCGI: /usr/lib/libfcgi.so<br>
> -- Configuring done<br>> -- Generating done<br>> -- Build files have been written to: /usr/local/src/qgis_unstable/cmake<br>> <br>> <br>> how can I fix this error?<br>> <br>> _______________________________________________<br>
> Qgis-developer mailing list<br>> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div>