Danke für die Antwort

On 21.04.2014 14:36, Diez B. Roggisch wrote:
Hallo,


ich arbeite auf ubuntu 14.04

und habe eine  eine library gebaut mit cmake .
Welche genau waere auch hilfreich. Zum sourcecode-schmoekern.
ich habe angefangen einen "brain dum"p für mich zu machen

http://projects.redcor.ch/diverses/installing-python-cvblob

hoffentlich mach das die Dinge klarer

danke
robert


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