Unable to compile under 16.04 LTS #1

Open
delijati opened this Issue Oct 17, 2017 · 1 comment

Comments

Projects
None yet
2 participants

After installing all dependencies [1] i run into following error: [2] I used the version from launchpad bzr branch lp:libertine/trunk.

[1]

sudo apt-get install cmake-extras
sudo apt install qt*5-dev
sudo apt-get install cmake
sudo apt-get install bzr
sudo apt-get install intltool
sudo apt-get install python3-dev
sudo apt-get install libdbustest1*
sudo apt-get install libsystemsettings*
sudo apt-get install libgtest-dev
sudo apt-get install libcontent-hub*

[2]

[ 32%] Building CXX object pasted/CMakeFiles/pasted.dir/pasted.cpp.o
/home/delicj/trunk/pasted/pasted.cpp: In member function ‘void Pasted::handleXClipboard()’:
/home/delicj/trunk/pasted/pasted.cpp:200:19: error: ‘class com::ubuntu::content::Hub’ has no member named ‘createPasteSync’
     content_hub_->createPasteSync(persistentSurfaceId_, *lastMimeData_);
                   ^
/home/delicj/trunk/pasted/pasted.cpp: In member function ‘void Pasted::handleContentHubPasteboard()’:
/home/delicj/trunk/pasted/pasted.cpp:208:47: error: ‘class com::ubuntu::content::Hub’ has no member named ‘latestPaste’
   const QMimeData *pasteboard = content_hub_->latestPaste(persistentSurfaceId_);
                                               ^
pasted/CMakeFiles/pasted.dir/build.make:62: recipe for target 'pasted/CMakeFiles/pasted.dir/pasted.cpp.o' failed
make[2]: *** [pasted/CMakeFiles/pasted.dir/pasted.cpp.o] Error 1
CMakeFiles/Makefile2:1443: recipe for target 'pasted/CMakeFiles/pasted.dir/all' failed
make[1]: *** [pasted/CMakeFiles/pasted.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

@delijati delijati referenced this issue in ubports/ubuntu-touch Oct 17, 2017

Open

Fork libertine to ubports #302

Contributor

townsend2010 commented Dec 13, 2017

Hi there,

It's been some time since I've looked at Libertine. But the compiling issue you see is because the version of Content Hub you are building against needs updating.

I hope this helps and sorry for taking so long to get back to you:)

@delijati delijati referenced this issue in ubports/ubuntu-touch Dec 14, 2017

Open

ubports unity8 overlay for 16.04 LTS desktop #361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment