Include external library
-
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:
- 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?
- 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 - I was not able to use:
-
Hi and welcome to devnet,
Can you post your pro file ?
Did you also add
@DEPENDPATH += Path/To/CUDD/includes@
To your pro file ?
-
undefined reference to imp_zn5……….Ev
Your mistake is this?