- Code: Select all
root@OpenWrt:~# opkg install -A http://downloads.openwrt.org/chaos_calmer/15.05.
1/ramips/mt7628/packages/packages/opencv_2.4.11-3_ramips_24kec.ipk
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/packages/opencv_2.4.11-3_ramips_24kec.ipk.
Installing opencv (2.4.11-3) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for opencv:
* libstdcpp *
* opkg_install_cmd: Cannot install package opencv.
root@OpenWrt:~#
Install OpenCV issue...
- mano1979
- Posts: 8
- Joined: Thu Dec 29, 2016 6:20 am
Install OpenCV issue...
I tried to install OpenCV but i got this error. I tried to install libstdcpp but that could not be found. Anyone had this issue or knows how to install opencv?
- GinDiamond
- Posts: 48
- Joined: Thu Mar 31, 2016 11:02 pm
Re: Install OpenCV issue...
- Code: Select all
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for opencv:
* libstdcpp *
* opkg_install_cmd: Cannot install package opencv.
It seems you don't have libstdcpp installed. If that is built and installable in ipk form for the vocore2 I do not know. A simple "opkg install libstdcpp" might solve this.
- mano1979
- Posts: 8
- Joined: Thu Dec 29, 2016 6:20 am
Re: Install OpenCV issue...
That is exactly what i did. The package could not be found though.
- mano1979
- Posts: 8
- Joined: Thu Dec 29, 2016 6:20 am
Re: Install OpenCV issue...
I found the package in another folder from the repo. OpenCV is installed!
Now where is that OpenCV folder?......
Now where is that OpenCV folder?......
- noblepepper
- Posts: 240
- Joined: Sat Nov 29, 2014 3:22 pm
Re: Install OpenCV issue...
I think y'all are over complicating opkg. I just used opkg update and opkg install and everything works like it should:
I'm not sure what you are looking for but opkg files tells me what got installed:
- Code: Select all
root@OpenWrt:/# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
<snip>
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/packages/Packages.sig.
Signature check passed.
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/linkit/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/linkit/Packages.sig, wget returned 1.
root@OpenWrt:/# opkg install opencv
Installing opencv (2.4.11-3) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/packages/opencv_2.4.11-3_ramips_24kec.ipk.
Installing libstdcpp (4.8-linaro-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7628/packages/base/libstdcpp_4.8-linaro-1_ramips_24kec.ipk.
Configuring libstdcpp.
Configuring opencv.
root@OpenWrt:/#
I'm not sure what you are looking for but opkg files tells me what got installed:
- Code: Select all
root@OpenWrt:/# opkg files opencv
Package opencv (2.4.11-3) is installed on root and has the following files:
/usr/lib/libopencv_calib3d.so
/usr/lib/libopencv_contrib.so.2.4.11
/usr/lib/libopencv_features2d.so.2.4
/usr/lib/libopencv_objdetect.so.2.4.11
/usr/lib/libopencv_calib3d.so.2.4.11
/usr/lib/libopencv_contrib.so
/usr/lib/libopencv_ml.so
/usr/lib/libopencv_core.so.2.4
/usr/lib/libopencv_photo.so.2.4
/usr/lib/libopencv_ocl.so.2.4.11
/usr/lib/libopencv_video.so
/usr/lib/libopencv_flann.so.2.4
/usr/lib/libopencv_flann.so.2.4.11
/usr/lib/libopencv_nonfree.so
/usr/lib/libopencv_nonfree.so.2.4.11
/usr/lib/libopencv_legacy.so.2.4.11
/usr/lib/libopencv_photo.so
/usr/lib/libopencv_video.so.2.4.11
/usr/lib/libopencv_objdetect.so
/usr/lib/libopencv_ocl.so
/usr/lib/libopencv_core.so
/usr/lib/libopencv_nonfree.so.2.4
/usr/lib/libopencv_imgproc.so.2.4
/usr/lib/libopencv_objdetect.so.2.4
/usr/lib/libopencv_features2d.so.2.4.11
/usr/lib/libopencv_legacy.so
/usr/lib/libopencv_core.so.2.4.11
/usr/lib/libopencv_video.so.2.4
/usr/lib/libopencv_photo.so.2.4.11
/usr/lib/libopencv_imgproc.so.2.4.11
/usr/lib/libopencv_calib3d.so.2.4
/usr/lib/libopencv_contrib.so.2.4
/usr/lib/libopencv_legacy.so.2.4
/usr/lib/libopencv_ocl.so.2.4
/usr/lib/libopencv_ml.so.2.4.11
/usr/lib/libopencv_features2d.so
/usr/lib/libopencv_imgproc.so
/usr/lib/libopencv_ml.so.2.4
/usr/lib/libopencv_flann.so
root@OpenWrt:/#
- GinDiamond
- Posts: 48
- Joined: Thu Mar 31, 2016 11:02 pm
Re: Install OpenCV issue...
This is all very interesting. Do you have enough space (as in setting the root directory to mount on an ext3 formatted usb stick via Luci gui?)
I tried installing opencv by doing this:
opkg install opencv
and it worked with nothing going wrong (other than my annoying errors "Duplicate src found...ignored")
I've found that installing packages this way usually include dependencies. I only explicitly say WHICH package via url/filename if I'm upgrading certain things or installing my own that I built.
If there's one thing I've learned with computers over the years, its this:
There is ALWAYS an easier way.
Good luck sir!
I tried installing opencv by doing this:
opkg install opencv
and it worked with nothing going wrong (other than my annoying errors "Duplicate src found...ignored")
I've found that installing packages this way usually include dependencies. I only explicitly say WHICH package via url/filename if I'm upgrading certain things or installing my own that I built.
If there's one thing I've learned with computers over the years, its this:
There is ALWAYS an easier way.
Good luck sir!
- noblepepper
- Posts: 240
- Joined: Sat Nov 29, 2014 3:22 pm
Re: Install OpenCV issue...
Do you have enough space (as in setting the root directory to mount on an ext3 formatted usb stick via Luci gui?)
You can set up USB or sdcard storage to mount in different places and use it for data storage without problems but if you want more space for packages etc, the recommended way is extroot
7 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 50 guests