Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
498 Views

Error when install NCSDK 2

Hi all,

 

I am using Ubuntu 16.04 LTS and trying to install the NCSDK 2 but it generates the error as below

 

Caffe not found, installing caffe…

 

/opt/movidius/ssd-caffe

 

HEAD is now at 4817bf8 Merge pull request #791 from eselkin/ssd

 

Already on 'ssd'

 

Your branch is up-to-date with 'origin/ssd'.

 

Already up-to-date.

 

Already on 'ssd'

 

Your branch is up-to-date with 'origin/ssd'.

 

Compiling Caffe…

 

-- The C compiler identification is GNU 5.4.0

 

-- The CXX compiler identification is GNU 5.4.0

 

-- Check for working C compiler: /usr/bin/cc

 

-- Check for working C compiler: /usr/bin/cc -- works

 

-- Detecting C compiler ABI info

 

-- Detecting C compiler ABI info - done

 

-- Detecting C compile features

 

-- Detecting C compile features - done

 

-- Check for working CXX compiler: /usr/bin/c++

 

-- Check for working CXX compiler: /usr/bin/c++ -- works

 

-- Detecting CXX compiler ABI info

 

-- Detecting CXX compiler ABI info - done

 

-- Detecting CXX compile features

 

-- Detecting CXX compile features - done

 

-- 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)

 

CMake Error at /home/khuong/.local/lib/python3.5/site-packages/cmake/data/share/cmake-3.12/Modules/FindProtobuf.cmake:425 (file):

 

file STRINGS file

 

"/home/khuong/anaconda3/include/google/protobuf/stubs/common.h" cannot be

 

read.

 

Call Stack (most recent call first):

 

cmake/ProtoBuf.cmake:4 (find_package)

 

cmake/Dependencies.cmake:24 (include)

 

CMakeLists.txt:43 (include)

 

CMake Error at /home/khuong/.local/lib/python3.5/site-packages/cmake/data/share/cmake-3.12/Modules/FindProtobuf.cmake:431 (math):

 

math cannot parse the expression: " / 1000000": syntax error, unexpected

 

exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER

 

(2)

 

Call Stack (most recent call first):

 

cmake/ProtoBuf.cmake:4 (find_package)

 

cmake/Dependencies.cmake:24 (include)

 

CMakeLists.txt:43 (include)

 

CMake Error at /home/khuong/.local/lib/python3.5/site-packages/cmake/data/share/cmake-3.12/Modules/FindProtobuf.cmake:432 (math):

 

math cannot parse the expression: " / 1000 % 1000": syntax error,

 

unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or

 

exp_NUMBER (2)

 

Call Stack (most recent call first):

 

cmake/ProtoBuf.cmake:4 (find_package)

 

cmake/Dependencies.cmake:24 (include)

 

CMakeLists.txt:43 (include)

 

CMake Error at /home/khuong/.local/lib/python3.5/site-packages/cmake/data/share/cmake-3.12/Modules/FindProtobuf.cmake:433 (math):

 

math cannot parse the expression: " % 1000": syntax error, unexpected

 

exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER

 

(2)

 

Call Stack (most recent call first):

 

cmake/ProtoBuf.cmake:4 (find_package)

 

cmake/Dependencies.cmake:24 (include)

 

CMakeLists.txt:43 (include)

 

-- Found Protobuf: /home/khuong/anaconda3/lib/libprotobuf.so;-lpthread (found version "..")

 

CMake Error at cmake/ProtoBuf.cmake:13 (message):

 

Could not find PROTOBUF Compiler

 

Call Stack (most recent call first):

 

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".

 

Installation failed. Error on line 678

 

Makefile:47: recipe for target 'install' failed

 

make: *** [install] Error 1

 

I have been trying many times but it stills failed at this error line 678. I would highly appreciate any help to resolve this

 

Thanks

 

K
0 Kudos
1 Reply
idata
Community Manager
165 Views

@KhuongTran89 I believe the conflict may be because of Anaconda because other users have reported similar issues. Try removing your Anaconda environment variable from bashrc then open a new terminal and try installing the NCSDK again. Alternatively, if possible try the NCSDK install on a clean machine.

Reply