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

2019-05-09 Thread Olivier Dalang
I was able to run prepare-commit from WSL by commenting out these lines (74-76) in astyle.sh : # if type -p wslpath >/dev/null; then # ASTYLEOPTS="$(wslpath -a -w "$ASTYLEOPTS")" # fi It seems they were trying to convert path of the astyle option files from WSL to Windows (/mnt/c/... to c:\). N

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

2019-05-08 Thread Olivier Dalang
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 t

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

2019-05-08 Thread Jürgen E . Fischer
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 a

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

2019-05-08 Thread Olivier Dalang
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. Rebuild is indeed much faster than from withing Visual Studio ! Cheers, Olivier On Tue, 7 May 2019 at 18:27, Jürgen E. Fischer wrote: > Hi Olivier, > > On Tue, 0

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

2019-05-07 Thread Jürgen E . Fischer
Hi Olivier, On Tue, 07. May 2019 at 18:15:38 +0200, Olivier Dalang wrote: > It looks like it can't link to python37_d.lib. I checked, but couldn't find > the file in OSGeo4W64\apps\Python37\libs nor on my system's python, so I > installed the python debug binaries (using the normal python installe

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

2019-05-07 Thread Olivier Dalang
Dear List, I was able to compile QGIS from source without issue on Windows by following the instructions. The only issue is rebuilding time. Even for a very small change, it takes over 2-3 minutes, making iterations very slow. I found Nathan's article