Re: [Gpsbabel-code] Windows build environment
Brought to you by:
robertl
From: SRE <ste...@cl...> - 2014-04-23 00:18:37
|
At 10:07 AM 4/22/2014, Robert Lipe wrote: >It seems that you're way off the beaten trail ... > We do have some work we need to do in the *.pro Thanks for these and a few other tips! I've been busy. The good news is at the bottom. >I've not used the subversion integration in Creator That was enough to get me started again. Now using Qt 5.2.1, and it was able to use my prior SVN install to grab the source. (Damn, it's slow to respond to most commands. Ick.) >but the project file is approximately the Makefile (closes eyes and shoots wildly in the dark) I told Creator to build GPSBabel.pro, and it ran for quite some time but there were 2521 issues! For example, "va_copy redefined" happens a lot. There are also a whole bunch (hundreds) of comparisons between signed and unsigned, something I saw when running make from the MinGW command line also. More troubling are messages like "missing initializer for member arglist::argvalptr". Those were all warnings. Does everyone else get them? Thousands of them? >I don't know how to avoid the hardcoded pathnames for setupapi.lib and hid.lib. Those missing libs (in the .pro file) were the fatal errors. It wants C:/Program Files/Windows Kits/8.0/Lib/win8/um/x86/hid.lib There is no "Kits" folder or "setupapi.lib" anywhere on my system... so I used the closest thing I could find: "C:/Qt5/Tools/mingw48_32/i686-w64-mingw32/lib/libsetupapi.a" "C:/Qt5/Tools/mingw48_32/i686-w64-mingw32/lib/libhid.a" At least the build finished this way. Don't know how to install, won't run from the project release folder, complains about Qt5core missing... so I copied GPSBabel.exe to the 1.5 folder where it runs quite happily! All I need is a hint how to install without simply overwriting the .exe of an existing installation, and I can write up the cookbook for Win builds. Steve |