<div dir="ltr"><div style>I am trying to build QGis with Mingw64 on windows.</div><div style>I have Qt64-4.8.4 on the machine and MSys and Mingw64.</div><div style><br></div><div style>I have opened the CMakeLists.txt in QtCreator and set all the dependencies for Qgis in the opening wizard for QtCreator.</div>
<div style>When compiling i get the following error, can anybody give me some hints where to start looking, to get it compiled?</div><div style><br></div><div style>Best Regards</div><div style>Theuns Heydenrych</div><div style>
<br></div><div style>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>