Discussion:
Build Ubuntu 18.04
Martin Měřinský
2018-04-27 10:32:28 UTC
Permalink
Hi,
for latest Ubuntu, qtdeclarative5-private-dev package is missing in
packages list in INSTALL file.

But I'm not able to build it anyway.

./subsurface/scripts/build.sh

/data/ss/googlemaps/qgeotiledmapgooglemaps.h:4:10: fatal error:
QtLocation/private/qgeotiledmap_p.h: No such file or directory
#include "QtLocation/private/qgeotiledmap_p.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

/data/ss/googlemaps/qgeotiledmappingmanagerenginegooglemaps.h:4:10:
fatal error: QtLocation/private/qgeotiledmappingmanagerengine_p.h: No
such file or directory
#include "QtLocation/private/qgeotiledmappingmanagerengine_p.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

/data/ss/googlemaps/qgeomapreplygooglemaps.h:5:10: fatal error:
QtLocation/private/qgeotilespec_p.h: No such file or directory
#include <QtLocation/private/qgeotilespec_p.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

/data/ss/googlemaps/qplacemanagerenginegooglemaps.cpp:13:10: fatal
error: QtLocation/private/unsupportedreplies_p.h: No such file or
directory
#include <QtLocation/private/unsupportedreplies_p.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Can someone please help? Thanks.
Martin M.
Lubomir I. Ivanov
2018-04-27 11:35:40 UTC
Permalink
hi,
Post by Martin Měřinský
Hi,
for latest Ubuntu, qtdeclarative5-private-dev package is missing in
packages list in INSTALL file.
Ubuntu should have a package for this one i think?
feel free to send a patch for INSTALL.
Post by Martin Měřinský
But I'm not able to build it anyway.
./subsurface/scripts/build.sh
QtLocation/private/qgeotiledmap_p.h: No such file or directory
#include "QtLocation/private/qgeotiledmap_p.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
<snip>

we do have a section in build.sh that tries to pull the private
headers for qt-location and qt-pisitioning:
https://github.com/Subsurface-divelog/subsurface/blob/master/scripts/build.sh#L148

the above errors suggests that this build.sh code isn't working. i
guess you need to find out why.
try adding some "echo" calls in there to see what succeeds and also
look at your folder structure for the private headers.

thanks
lubomir
--
Martin Měřinský
2018-05-01 19:29:49 UTC
Permalink
This post might be inappropriate. Click to display it.
Miika Turkia
2018-05-01 19:39:57 UTC
Permalink
Post by Martin Měřinský
Post by Lubomir I. Ivanov
hi,
Post by Martin Měřinský
Hi,
for latest Ubuntu, qtdeclarative5-private-dev package is missing in
packages list in INSTALL file.
Ubuntu should have a package for this one i think?
I wrote the name of the package, it's qtdeclarative5-private-dev .
Post by Lubomir I. Ivanov
feel free to send a patch for INSTALL.
I would, if I managed to build Subsurface.
I am building on 18.04 and didn’t notice anything missing. After upgrade, I had to reinstall packages listed on INSTALL file. And ensure libdc was compiled properly.

miika
Martin Měřinský
2018-05-02 04:58:16 UTC
Permalink
I have clear 18.04 install.
I installed packages listed in INSTALL. Some were missing.
For working packages list, I made a pull request.
git clean -fdx
git submodule init
git pull https://github.com/Subsurface-divelog/subsurface.git master
cd ..
./subsurface/scripts/build.sh

/data/ss/googlemaps/qgeotiledmapgooglemaps.h:4:10: fatal error:
QtLocation/private/qgeotiledmap_p.h: No such file or directory
#include "QtLocation/private/qgeotiledmap_p.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Etc.

Directory $INSTALL_ROOT/include/QtLocation/private existed.
So I had to remove it.
rmdir install-root/include/QtLocation/private/

After that, build was successfull.

Download from Suunto HelO2 works, but red bar with message
"SERIAL USB USBHID IRDA" is shown. See attachment.

I have one feature request. It would be nice, if "Import from dive
computer" dialog had last divecomputer used for import pre-selected.

Martin M.

Loading...