question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BCON for MIPI Camera: no device found

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
chillking2commented, Sep 15, 2020

That worked for me, thank you very much!

0reactions
thiesmoellercommented, Aug 25, 2020

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:

root@imx8mevk:~# cat /etc/environment 
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
GENICAM_GENTL64_PATH=/opt/dart-bcon-mipi/lib

Read more comments on GitHub >

github_iconTop Results From Across the Web

BCON for MIPI Hardware Design Guide | Basler
This topic provides recommendations for designing your hardware to work with the Basler BCON for MIPI interface.
Read more >
Basler daA4200 30mci CSI/MIPI camera cannot be opened ...
Basler daA4200 30mci CSI/MIPI camera cannot be opened using nvgstcapture-1.0 in Jetson Nano 2gb. I can successfully open the camera via basler ...
Read more >
4K dart BCON for MIPI camera module for i.MX 8M Plus - NXP
The 4K dart BCON for MIPI camera module by Basler provides a starting point to easily add vision to applications to the i.MX...
Read more >
How to Use Basler MIPI CSI-2 Cameras Together with DSBOX ...
Open another file manager window and open the Jetson OS's folder. (All Jetson OSs located in the Target HW image folder (~/nvidia/nvidia_sdk/).
Read more >
MIPI camera support – application-ready and onboard
congatec expands embedded vision portfolio for NXP i.MX 8 processor series.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found