Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No cameras found" when I launch the first-frame example #812

Open
saimonseas opened this issue Jun 1, 2023 · 1 comment
Open

"No cameras found" when I launch the first-frame example #812

saimonseas opened this issue Jun 1, 2023 · 1 comment

Comments

@saimonseas
Copy link

Good morning,
I am using an AD-FXTOF1-EBZ together with a Raspberry Pi 3.
I installed the image and set up the system as described in:

https://wiki.analog.com/resources/eval/user-guides/ad-fxtof1-ebz/ug_rpi

"aditof-demo.sh" works correctly.

I downloaded the "aditof_sdk-master" folder from Github and put it in the Downloads folder of the Raspberry.

Inside this folder I created a "build" folder, entered the folder from the terminal by typing:

cd /home/pi/Downloads/aditof_sdk-master/build

and then

cmake -DUSE_FXTOF1=1 -DWITH_PYTHON=on -DWITH_EXAMPLES=on -DCMAKE_PREFIX_PATH="/opt/glog;/opt/protobuf;/opt/websockets" ..
cmake --build . --target install

at this point I enter the "first-frame" folder with the following command:

cd /home/pi/Downloads/aditof_sdk-master/build/examples/first-frame

And from inside the folder I launch the executable:

sudo ./first-frame

I get the following error
WhatsApp Image 2023-06-01 at 10 58 08

How can I solve it? It says the camera is not found but the demo works correctly.

@rbudai98
Copy link
Collaborator

rbudai98 commented Jun 1, 2023

Hi @saimonseas!
Thanks for reaching out to us! During the build of the downloaded SDK, could you please try adding the -DRASPBERRYPI=1 flag to the cmake command? (Similar to this: https://github.com/analogdevicesinc/aditof_sdk/blob/master/doc/raspberrypi3/build_instructions.md#ad-fxtof1-ebz)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants