[QGIS-Developer] Building QGIS with Ninja on Windows - python37_d.lib

Olivier Dalang olivier.dalang at gmail.com
Wed May 8 10:53:55 PDT 2019


I saw the reference to package-nightly.cmd, but it's not that easy to
follow, at least it wasn't for me. I was thinking of a note like [1] to
help out other new commers. If it makes sense, I can open a PR.

Also, I'm now stuck with the prepare-commit.sh step under Windows.
I tried with WSL, where the script runs, but failed because of a few
dependencies (astyle itself, autopep8 and a few others, all of which were
easy to apt-get install), but it still fails after that with :
Cannot open default option file /mnt/c/Users/Olivier/Documents/QGIS/C:
Artistic Style has terminated

I also tired to build with WITH_ASTYLE=ON as suggested on [2], but that
didn't seem to have any effect. I did it like this :
$ cmake -G Ninja -D CMAKE_BUILD_TYPE=RELWITHDEBINFO -D WITH_ASTYLE=ON ..
$ ninja

Is this the correct way to do it ?

Thanks !!

Olivier

[1] :
https://github.com/qgis/QGIS/compare/master...olivierdalang:ninja_instructions_for_win?expand=1
[2] : https://lists.osgeo.org/pipermail/qgis-developer/2017-July/049324.html




On Wed, 8 May 2019 at 10:24, Jürgen E. Fischer <jef at norbit.de> wrote:

> Hi Olivier,
>
> On Wed, 08. May 2019 at 10:05:27 +0200, Olivier Dalang wrote:
> > Thanks, that was it !
>
> > I wasn't giving the CMAKE_BUILD_TYPE argument to CMAKE. I'll make a PR
> > shortly to add this info to INSTALL.
>
> doc/msvc.t2t - INSTALL is an output file.
>
> A note to refer to package-nightly.cmd is already there.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
> Software Engineer         D-26506 Norden
> https://www.norbit.de
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190508/54c9c2c1/attachment.html>


More information about the QGIS-Developer mailing list