Hi Robert, On 2014-04-21 13:43, robert rottermann wrote:
ich arbeite auf ubuntu 14.04
und habe eine eine library gebaut mit cmake . make make install
das resultat ist: root@salice:/home/robert/Downloads/cvblob/cvblob# make install [ 66%] Built target cvblob [ 77%] Built target test [ 88%] Built target test_random [100%] Built target test_tracking Install the project... -- Install configuration: "Release" -- Up-to-date: /usr/local/share/cvblob/cvBlobConfig.cmake -- Up-to-date: /usr/local/lib/pkgconfig/cvblob.pc -- Up-to-date: /usr/local/include/cvblob.h -- Installing: /usr/local/lib/libcvblob.so -- Removed runtime path from "/usr/local/lib/libcvblob.so"
wenn ich die library aber brauchen will: bekomme ich folgenden fehler:
robert@salice:~/Downloads/cvblob/cvblob/contrib/python$ python test.py Traceback (most recent call last): File "test.py", line 4, in <module> import cvblob File "/home/robert/Downloads/cvblob/cvblob/contrib/python/cvblob/__init__.py", line 13, in <module> from _cvblob import *
bei diesem Import-Statement nehme ich an, dass es eine Datei `_cvblob.so` oder `_cvblog.py` gibt - oder besser gesagt geben soll. Mir scheint, du hast eine C-Bibliothek installiert, aber kein passendes Python-Binding dafür. Viele Grüße Stefan