Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile under 16.04 LTS #1

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

Unable to compile under 16.04 LTS #1

delijati opened this issue Oct 17, 2017 · 1 comment

Comments

@delijati
Copy link

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
@townsend2010
Copy link
Contributor

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:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants