Build help - Windows
lists.tormod at gmail.com
Thu Feb 7 19:38:40 GMT 2019
This was cross-built on Ubuntu 14.04 on the Travis build service. All
the details are in cmake/travis.sh.
Well, almost all :) When I cross-built getdata 0.10.0 the compilation
failed with a wrong number of arguments to "mkdir". I guess this is a
typical mingw configure/build issue where the configure scripts detect
one version of mkdir (requiring two arguments) and another version is
picked up during build (requiring one argument). After the aborted
first run of make, I edited src/gd_config.h.in to say "#define
MKDIR_NO_MODE 1", and then rerun make. Of course, the real solution is
further up the chain but I haven't looked into this.
On Thu, Feb 7, 2019 at 8:27 PM Steve Maher <steve.f.maher at gmail.com> wrote:
> That sounds great. Could you provide the details/script so I can give it a try?
> On Tue, Feb 5, 2019 at 7:29 PM Tormod Volden <lists.tormod at gmail.com> wrote:
>> FWIW, I cross-built getdata 0.10.0 on Ubuntu 14.04 (like the Travis
>> build machine runs, so the same compiler version) and tweaked the
>> travis script to grab an "external libraries" zip file refreshed with
>> this. It resulted in a successful win32 build with getdata support.
>> On Tue, Feb 5, 2019 at 3:29 PM Steve Maher wrote:
>> > Thanks, Sam.
>> > Unfortunately, we are very reliant on the getdata library.
>> > I've poked around the getdata/dirfile website/mailing list and I don't see a major API change announcements. Can someone briefly describe the "getdata library changes"?
>> > Thanks,
>> > Steve
>> > On Tue, Feb 5, 2019 at 9:18 AM Sam Theobald <sam.theobald at monodraught.com> wrote:
>> >> Hi Steve,
>> >> I recently tried to get KST to build for windows and I ended up using the cross-compile method that is used with the Travis CI system but due to the getdata library changes, I had to disable 3rd-party plugins. I modified the kst/cmake/travis.sh script to set the option –Dkst_3rdparty=0.
More information about the Kst