Hi Piet,

Currently I cannot check this on a Debian Bullseye system. (Perhaps) I will do 
it
a little bit later.

You can check the output of the linker/compiler command for creating libgdal.so.
Normally you should find something like:  -L/home/user/QMSDEVDIR/usr/lib   
-lproj

My build was made with proj-8.0.0 and gdal-3.2.2 perhaps something changed with
gdal-3.3.0?
Perhaps this is also a workaround for you, using gdal-3.2.2.

If I use ./configure --help with gdal-3.2.2 I see that -with-proj is supported.


I will try to make a build with proj-8.0.1 and gdal-3.3.0 at the weekend on my
Ubuntu system to check if it works there.
If this is the case I will try to check it on a Debian Bullseye system too.

I hope this helps a little bit,
Torsten


On 28.05.21 08:28, APM wrote:
>
> Hi Thorsten,
>
>
> thank you for your information.
>
>
> I use Debian Bullseye. Unfortunately the introduction does not work for me.
>
>
> After compiling proj-8.0.1.tar.gz I get the /home/user/QMSDEVDIR/usr/lib/ with
>
> libproj.so.22.1.0 in it and two links libproj.so.22 and libproj.so to
> libproj.so.22.1.0.
>
>
> I configure gdal with
>
>
> ./configure --prefix=/home/user/QMSDEVDIR/usr --without-libtool
> --with-proj=/home/user/QMSDEVDIR/usr --with-geotiff=internal
>
> without errors.
>
>
> Compiling gdal stops with a warning:
>
> /usr/bin/ld: warning: libproj.so.22/usr/bin/ld, needed by
> /home/user/src/gdal-3.3.0/libgdal.so, not found (try using -rpath or 
> -rpath-link)
>
> and a couple of messages like  "undefined reference to `proj_"
>
>
> Maybe --with-proj=/home/user/QMSDEVDIR/usr is not recognized?
>
>
> Kind regards
>
>
> Piet
>
>
> Am 26.05.21 um 23:29 schrieb Torsten Metzner:
>> Hi,
>>
>> Here:
>> https://www.naviboard.de/thread/65969-gel%C3%B6st-qms-l%C3%A4sst-sich-nicht-mehr-kompilieren/?postID=530449#post530449
>> <https://www.naviboard.de/thread/65969-gel%C3%B6st-qms-l%C3%A4sst-sich-nicht-mehr-kompilieren/?postID=530449#post530449>
>>
>> I gave an introduction how to build it under Ubuntu 20.04.2 LTS and avoiding
>> any conflict with system libraries.
>>
>> It is in German but I hope one can understand it.
>>
>> Torsten
>>
>> On 26.05.21 17:56, HerbertFisel wrote:
>>> Hi,
>>> trying to translate V1.16.0 results in the ccmake error:
>>> >>>    By not providing "FindPROJ.cmake" in CMAKE_MODULE_PATH this project 
>>> >>>has
>>> >>>    asked CMake to find a package configuration file provided by "PROJ", 
>>> >>>but
>>> >>>    CMake did not find one.
>>> >>>
>>> >>>    Could not find a package configuration file provided by "PROJ" with 
>>> >>>any of
>>> >>>    the following names:
>>> >>>
>>> >>>      PROJConfig.cmake
>>> >>>      proj-config.cmake
>>> >>>
>>> >>>    Add the installation prefix of "PROJ" to CMAKE_PREFIX_PATH or set
>>> >>>    "PROJ_DIR" to a directory containing one of the above files.  If 
>>> >>>"PROJ"
>>> >>>    provides a separate development package or SDK, be sure it has been
>>> >>>    installed.
>>>
>>> I assume this is because QmapShack has switched to Proj 8 and my system
>>>
>>> DISTRIB_ID=Ubuntu
>>> DISTRIB_RELEASE=20.04
>>> DISTRIB_CODENAME=focal
>>> DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
>>>
>>> has installed
>>>
>>> >dpkg-query -W proj-bin
>>> proj-bin        7.0.0-1~bionic0.
>>>
>>> So I translated and installed proj-8.0.1 from source (proj.org) and 
>>> installed
>>> it on the default destination path
>>> /usr/local/ with all its subdirectories bin, include, lib, etc.
>>>
>>> My question: How can I cause ccmake to use the manual installed proj version
>>> from that destination instead the system
>>> installed version 7 ?
>>> Or does that not work at all ?
>>>
>>> Can anyone give me a hint.
>>> Thanks in advance
>>> Herbert
>>>
>>>
>>>
>>>
>>>
>>> Am 24.05.21 um 11:42 schrieb Oliver Eichler:
>>>> Hi,
>>>>
>>>> release time with a minor version upgrade. This is because of a new 
>>>> feature:
>>>> POI collections. Thanks to Henri for the work. Also thanks to Wolfgang
>>>> documenting the topic in the wiki.
>>>>
>>>> https://github.com/Maproom/qmapshack/wiki/DocGisItemsPOI
>>>>
>>>> Another big step is switching to Proj 8. On older distributions this will
>>>> give you some headaches. Maybe a good moment to upgrade.
>>>>
>>>> As usual there has been a lot of bug fixig, too. I hope we cought more bugs
>>>> than introducing others with the new features.
>>>>
>>>> For all the details see the change log and the attached tickets.
>>>>
>>>> Enjoy the release!
>>>>
>>>> Oliver
>>>>
>>>>
>>>>
>>>> [QMS-220] "Select items from map" misses items
>>>> [QMS-275] Routino: Add Spanish and Czech as selectable languages for turn
>>>> instructions
>>>> [QMS-279] Track metrics not updated when using UNDO / REDO in Edit mode
>>>> [QMS-282] Tags icons/rating disappear from workspace after saving and 
>>>> closing
>>>> a project
>>>> [QMS-285] WMTS-based maps aren't restored correctly
>>>> [QMS-297] Add GUI framework for POI databases
>>>> [QMS-299] CEnergyCycling is storing it's configuration in the `General`
>>>> section instead of it's own.
>>>> [QMS-301] Load POI file
>>>> [QMS-303] Add POI icons
>>>> [QMS-307] Optimization of POI query
>>>> [QMS-311] Automatically save projects to device
>>>> [QMS-313] UX improvements for POIs
>>>> [QMS-314] Fix/Add POI categories
>>>> [QMS-315] Make POI Icons User-Selectable
>>>> [QMS-317] Enable user to add POI to project via right-click
>>>> [QMS-318] Change poi_t to use radians
>>>> [QMS-321] Improve name selection for POI
>>>> [QMS-322] Make POIs show up in 'Select Items On Map'
>>>> [QMS-337] Upgrade to Proj 8 API
>>>> [QMS-343] .fit files from Suunto app have many trackpoints with elevation 
>>>> = 0
>>>> [QMS-344] Better integration of new PROJ lib into cmake build system
>>>> [QMS-349] Upgrade to Quazip Qt5 V1.x
>>>> [QMS-353] "Select Items on Map" does not update when items are removed
>>>> [QMS-354] Refactor the code to get rid of clazy warnings
>>>> [QMS-360] Fix compile flags for Windows 64bit
>>>> [QMS-362] Fit files containing more than one developer data ID cannot be
>>>> opened. e.g. from a Garmin FR 935 and a connected Stryd footpod
>>>> [QMS-363] GIS items missing in projects loaded from file or database
>>>> [QMS-371] Crash while loading geocache from TwoNav device
>>>> [QMS-373] Refine templates to hide comments
>>>> [QMS-375] On-screen profile window has no close button
>>>> [QMS-378] Add option to link map views
>>>> [QMS-380] Toggle fullscreen does not work
>>>> [QMS-382] QMapTool: Allow customized GDAL parameters
>>>> [QMS-384] Add Garmin Fit power data to support powermeter pedals
>>>> [QMS-389] Crash when loading/drawing POIs
>>>> [QMS-391] Adapt Windows build scripts to PROJ.8/Quazip 1.x
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Qlandkartegt-users mailing list
>>>> Qlandkartegt-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Qlandkartegt-users mailing list
>>> Qlandkartegt-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>>
>>
>>
>>
>> _______________________________________________
>> Qlandkartegt-users mailing list
>> Qlandkartegt-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>
>
> _______________________________________________
> Qlandkartegt-users mailing list
> Qlandkartegt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to