Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Include external library
Forum Updated to NodeBB v4.3 + New Features

Include external library

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 961 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xingelxangel
    wrote on last edited by
    #1

    Hello together,

    I'm very new to the whole QT area.

    At this point I'm using an ubuntu and I installed the QT creator. For my work I have to develop a project which is using CUDD (http://vlsi.colorado.edu/~fabio/CUDD/). So I downloaded CUDD and made a "make" command to build it. After that I tried to add the libs to the QT creator. I added a new SubProject and then a new C++ project. Then I tried to implement a simple example. I added the libs with the help of the gui and the "Add external lib" stuff of the QT creator. My ".pro" file contains the path extensions, the lib extensiona and so on. (see "compliling and linking under http://vlsi.colorado.edu/~fabio/CUDD/node3.html#SECTION00031000000000000000)

    Then I had a lot of problems:

    1. I was not able to use:
      #include "util.h"
      #include "cudd.h"

    I had to provide the whole path here (/home/...... etc.). What am I doing wrong here?

    1. I tried to initiate this CUDD stuff from within my test code and I was told: "undefined reference to ....." What am I doing wrong here? I can go into the cudd code by typing F4 but it wouldn't build my test project.

    Can you please help me?
    Thanks in advance.

    Best regards,
    Eric

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Can you post your pro file ?

      Did you also add

      @DEPENDPATH += Path/To/CUDD/includes@

      To your pro file ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Salvatello
        wrote on last edited by
        #3

        undefined reference to imp_zn5……….Ev

        Your mistake is this?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved