<HTML dir=ltr><HEAD><TITLE>[Qgis-developer] ECW support again</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18023" name=GENERATOR><BASE href=http://mailstore.rossoalice.alice.it/exchange/Alice000000001264700/Bozze/R:%20[Qgis-developer]%20ECW%20support%20again.EML/1_text.htm></HEAD>
<BODY>
<DIV id=idOWAReplyText60543 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Paolo,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>sit down and listen: it could be a long job to do;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>MinGW sometimes has problems linking against MSVC libraries, specially GDAL if built with MinGW: forget it!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>You need to build GDAL (with ECW support) using Visual Studio, then you need to build GRASS (using MinGW)and then again GDAL with GRASS support (with VS).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>This done, you need to build some things over (with MinGW), and then finally build QGIS with CMake.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>See my BuldingGuide for more information:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><A href="http://www.webalice.it/marco.pasetti/qgis+grass/BuildFromSource.html"><FONT face=Arial size=2>http://www.webalice.it/marco.pasetti/qgis+grass/BuildFromSource.html</FONT></A></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>see also</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><A href="http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html"><FONT face=Arial size=2>http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html</FONT></A></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Marco</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Da:</B> qgis-developer-bounces@lists.osgeo.org per conto di Paolo L. Scala<BR><B>Inviato:</B> mar 10/06/2008 16.15<BR><B>A:</B> qgis-developer@lists.osgeo.org<BR><B>Oggetto:</B> [Qgis-developer] ECW support again<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hello everyone,<BR>I posted this on the QGIS forum too, but I didn't get any reply, so I<BR>try here :)<BR><BR>I managed to compile GDAL with ECW support using Microsoft Visual Studio<BR>2005 express, but how can I build QGIS with the new dll?<BR>I reconfigured the build using cmakesetup, specifying the new dll and<BR>includes paths, but the compilation exits with errors about functions<BR>that couldn't be found.<BR>I tried to compile gdal with MinGW, but it seem it doesnt recognize MS<BR>SDK's includes and libraries, even thought I specified them in the<BR>LDFLAGS and CPPFLAGS environment variables.<BR>Can someone give me some hint?<BR>Thanks a lot,<BR>Paolo<BR>_______________________________________________<BR>Qgis-developer mailing list<BR>Qgis-developer@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</A><BR></FONT></P></DIV></BODY></HTML>