Installing opencv on ODROID XU-4

Post Reply
TakiEddine
Posts: 1
Joined: Mon Apr 22, 2019 1:19 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Installing opencv on ODROID XU-4

Unread post by TakiEddine » Mon May 27, 2019 10:26 pm

I'm trying to install Opencv on ODROID XU4 where I'm following this tutorial https://www.learnopencv.com/install-ope ... ntu-18-04/. I am using ubuntu 18.04 Bionic Beaver(32 bits). when I try to add the repository for updates I get the following error Image, and when I open etc/apt/source.list I get this script

Code: Select all

deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic main universe multiverse restricted #Added by software-properties

deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main universe multiverse restricted #Added by software-properties

deb http://ports.ubuntu.com/ubuntu-ports/ bionic universe
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates universe

deb http://ports.ubuntu.com/ubuntu-ports/ bionic multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates multiverse

deb http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse #Added by software-properties

deb http://archive.canonical.com/ubuntu bionic partner
deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security main universe multiverse restricted #Added by software-properties
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security universe
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security multiverse

deb http://security.ubuntu.com/ubuntu xenial-security main
# deb-src http://security.ubuntu.com/ubuntu xenial-security main
deb http://ports.ubuntu.com/ubuntu-ports/ trusty main
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main
# deb-src http://security.ubuntu.com/ubuntu xenial-security main
# deb-src http://deb.odroid.in/5422-s bionic main
# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic main
# deb-src http://security.ubuntu.com/ubuntu xenial-security main
Can you please help with this problem ? why do I have problem with downloading armfh package ?

User avatar
odroid
Site Admin
Posts: 31377
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 52 times
Been thanked: 184 times
Contact:

Re: Installing opencv on ODROID XU-4

Unread post by odroid » Tue May 28, 2019 3:26 pm

Check the deb source URL name carefully.
Ubuntu 18.04 must be Bionic not Xenial.
You can't add the 16.04 repo to the 18.04 system.

lsc1117
Posts: 124
Joined: Thu Aug 22, 2013 12:46 am
languages_spoken: english
Location: South Korea
Has thanked: 0
Been thanked: 2 times
Contact:

Re: Installing opencv on ODROID XU-4

Unread post by lsc1117 » Wed May 29, 2019 11:57 am

@TaikEddine,

Can you try this guide?
https://www.pyimagesearch.com/2018/08/1 ... on-ubuntu/

I have installed the opencv 4.0 on my XU4 Ubuntu 18.04.
It works well.

User avatar
tony.hong
Posts: 5
Joined: Tue Jun 04, 2019 1:49 pm
languages_spoken: korean
ODROIDs: All
Location: korea
Has thanked: 0
Been thanked: 0
Contact:

Re: Installing opencv on ODROID XU-4

Unread post by tony.hong » Fri Jun 14, 2019 11:02 pm

I think the purpose of adding repositories seems to be due to libjasper-dev.

Instead of adding repository and installing libjasper, try the below command.

Code: Select all

sudo apt install -y freeglut3-dev &&\
git clone https://github.com/mdadams/jasper.git &&\
cd jasper/build &&\
cmake .. &&\
sudo make install

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests