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

Install script failed -Did not find any OpenCV Libraries #560

Closed
robmorin opened this issue Oct 4, 2021 · 6 comments
Closed

Install script failed -Did not find any OpenCV Libraries #560

robmorin opened this issue Oct 4, 2021 · 6 comments

Comments

@robmorin
Copy link

robmorin commented Oct 4, 2021

I installed this last week, it worked fine, I started over on a new install today , not working

Ideas?

pi@raspberrypi:~/allsky$ ./install.sh


*** Welcome to the Allsky Camera installer ***


  • Dependencies installation

make: Entering directory '/home/pi/allsky/src'
Makefile:42: *** Did not find any OpenCV Libraries, try 'make deps'. Stop.
make: Leaving directory '/home/pi/allsky/src'
Installing dependencies failed!

Thanks

@robmorin
Copy link
Author

robmorin commented Oct 4, 2021

For anyone else having same issue, installing libopencv-dev did the trick

apt install libopencv-dev
:)

@robmorin robmorin changed the title Install script failed? Install script failed -Did not find any OpenCV Libraries Oct 4, 2021
@robmorin robmorin closed this as completed Oct 4, 2021
@robmorin
Copy link
Author

robmorin commented Oct 4, 2021

Resolved after install libopencv-dev

@linuxkidd
Copy link
Collaborator

I realize you've got this all taken care of now.. but I'm curious the flow you took that landed you into these errors ( and those from your other ticket(s)).

Did you run the install.sh script in the top level directory, as your regular user? ( presumably the pi user ).
If so, can you provide the console output ( if it's still around ) from that run...

I ask, because the installer should have added those dependencies for you ( libopencv-dev ) and handled all of the permissions, etc. So if that all failed, we'd like to know and fix it for future users.

@adymac101
Copy link

I've run into the exact same problem just today. Installed a new OS onto Pi 4 (Release date: May 7th 2021, Kernel version: 5.10). Followed the instructions to the letter for the allsky install while logged on as the pi user, received an error that 'package libusb-1.0 was not found' during the dependencies check and the installation aborts. Ran 'sudo apt-get install libusb-1.0' and then attempted install.sh again. This time got the error 'did not find any opencv libraries'. Did an install libopencv-dev and tried again and everything worked. Hope that helps others.

@Curtis2012
Copy link

I just had the same problem. My first install of allskycam went smoothly following the published instructions. Then the SD card got corrupted. No big deal...just burn another one and re-install right...wrong. With a freshly burned Raspian 32 bit image on a 3A+ the install failed. Resolved by "install libopencv-dev".

Output from install.sh below:

...
pi@allsky:~/allsky $ ./install.sh


*** Welcome to the Allsky Camera installer ***


  • Dependencies installation

make: Entering directory '/home/pi/allsky/src'
Makefile:42: *** Did not find any OpenCV Libraries, try 'make deps'. Stop.
make: Leaving directory '/home/pi/allsky/src'
Installing dependencies failed!

...

@robmorin
Copy link
Author

robmorin commented Oct 7, 2021 via email

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

4 participants