BCON for MIPI Camera: no device found
See original GitHub issueI’m trying to use a camera with BCON for MIPI interface on a DART-MX8M-MINI, but don’t get it to work.
I have the same issue as #206 , but when trying to python3 setup.py develop
I get either this error:
/home/root/pypylon-master/generated/genicam_wrap.cpp:205:11: fatal error: Python.h: No such file or directory
# include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'aarch64-poky-linux-gcc' failed with exit status 1
or this one:
/home/root/pypylon-master/generated/genicam_wrap.cpp:46924:1: fatal error: error writing to -: Broken pipe } ^ compilation terminated. error: command 'aarch64-poky-linux-gcc' failed with exit status 1
I followed the Wiki pages for Yocto configurations.
I added the following to my local.conf:
IMAGE_INSTALL_append = " \ swig \ gcc \ tcf-agent \ openssh-sftp-server \ python3-dev \ opencv \ basler-camera-driver \ pylon \ python3-pypylon \ gentl-producer \ xauth \ "
And in setup.py I change in PylonConfig “pylon5” to “pylon6”.
Does anyone have a tipp for me how to proceed? Cheers, chill
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
That worked for me, thank you very much!
most probably there is an environment variable missing, that points to the location of the userland portion of the driver-stack
export GENICAM_GENTL64_PATH=/opt/dart-bcon-mipi/lib
or add it to /etc/environment: