You probably need to define _WIN32_WINNT=0x0500 to enable some areas in the Windows headers, which weren't available prior to Windows 2000.
In CMakeSetup, CXX_FLAGS should be -D_WIN32_WINNT=0x0500 This appears to be an issue only with MinGW building. How much interest is there in building QGIS with MinGW? Steve ---------- Original Message ---------- From: mroddjob <[email protected]> To: [email protected] Subject: [Qgis-developer] Re: Error while compiling QGIS 1.5.0 Date: Tue, 21 Sep 2010 02:35:53 -0700 (PDT) A. Golubev wrote: > > 02.mm.2010 12:51, Jürgen E. Fischer пишет: >> Hi Golubev, >> >> >> On Mon, 02. Aug 2010 at 11:58:12 +0400, A. Golubev wrote: >> >>> QGIS 1.4 compiles fine. Is there any solution? >>> MinGW 3.4.5, WinXP SP2, Qt 4.5.1 >>> >> Hm, http://lists.osgeo.org/pipermail/qgis-user/2010-April/008449.html >> suggest >> that this problem already existed in 1.4. I don't know if anyone tried >> to >> build QGIS with MinGW. The "official" builds are done with MSVC, which >> apparently doesn't have that problem. >> >> >> Jürgen >> >> > I dont have "qgis\src\core\gps" dir in my QGIS 1.4.0 src tree. Is there > any way to disable compiling of gps stuff or this is core functionality > now? If so, I will try MSVC. Thanks for help! > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > Hi Golubev, Did you manage to get this to work? I am having the same problem, trying to build QGIS 1.5.0 in Qt Creator under windows xp. I get the same errors. Can anyone suggest a solution? Regards Oddjob -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-while-compiling-QGIS-1-5-0-tp5363180p5553920.html Sent from the qgis-developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer ____________________________________________________________ Get Your Gov Debt Bailout New state credit laws allow consumers to legally reduce debt up to 60%. Learn More. http://thirdpartyoffers.netzero.net/TGL3231/4c994988cd619cdd760st03vuc _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
