Build help - Windows

Steve Maher steve.f.maher at gmail.com
Fri Feb 1 20:33:15 GMT 2019


Oh dear.  Ok.  Thanks Barth.  I'll have to think about the time outlay ...
Maybe it's time for a new intern here =)

Steve


On Fri, Feb 1, 2019 at 3:12 PM Barth Netterfield <
barth.netterfield at gmail.com> wrote:

> Well... we haven't tried to use qmake with kst for many years and I doubt
> it works at all.
>
> Our windows builds are done as a cross compile from linux, and then
> linking to pre-compiled versions of the external libraries (see
> kst/cmake/travis.sh).  This worked well until a few months ago when the
> getdata api changed.  The build no longer works.
>
> qtcreator is capable of using cmake as the build system, so you might want
> to install cmake in windows partition, and then figure out how to used it
> with qtcreator.  For the external libraries (gsl, getdata, etc) I have no
> idea.
>
> cbn
> On 2019-02-01 3:05 p.m., Steve Maher wrote:
>
> I'm back ... now determined to build on Windows (10) (we use kst on both
> Windows and Linux)
>
> I've installed QtCreator with mingw (from Qt download - although there
> were a zillion versions from which to choose).  Below is "Compile Output"
> from qtcreator when I try to build kst.pro (the qmake step).
>
> What's interesting is I also got these warning in Linux with qtcreator,
> which I got around by executing Barth's command line (cmake + make).
>
> Perhaps I should try the command line in Windows? (what is it?)  Or are
> there build parameters that need to be set?  (The INSTALL files just say
> "Verify build parameters")
>
> Thanks for ANY help!
>
> Steve
>
>
>
> 14:31:54: Running steps for project kst...
>
> 14:31:54: Starting: "G:\Qt\5.12.1\mingw73_64\bin\qmake.exe"
> C:\cygwin\home\smaher\git\kst\kst.pro -spec win32-g++ "CONFIG+=debug"
> "CONFIG+=qml_debug"
>
> 14:31:54: The process "G:\Qt\5.12.1\mingw73_64\bin\qmake.exe" exited
> normally.
>
> 14:31:54: Starting: "G:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" -f
> C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/Makefile
> qmake_all
>
> cd src\libkst\ && G:\Qt\5.12.1\mingw73_64\bin\qmake.exe -o Makefile
> C:\cygwin\home\smaher\git\kst\src\libkst\libkst.pro -spec win32-g++
> "CONFIG+=debug" "CONFIG+=qml_debug"
>
> WARNING: Failure to find: builtindatasources.cpp
>
> WARNING: Failure to find: datasourcepluginfactory.cpp
>
> WARNING: Failure to find: builtindatasources.h
>
> WARNING: Failure to find: datasourcepluginfactory.h
>
> WARNING: Failure to find: kst_i18n.h
>
> WARNING: Failure to find: timezones.h
>
> WARNING: Failure to find: builtindatasources.cpp
>
> WARNING: Failure to find: datasourcepluginfactory.cpp
>
> WARNING: Failure to find: builtindatasources.h
>
> WARNING: Failure to find: datasourcepluginfactory.h
>
> WARNING: Failure to find: kst_i18n.h
>
> WARNING: Failure to find: timezones.h
>
> cd src\libkst\ && G:/Qt/Tools/mingw730_64/bin/mingw32-make -f Makefile
> qmake_all
>
> mingw32-make[1]: Entering directory
> 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkst'
>
> mingw32-make[1]: Nothing to be done for 'qmake_all'.
>
> mingw32-make[1]: Leaving directory
> 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkst'
>
> cd src\libkstmath\ && G:\Qt\5.12.1\mingw73_64\bin\qmake.exe -o Makefile
> C:\cygwin\home\smaher\git\kst\src\libkstmath\libkstmath.pro -spec
> win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
>
> WARNING: Failure to find: emailthread.cpp
>
> WARNING: Failure to find: emailthread.h
>
> WARNING: Failure to find: emailthread.cpp
>
> WARNING: Failure to find: emailthread.h
>
> cd src\libkstmath\ && G:/Qt/Tools/mingw730_64/bin/mingw32-make -f Makefile
> qmake_all
>
> mingw32-make[1]: Entering directory
> 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkstmath'
>
> mingw32-make[1]: Nothing to be done for 'qmake_all'.
>
> mingw32-make[1]: Leaving directory
> 'C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/src/libkstmath'
>
> cd src\datasources\ && G:\Qt\5.12.1\mingw73_64\bin\qmake.exe -o Makefile
> C:\cygwin\home\smaher\git\kst\src\datasources\datasources.pro -spec
> win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
>
> Cannot find file: C:\cygwin\home\smaher\git\kst\src\datasources\
> datasources.pro.
>
> mingw32-make: ***
> [C:/cygwin/home/smaher/git/build-kst-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/Makefile:131:
> sub-src-datasources-qmake_all] Error 2
>
> 14:32:02: The process "G:\Qt\Tools\mingw730_64\bin\mingw32-make.exe"
> exited with code 2.
>
> Error while building/deploying project kst (kit: Desktop Qt 5.12.1 MinGW
> 64-bit)
>
> When executing step "qmake"
>
> 14:32:02: Elapsed time: 00:08
>
>
> --
> C. Barth Netterfield
> 416-845-0946
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20190201/30638211/attachment.html>


More information about the Kst mailing list