[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with boost



Christoph Nenning wrote:
Dear list,

we are using qt-4, opencv and boost in our project.

On my etch box dpkg -l libboost\* says:
un  libboost-date- <keine>        (keine Beschreibung vorhanden)
ii  libboost-dev   1.33.1-4       Boost C++ Libraries development files
ii  libboost-doc   1.33.1-4       Boost.org libraries documentation
ii  libboost-files 1.33.1-4       filesystem operations (portable paths, itera
ii  libboost-files 1.33.1-4       filesystem operations (portable paths, itera
un  libboost-graph <keine>        (keine Beschreibung vorhanden)
un  libboost-iostr <keine>        (keine Beschreibung vorhanden)
un  libboost-progr <keine>        (keine Beschreibung vorhanden)
un  libboost-pytho <keine>        (keine Beschreibung vorhanden)
ii  libboost-pytho 1.31.0-9       Boost Python Library
ii  libboost-pytho 1.32.0-6       Boost.Python Library
rc  libboost-pytho 1.33.0-2       Boost.Python Library
ii  libboost-pytho 1.33.0-6       Boost.Python Library
ii  libboost-pytho 1.33.1-4       Boost.Python Library
un  libboost-regex <keine>        (keine Beschreibung vorhanden)
un  libboost-seria <keine>        (keine Beschreibung vorhanden)
ii  libboost-signa 1.33.1-4       managed signals and slots library for C++
ii  libboost-signa 1.33.1-4       managed signals and slots library for C++
un  libboost-test- <keine>        (keine Beschreibung vorhanden)
un  libboost-threa <keine>        (keine Beschreibung vorhanden)
un  libboost-wave- <keine>        (keine Beschreibung vorhanden)

and in our .pro file we have:
LIBS += -lboost_signals -lboost_filesystem `pkg-config --cflags --libs opencv`

but during building i get:
undefined reference to `boost::signalslib::trackable::~trackable()'

So what am i doing wrong?

just guessing: you have several versions of boost installations...
could it be that you include the headers of one version and link with
another version?

hope this helps...

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.purplesucker.com Deep Purple Cover Band |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+




Reply to: