frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Movidius NCS Installation Error

Hi,

I am trying to install Movidius NCS from Movidius Start Guide .
But During installation step 2, I got an error as shown in the attachment.

 `used as include directory in directory /opt/movidius/ssd-caffe/docs
   used as include directory in directory /opt/movidius/ssd-caffe/docs
   used as include directory in directory /opt/movidius/ssd-caffe/docs

   -- Configuring incomplete, errors occurred!
   See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeOutput.log".
   See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeError.log".
   make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
   make[1]: *** No rule to make target 'all'.  Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
   Installing caffe... 
   make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
  make[1]: *** No rule to make target 'install'.  Stop.
  make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
  Installation failed. Error on line 535`

And I am not able to further continue the installations steps.
Please let me know how do I resolve it _

Comments

  • 10 Comments sorted by Votes Date Added
  • edited December 2017 Vote Up2Vote Down

    I'm getting a very similar error on Ubuntu 16.04 LTS

    Compiling Caffe...
        -- Boost version: 1.58.0
        -- Found the following Boost libraries:
        --   system
        --   thread
        --   filesystem
        --   regex
        --   chrono
        --   date_time
        --   atomic
        -- Could NOT find GFlags (missing:  GFLAGS_INCLUDE_DIR GFLAGS_LIBRARY) 
        -- Could NOT find Glog (missing:  GLOG_INCLUDE_DIR GLOG_LIBRARY) 
        CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
          Could NOT find Protobuf (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
        Call Stack (most recent call first):
          /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
          /usr/share/cmake-3.5/Modules/FindProtobuf.cmake:308 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
          cmake/ProtoBuf.cmake:4 (find_package)
          cmake/Dependencies.cmake:24 (include)
          CMakeLists.txt:43 (include)
    -- Configuring incomplete, errors occurred!
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeOutput.log".
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeError.log".
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'all'. Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installing caffe...
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'install'. Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installation failed. Error on line 498
    ``
    

    Only other thing in log I can see that might be issue is:

    W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-local_Release
    W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_libopencv4tegra-repo_Release
    

    I'm assuming that's due to NVidia Jetpack being installed.

    To get this far I had to resolve an issue with the mirrors not updating and install pip3 and cmake like this:

    #Clean update:
    cd /etc/apt 
    sudo mv sources.list sources.list.ok 
    #Recreate sources.list and add these 4 lines to it.
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial main restricted universe multiverse 
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-updates main restricted universe multiverse 
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-backports main restricted universe multiverse 
    deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-security main restricted universe multiverse 
    
    
    sudo apt-get clean 
    sudo apt-get update
    sudo apt install python3-pip
    sudo apt-get install cmake
    
  • Hello, I have very similar error problem in Ubuntu 16.04 LTS, too.
    There is an Error about NO_PUBKEY.

    
    Installer NCSDK version: 1.12.00.01
    Creating setup directory...
    Remove previous NCSDK references from PYTHONPATH...done
    Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:2 http://dl.google.com/linux/chrome/deb stable Release
    Hit:4 http://storage.googleapis.com/bazel-apt stable InRelease
    Get:5 http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial InRelease [17.5 kB]
    Ign:5 http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial InRelease
    Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
    Hit:7 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
    Hit:8 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial InRelease
    Fetched 17.5 kB in 3s (5091 B/s)
    Reading package lists...
    W: GPG error: http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5BB92C09DB82666C
    W: The repository 'http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial InRelease' is not signed.
    
    
    Compiling Caffe...
    -- Boost version: 1.58.0
    -- Found the following Boost libraries:
    --   system
    --   thread
    --   filesystem
    --   regex
    --   chrono
    --   date_time
    --   atomic
    -- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
    -- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
    -- Found PROTOBUF Compiler: /usr/bin/protoc
    -- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
    -- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
    -- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
    -- -- CUDA is disabled. Building without it...
    -- OpenCV ARCH: 
    -- OpenCV RUNTIME: 
    -- OpenCV STATIC: OFF
    CMake Warning at /home/sirens/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message):
      Found OpenCV Windows Pack but it has no binaries compatible with your
      configuration.
    
      You should manually point CMake variable OpenCV_DIR to your build of OpenCV
      library.
    Call Stack (most recent call first):
      cmake/Dependencies.cmake:74 (find_package)
      CMakeLists.txt:43 (include)
    
    
    CMake Error at cmake/Dependencies.cmake:74 (find_package):
      Found package configuration file:
    
        /home/username/opencv-3.1.0/cmake/OpenCVConfig.cmake
    
      but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
      NOT FOUND.
    Call Stack (most recent call first):
      CMakeLists.txt:43 (include)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeOutput.log".
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeError.log".
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'all'.  Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installing caffe...
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'install'.  Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installation failed. Error on line 498
    

    I wonder where the problem is. Please let me know how do I resolve it. Thanks alot.

  • Hello, @sirens

    There is an Error about NO_PUBKEY.

    Does not the following serve as a reference?
    https://github.com/deadsnakes/issues/issues/53

    I'm sorry if my prediction is missing...

  • Hello, @PINTO
    Thanks for your help. I followed the step and solved the NO_PUBKEY problem.
    But I still have the problem about openCV. If anyone knows, please let me know how to resolve it. Thanks alot.

    
    CMake Warning at /home/sirens/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message):
      Found OpenCV Windows Pack but it has no binaries compatible with your
      configuration.
    
      You should manually point CMake variable OpenCV_DIR to your build of OpenCV
      library.
    Call Stack (most recent call first):
      cmake/Dependencies.cmake:74 (find_package)
      CMakeLists.txt:43 (include)
    
    
    CMake Error at cmake/Dependencies.cmake:74 (find_package):
      Found package configuration file:
    
        /home/username/opencv-3.1.0/cmake/OpenCVConfig.cmake
    
      but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
      NOT FOUND.
    Call Stack (most recent call first):
      CMakeLists.txt:43 (include)
    
    -- Configuring incomplete, errors occurred!
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeOutput.log".
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeError.log".
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'all'.  Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installing caffe...
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'install'.  Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installation failed. Error on line 498
    

  • Hello, @sirens
    Does not the following serve as a reference?
    https://github.com/opencv/opencv/issues/6132

  • Hello, @PINTO. Thanks for your replied.
    I followed the serve as a reference, but it seems not working.
    Actually, I do not know what the problem is ......
    I uninstalled the opencv 3.1.0, and tried opencv 3.4.0. Then it occured another problem like this.

    
    ...
    ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `leveldb::Status::ToString() const'
    ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
    collect2: error: ld returned 1 exit status
    tools/CMakeFiles/compute_image_mean.dir/build.make:137: recipe for target 'tools/compute_image_mean' failed
    make[3]: *** [tools/compute_image_mean] Error 1
    make[3]: Leaving directory '/opt/movidius/ssd-caffe/build'
    CMakeFiles/Makefile2:479: recipe for target 'tools/CMakeFiles/compute_image_mean.dir/all' failed
    make[2]: *** [tools/CMakeFiles/compute_image_mean.dir/all] Error 2
    make[2]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Makefile:127: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installation failed. Error on line 498
    
  • @sirens

    Maybe this.
    It seems that there is a compatibility between CUDA and GCC versions.
    https://github.com/BVLC/caffe/issues/5128

    Sorry, I can not try it because it does not reproduce in my environment.

  • Hi, I am having the same problem as mentioned above. Did someone find a solution?

  • Hi, just experimenting the same issue on my second machine on ubuntu 16.04

    nvcc --version = 9.1.85
    gcc --version = 5.4.0

    To me, the issue comes from the Caffe installation.
    Looking at your stack trace it seems that in your caffe has an issue with open-cv

    CMake Error at cmake/Dependencies.cmake:74 (find_package):
      Found package configuration file:
        /home/username/opencv-3.1.0/cmake/OpenCVConfig.cmake
      but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
      NOT FOUND.
    Call Stack (most recent call first):
      CMakeLists.txt:43 (include)

    This said, as natively caffe installs open-cv, maybe try to remove it and let it be installed by the process.

  • Hi everyone, i need a help who can a tell me how i can resolve the same issue :

    -- Configuring incomplete, errors occurred!
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeOutput.log".
    See also "/opt/movidius/ssd-caffe/build/CMakeFiles/CMakeError.log".
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'all'. Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installing caffe...
    make[1]: Entering directory '/opt/movidius/ssd-caffe/build'
    make[1]: *** No rule to make target 'install'. Stop.
    make[1]: Leaving directory '/opt/movidius/ssd-caffe/build'
    Installation failed. Error on line 498

Sign In or Register to comment.