Results 1 to 5 of 5

Thread: error: undefined reference to. Where?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2015
    Location
    Barquisimeto, Venezuela
    Posts
    24
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Android

    Question error: undefined reference to. Where?

    Hello again, friends.

    In this opportunity I am writing to see how far they can guide me with this problem that has been presented to me.

    After a question I asked a few weeks ago and orientations of anda_skoa, I have managed to "compile" a project that I have been developing gradually. The point is that when compiling my executable I have the following errors:

    Qt Code:
    1. /home/remizero/Projects/Qt/ecomoditor-Debug/common/language/libphp.so:-1: error: undefined reference to `With: Ecosoftware :: Ecomoditor :: Common :: Language :: Core :: Model: : ClassAbs :: staticMetaObject '
    2. /home/remizero/Projects/Qt/ecomoditor-Debug/common/addons/libclass-viewer.so:-1: error: undefined reference to `With: Ecosoftware :: Ecomoditor :: Common :: Language :: Core :: Model :: MethodAbs :: getMethodReturn () const '
    3. /home/remizero/Projects/Qt/ecomoditor-Debug/common/libactions.so:-1: error: undefined reference to `With: Ecosoftware :: Ecomoditor :: Common :: CodeGenerator :: Core :: ClassGeneratorAbs :: save (QString) '
    To copy to clipboard, switch view to plain text mode 

    Well they really are more, but I think with them is enough to get an idea of ​​what happens to me. Clarifying that all libraries get to compile completely and without problems, I only throw the undefined reference error when I try to compile the executable that is:

    Qt Code:
    1. Ecomoditor/bin/ecomoditor
    To copy to clipboard, switch view to plain text mode 

    It should be noted that I have reviewed a lot of documentation and references on the web about this problem, but so far I have not been able to solve it with any solution offered, which in most cases have nothing to do with mine.

    I'm working on Debian 9 64bit, QtCreator 4.2.0, Qt 5.7.1

    In addition to this, I can comment that all the libraries work correctly, I have tried them all separately and all the code works correctly, costing me a lot to separate this project in libraries because initially I had it as a whole in an app type project.

    You may notice some hazards in the .pro files, but it's only so far that I'm programming something serious with Qt and of course there are the errors that are being presented to me. I put what I take so far from the project to have it tested and verify where the error may be and then they can tell me that I am doing wrong and where to go.

    By the way, what is commented in .pro files is because I'm not using it yet and so I did not put those portions of code.

    No more to add, thank you very much in advance.
    Attached Files Attached Files

Similar Threads

  1. error: undefined reference to `_imp___ZN19QGrouping !!
    By Fatemeh in forum Qt Programming
    Replies: 2
    Last Post: 14th May 2013, 11:38
  2. error: undefined reference to qInitResources_pbuffers()
    By saman_artorious in forum Qt Programming
    Replies: 0
    Last Post: 8th April 2013, 09:42
  3. Getting Undefined Reference Error
    By A.H.M. Mahfuzur Rahman in forum Qt Programming
    Replies: 2
    Last Post: 22nd June 2009, 02:12
  4. error undefined reference ...............
    By amit_pansuria in forum Qt Programming
    Replies: 2
    Last Post: 8th June 2007, 14:28
  5. Undefined Reference error!!!
    By Kapil in forum Newbie
    Replies: 25
    Last Post: 28th March 2006, 12:03

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.