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