Hi Christophe,
as a *first comment*. You do not have to build PROJ by yourself. it comes with the
system as libproj-dev
*Long description,* I just build QMapShack (the *master branch*) on a Ubuntu
24.04.2 LTS system:
- Installed Ubuntu 24.04.2 LTS desktop, ubuntu-24.04.2-desktop-amd64.iso in a
VM.
- For completeness, I choose:
- Updated the installer and restart the installation from the Desktop
- Extended selection
- Install third-party software for graphics and Wi-Fi hardware
- Download and install support for additional media formats
- Erase disk and install Ubuntu
- Checking for Software Updates
- For completeness, for my convenience I installed after:
- sudo apt update
- sudo apt upgrade
- sudo reboot
- sudo apt install synaptic apt-file openssh-server gnome-tweaks
*Now the special things concerning QMapShack*, it is very similar to what is
written for Ubuntu 22.04. But 24.04 has the correct versions of the "additional"
software like GDAL or PROJ, so you do not have to build it by your own.
- sudo apt install g++ make # Here I assume that one normally
has it already installed
- sudo apt install git cmake qtbase5-dev qtchooser\
qt5-qmake qtbase5-dev-tools qttools5-dev libqt5webkit5-dev \
qtscript5-dev qttools5-dev-tools libqt5sql5-mysql qtwebengine5-dev \
libqt5sql5-mysql default-libmysqlclient-dev sqlite3 libsqlite3-dev \
libtiff-dev libghc-bzlib-dev # As you can see it is very
similar to Ubuntu 22.04
- sudo apt install libgdal-dev libroutino-dev # showing the difference to Ubuntu
22.04
libproj-dev was already installed. If not, install it with: sudo apt install
libproj-dev
Then I build QMackShack as usual. Let us assume the following:
For me everything is build under /sharedBuild and in ~ I have the download
qmapshack-master.zip file
cd /sharedBuild
unzip -x ~/qmapshack-master.zip
mkdir build_QMapShack
cd build_QMapShack
cmake ../qmapshack-master # Because I do not want to install it I avoided
something like -DCMAKE_INSTALL_PREFIX=/usr
make -j6 # my VM has 8 processors
After the cmake command I got the information: -- Could not find ALGLIB using
internal code.
You can fix this, it is not necessary, using: sudo apt install libalglib-dev
I also did this and everything works as before.
After the make command I could start QMapShack with: ./bin/qmapshack
I did not check more.
I hope this helps,
Torsten
On 29.05.25 12:06, [email protected] wrote:
Hello all,
Until recently I was using build instructions found on
https://github.com/Maproom/qmapshack/wiki/BuildUbuntu22-04
But I have no luck with Ubuntu 24. I am stuck at Proj compilation. Because of
GCC13 it gets blocked.
Can you help me ?
Thanks in advance,
Christophe
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users