Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-20 Thread Frits van Veen
Hi Casper >> But I would like to move on to a place where downloading the QGIS source code, downloading and installing a few software packages, and at last follow a simple guide, would make it possible for any one build and debug QGIS. Well, the file INSTALL is a start, but should be enhanc

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-20 Thread CABO
dependencies, and a few I couldn't find (looked for the wrong package name). /Casper From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Frits van Veen Sent: 20. oktober 2016 11:47 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Building and debu

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-20 Thread Frits van Veen
Hi Casper QGIS master_2 builds and runs pretty stable now including Python scripts! How are you sailing? Frits -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Building-and-debugging-QGIS-on-Windows-x64-tp5291058p5291668.html Sent from the Quantum GIS - Developer

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-20 Thread Frits van Veen
Hi Casper I did some sleuthing on the problem of the not working pyuic-wrapper.bat. The second parameter is wrong. It points to d:\QGIS\Master_2\Build\output\bin\ but should point to d:\QGIS\Master_2\Build\output\bin\RelWithDebInfo. The problem originates in several vcxproj files and that’s

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-19 Thread CABO
for helping me along the way ☺ Regards, Casper From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Frits van Veen Sent: 19. oktober 2016 09:42 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Building and debugging QGIS on Windows x64 Hi Casper I

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-19 Thread CABO
debugging QGIS on Windows x64 Hi Casper, On Wed, 19. Oct 2016 at 07:51:54 +, Casper Børgesen (CABO) wrote: > Thanks for the clarification regarding "debug"/"RelWithDebInfo", now I > know that I can just continue debugging with "RelWithDebInfo". > W

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-19 Thread Jürgen E . Fischer
Hi Casper, On Wed, 19. Oct 2016 at 07:51:54 +, Casper Børgesen (CABO) wrote: > Thanks for the clarification regarding "debug"/"RelWithDebInfo", now I know > that I can just continue debugging with "RelWithDebInfo". > With respect to "cmake --build %BUILDDIR% --config %BUILDCONF%", I am > foll

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-19 Thread CABO
folder. Regards, Casper -Original Message- From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Jürgen E. Fischer Sent: 19. oktober 2016 08:47 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Building and debugging QGIS on Windows x64 Hi C

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-19 Thread Frits van Veen
Oh, if you want to debug some code, set compiler optimization (for that project) to disabled (-Od) or you won’t be able to inspect most variables. Frits -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Building-and-debugging-QGIS-on-Windows-x64-tp5291058p5291384.html Sen

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-19 Thread Frits van Veen
Hi Casper I don’t think the double slash is a problem. I have a note regarding pyuic-wrapper. I changed pyuic-wrapper.bat and the ImportError goes away. This is probably not the optimal solution, but maybe it brings you a little further. rem %PYTHON% %~dp0\pyuic-wrapper.py %5 %6 %7 %8 %9

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-18 Thread Jürgen E . Fischer
Hi Casper, On Wed, 19. Oct 2016 at 06:21:40 +, Casper Børgesen (CABO) wrote: > Thank you for your answer and your guidance. I used Jürgens advise and used > the spatialite_i.lib instead and I got a bit further. I am now also able to > run and debug a QGIS session, but I cannot use python eithe

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-18 Thread CABO
g to do with the double slash near pyuic-wrapper.py and in that case, where should I fix it? Or is this problem about something completely different? Regards, Casper -Original Message- From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of fritsvanveen Sent: 18. o

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-18 Thread CABO
-boun...@lists.osgeo.org] On Behalf Of Jürgen E. Fischer Sent: 17. oktober 2016 20:12 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Building and debugging QGIS on Windows x64 Hi Casper, On Mon, 17. Oct 2016 at 14:00:48 +, Casper Børgesen (CABO) wrote: > Error 6610error

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-18 Thread fritsvanveen
Hi Casper I have recently build QGIS on my Windows10 system with Visual Studio 2010 with partial success. I could run and debug QGIS, but Python support did not work (yet). This is my shortlist of fixes to get my build working: add libs to qgis_core: setupapi.lib C:\OSGeo4W64\lib\lwgeom.lib C:\OS

Re: [Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-17 Thread Jürgen E . Fischer
Hi Casper, On Mon, 17. Oct 2016 at 14:00:48 +, Casper Børgesen (CABO) wrote: > Error 6610error LNK2019: unresolved external symbol > freexl_version referenced in function fnct_freexl_version > C:\QGIS\build\src\core\spatialite.lib(spatialite.obj) Consult package-nightly.cmd or

[Qgis-developer] Building and debugging QGIS on Windows x64

2016-10-17 Thread CABO
Hi I'm trying to build QGIS on Windows 7 (x64) using the the steps provided in [1] with small adjustments from [2]. My objective is to be able to build a QGIS instance so that I can debug and understand the calls made to QGIS from my python plugins. In other words, I am not trying to build my o