Code Monkey home page Code Monkey logo

Comments (8)

hosiet avatar hosiet commented on September 17, 2024

update: This should not be packaging problem. The same problem happens when using bundled files in generated/ directory.

from qevercloud.

d1vanov avatar d1vanov commented on September 17, 2024

"undefined reference to vtable" usually occurs when there's some pure virtual method left unimplemented. Or its implementation didn't make it into the final binary.

First I'd like you to see what happens if you try to link nixnote2 to the vanilla QEverCloud library, without Debian patches at all, to understand whether the bug belongs to the vanilla version or to patches.

from qevercloud.

d1vanov avatar d1vanov commented on September 17, 2024

FWIW, I regulaly test the changes to QEverCloud via a NotePoster test app + one more app which I haven't open-sourced yet. I've never seen such symbols problem there.

from qevercloud.

hosiet avatar hosiet commented on September 17, 2024

It looks like only a few symbols could not be found (related to OAuth and
Exception). If the example project don't use them them maybe there won't be
errors. I'm not sure. Will dig into it later.

在 2016年9月7日週三 12:50,Dmitry Ivanov [email protected] 寫道:

FWIW, I regulaly test the changes to QEverCloud via a NotePoster
https://github.com/d1vanov/QEverCloud-example-NotePoster test app + one
more app which I haven't open-sourced yet. I've never seen such symbols
problem there.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIDYFkOjhyGIQXkgvDlNBxwcX_IbMsShks5qnkKUgaJpZM4J2hMe
.

from qevercloud.

d1vanov avatar d1vanov commented on September 17, 2024

The example project does use OAuth, otherwise it won't be able to communicate with Evernote servers 😃 It doesn't use the exceptions directly though.

from qevercloud.

d1vanov avatar d1vanov commented on September 17, 2024

In the build log you attached I don't actually see the linkage to QEverCloud library at all:
-L/usr/X11R6/lib64 -lhunspell -lcurl -L/usr/lib -lpoppler-qt5 -g -rdynamic -lQt5PrintSupport -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread
I'd say that should explain the undefined references you have. Try to add the linkage to QEverCloud library into the NixNote.pro file:

greaterThan(QT_MAJOR_VERSION, 4) {
    QT       += core gui widgets printsupport webkit webkitwidgets sql network xml dbus
    DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
    INCLUDEPATH += /usr/include/poppler/qt5
    LIBS +=    -lhunspell -lcurl \
               -lpthread -L/usr/lib -lpoppler-qt5 -lqt5qevercloud -g -rdynamic
}

equals(QT_MAJOR_VERSION, 4) {
    QT       += core gui webkit sql network xml
    INCLUDEPATH += /usr/include/poppler/qt4
    LIBS +=    -lhunspell -lcurl \
               -lpthread -L/usr/lib -lpoppler-qt4 -lqt4qevercloud -g -rdynamic
}

from qevercloud.

hosiet avatar hosiet commented on September 17, 2024

Yes you are right, silly me. Things are working well now.

在 2016年9月7日週三 15:24,Dmitry Ivanov [email protected] 寫道:

In the build log you attached I don't actually see the linkage to
QEverCloud library at all:
-L/usr/X11R6/lib64 -lhunspell -lcurl -L/usr/lib -lpoppler-qt5 -g -rdynamic
-lQt5PrintSupport -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui
-lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread
I'd say that should explain the undefined references you have. Try to add
the linkage to QEverCloud library into the NixNote.pro
https://github.com/hosiet/nixnote2/blob/debian/NixNote2.pro file:

greaterThan(QT_MAJOR_VERSION, 4) {
QT += core gui widgets printsupport webkit webkitwidgets sql network xml dbus
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
INCLUDEPATH += /usr/include/poppler/qt5
LIBS += -lhunspell -lcurl
-lpthread -L/usr/lib -lpoppler-qt5 -lqt5qevercloud -g -rdynamic
}

equals(QT_MAJOR_VERSION, 4) {
QT += core gui webkit sql network xml
INCLUDEPATH += /usr/include/poppler/qt4
LIBS += -lhunspell -lcurl
-lpthread -L/usr/lib -lpoppler-qt4 -lqt4qevercloud -g -rdynamic
}


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIDYFlDNHLNyXFQuJEEs9-ZHa6dOW1-qks5qnmaQgaJpZM4J2hMe
.

from qevercloud.

d1vanov avatar d1vanov commented on September 17, 2024

Great, closing this one then 😃

from qevercloud.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.