Re: [QGIS-Developer] Compiling against homebuilt GDAL

2024-03-12 Thread Even Rouault via QGIS-Developer
When you run "make -jSOMETHING" the error message may be quite above the end of the standard error stream. Look further above for a "error:" string or something like that. Or just  re-run "make", and wait for it to fail. The error message should then just be in the last lines Le 12/03/2024 à

Re: [QGIS-Developer] Compiling against homebuilt GDAL

2024-03-12 Thread Thomas Larsen Wessel via QGIS-Developer
Sorry for the late reply. @Richard; Your advice is certainly useful. I could use some advice on best practices :) After *installing* GDAL, I was able to run cmake without issues. But then make would fail at 56% every time (simply printing "Error 2"). By coincidence I found out, that if I just

Re: [QGIS-Developer] Compiling against homebuilt GDAL

2024-02-28 Thread Matthias Kuhn via QGIS-Developer
On Wed, Feb 28, 2024 at 7:45 PM Even Rouault via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > and then when configuring QGIS, use GDAL_DIR=$HOME/install-gdal-3.7.2 . > I'm not totally sure about that last part. may require tweaking. you could > alter the PATH to point to

Re: [QGIS-Developer] Compiling against homebuilt GDAL

2024-02-28 Thread Richard Duivenvoorde via QGIS-Developer
Hi Thomas, Not sure if it is usefull, but some time ago I build (always in ~/git/foo) and install (always in ~/bin/foo) PROJ, GDAL and then build QGIS (in ~/git/qgisgdal) with those. This is what I then use: cd /home/richard/git/qgisgdal; export

Re: [QGIS-Developer] Compiling against homebuilt GDAL

2024-02-28 Thread Even Rouault via QGIS-Developer
Thomas, Le 28/02/2024 à 19:33, Thomas Larsen Wessel via QGIS-Developer a écrit : I have successfully built QGIS and GDAL (3.7.2) separately. Now I want to build QGIS against this GDAL. This is what I tried: git clone g...@github.com:qgis/QGIS.git cd QGIS mkdir build cd build