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 *
Da ich nicht weiss, ob _cvblob eine Python-Datei oder eine Library ist, ist die Antwort: kommt drauf an. Moegliche Probleme sind:
- libcvblob wird von _cvblob.py mittels ctypes geladen, und da geht was schief
- _cvblob.so ist nicht gebaut worden
- eine der .so-files ist nicht binaer-kompatibel mit deinem Python
Mehr faellt mir nicht ein.
Diez
_______________________________________________
python-de maillist - python-de@python.org
https://mail.python.org/mailman/listinfo/python-de