Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

make install: Error in line 170

idata
Employee
2,389 Views

Hello there!

 

I wanted to install the NCSDK (using "sudo make install") on my new Raspberry 3 with Stretch, but ran into an error:

 

"Installation failed: Error in line 170"

 

I have updated and upgraded shortly before, it's a new Stretch Desktop image, I did not yet change any configuration, I only installed git and xrdp.

 

The log file under /opt/movidius/NCSDK/setup-logs did not contain any additional information.

 

What could be causing this?

0 Kudos
12 Replies
idata
Employee
2,033 Views

Update: Removing the code block from line 170 and on (about 15 lines) will make it work. But it will also not be able to uninstall old installs.

0 Kudos
idata
Employee
2,033 Views

@MarkusA380 Have you tried using just make install without the sudo?

0 Kudos
idata
Employee
2,033 Views

@Tome_at_Intel indeed, I did, with the same result.

 

Today, I will flash a new version of Raspbian on a different SD card, reinstalling everything. Let's see if the error reappears.

 

I cloned the repository not into ~/workspace/, but instead into ~/Desktop/, could that have been the issue?
0 Kudos
idata
Employee
2,033 Views

@MarkusA380 I don't think that would be a problem. I recently did a fresh installation of the NCSDK on my RPi with Raspbian Stretch and I can give you a quick rundown of what I did. I know the steps are simple but I just wanted to lay them out for completeness. I am using a Raspberry Pi 3B in case you are wondering.

 

     

  1. First I downloaded the "Raspbian Stretch with Desktop Image" zip file from (https://www.raspberrypi.org/downloads/raspbian/) and used the Etcher software to put Stretch on my SD card. Etcher installation instructions can be found at:

     

    (https://www.raspberrypi.org/documentation/installation/installing-images/README.md)
  2.  

  3. After that was complete, I inserted the SD card into my Pi and started it up. I then set up the time and wifi for the system.

  4.  

  5. Finally I opened a command line terminal and used the following commands to clone the NCSDK GitHub Repository and install the NCSDK to the home directory:

     

    git clone https://github.com/movidius/ncsdk.git

     

    cd ncsdk

     

    make install
  6.  

 

Hope it helps.

0 Kudos
idata
Employee
2,033 Views

Hi @Tome_at_Intel ,

 

that's exactly what I did, too.

 

I formatted the SD card(FAT32 instead of exFat), put Raspbian Stretch on it using Etcher, put it into my Pi (3B).

 

First, I ran apt-get update && apt-get upgrade.

 

Then I installed XRDP and enabled the camera in raspi-config, then rebooted.

 

I switched to using Remote Desktop from here.

 

I then followed step 2. here: https://developer.movidius.com/start#

 

The only difference was that I had to sudo clone and sudo make install, otherwise I would get a "Permission denied".

 

Still getting the same error…
0 Kudos
idata
Employee
2,033 Views

Hello, @MarkusA380

 

What about the following commands?

 

sudo -H make install

 

By the way, I never failed in the following procedure.

 

Raspberry Pi 3 + Raspbian Stretch

 

https://qiita.com/PINTO/items/b084fe3dc716c42e2867
0 Kudos
idata
Employee
2,033 Views

Hello @PINTO, thanks for the input. I tried the command, it did not result in different behaviour.

0 Kudos
idata
Employee
2,033 Views

@Tome_at_Intel I found that the variable SUDO_PREFIX is not set. Any ideas?

0 Kudos
idata
Employee
2,033 Views

@Tome_at_Intel , hi,when i try git clone https://github.com/movidius/ncsdk.git on raspberry 3 with Raspbian Stretch , have error

 

error: RPC failed; curl 18 transfer closed with outstanding read date remaining fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
0 Kudos
idata
Employee
2,033 Views

@luna Try git clone git@github.com:movidius/ncsdk.git. Let me know if this works for you.

0 Kudos
idata
Employee
2,033 Views

@Tome_at_Intel thanks for your reply, at last,i tried to use wired network and it succeed!

0 Kudos
Reply