<div dir="ltr">To be honest there's no particular reason, but I will let you in on how I/we decided on Mingw64 <div><br></div><div>We are developing a cross platform application with GIS as one of the application's modes.</div>
<div>We decide to use QGis libraries to provide the GIS functionality.</div><div>I played around with your(Tim Sutton) examples to use QGis widgets in a Qt application, and with that created a Qt plugin that i tested in a sample application to load the plugin, display the map canvas on a QFrame, to load a geotiff , and to use the various maptools.</div>
<div><br></div><div>All this was done on a Ubuntu 12.04 64bit environment with Qt. </div><div><br></div><div>We would like to the same for Win7 64bit.</div><div>So I thought while i am going to use Qt 64bit on Win7 with Mingw64 i might as well try to everything in Mingw64.</div>
<div><br></div><div>I hoped that the Qgis libs would already be available in 64bit for windows, after reading mailing list postings of Nov 2012 <a href="http://osgeo-org.1560.n6.nabble.com/64bit-Windows-version-td5016852.html">http://osgeo-org.1560.n6.nabble.com/64bit-Windows-version-td5016852.html</a> , but it looks like it did not materialise. According to the mailing list thread it looks like there is interest for a 64bit version on Windows for QGis.</div>
<div><br></div><div>So that's how i decided on Mingw64 and to be honest i have no experience in the MS development tools, will it be possible then to build Qgis 64bit version with <span style="font-family:arial,sans-serif;font-size:13px">msvc 2008 and use the libraries in Qt64 bit?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">I have no idea.</span></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Suggestions will be appreciated, thank you.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Regards</font></div><div><font face="arial, sans-serif">Theuns Heydenrych</font></div><div> </div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Feb 24, 2013 at 11:29 AM, Tim Sutton <span dir="ltr"><<a href="mailto:lists@linfiniti.com" target="_blank">lists@linfiniti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hi</p>
<p dir="ltr">Any particular reason you are using mingw rather than msvc 2008 (which is well supported)? </p>
<p dir="ltr">Regards</p>
<p dir="ltr">Tim </p>
<div class="gmail_quote"><div><div class="h5">On 24 Feb 2013 9:33 AM, "Theuns Heydenrych" <<a href="mailto:theunsheydenrych@gmail.com" target="_blank">theunsheydenrych@gmail.com</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div>I am trying to build QGis with Mingw64 on windows.</div><div>I have Qt64-4.8.4 on the machine and MSys and Mingw64.</div><div><br></div><div>I have opened the CMakeLists.txt in QtCreator and set all the dependencies for Qgis in the opening wizard for QtCreator.</div>
<div>When compiling i get the following error, can anybody give me some hints where to start looking, to get it compiled?</div><div><br></div><div>Best Regards</div><div>Theuns Heydenrych</div><div>
<br></div><div>09:11:03: Running steps for project qgis1.9.0...<br></div><div>09:11:03: Starting: "C:\mingw\bin\mingw32-make.exe" </div><div>[ 0%] Built target version</div><div>[ 0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgis.cpp.obj</div>
<div>src\core\CMakeFiles\qgis_core.dir\build.make:1234: recipe for target 'src/core/CMakeFiles/qgis_core.dir/qgis.cpp.obj' failed</div><div>CMakeFiles\Makefile2:1118: recipe for target 'src/core/CMakeFiles/qgis_core.dir/all' failed</div>
<div>makefile:145: recipe for target 'all' failed</div><div>C:\dev\cpp\Quantum\src\core\qgis.cpp:48:27: error: external linkage required for symbol 'GEOPROJ4' because of 'dllexport' attribute</div>
<div>C:\dev\cpp\Quantum\src\core\qgis.cpp:53:27: error: external linkage required for symbol 'GEOWKT' because of 'dllexport' attribute</div><div>C:\dev\cpp\Quantum\src\core\qgis.cpp:66:27: error: external linkage required for symbol 'PROJECT_SCALES' because of 'dllexport' attribute</div>
<div>C:\dev\cpp\Quantum\src\core\qgis.cpp:70:27: error: external linkage required for symbol 'GEO_EPSG_CRS_AUTHID' because of 'dllexport' attribute</div><div>C:\dev\cpp\Quantum\src\core\qgis.cpp:72:27: error: external linkage required for symbol 'GEO_NONE' because of 'dllexport' attribute</div>
<div>mingw32-make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgis.cpp.obj] Error 1</div><div>mingw32-make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2</div><div>mingw32-make: *** [all] Error 2</div><div>09:11:06: The process "C:\mingw\bin\mingw32-make.exe" exited with code 2.</div>
<div>Error while building/deploying project qgis1.9.0 (kit: Desktop 64)</div><div>When executing step 'Make'</div></div>
<br></div></div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div>
</blockquote></div><br></div>