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

NCSDK Installation Issue

I am trying to install NCSDK v1.12.01.01 and getting this error. Please help.I have installed boost 1_65_0. [ 73%] Linking CXX executable extract_features /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyUnicodeUCS4_FromEncodedObject' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyNumber_InPlaceDivide' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::raise_runtime_error(std::runtime_error const&)' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_Size' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromStringAndSize' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_InternFromString' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_AsLong' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyUnicodeUCS4_AsWideChar' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::cpp_regex_traits_implementation<char>::transform_primary(char const*, char const*) const' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_AsString' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromFormat' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyClass_Type' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromString' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyFile_AsFile' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `Py_InitModule4_64' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::get_mem_block()' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::get_default_error_string(boost::regex_constants::error_type)' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_Type' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_FromLong' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyFile_FromString' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::put_mem_block(void*)' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyNumber_Divide' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_Type' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106500::verify_options(unsigned int, boost::regex_constants::_match_flags)' collect2: error: ld returned 1 exit status tools/CMakeFiles/extract_features.dir/build.make:131: recipe for target 'tools/extract_features' failed make[3]: *** [tools/extract_features] Error 1 make[3]: Leaving directory '/opt/movidius/ssd-caffe/build' CMakeFiles/Makefile2:479: recipe for target 'tools/CMakeFiles/extract_features.dir/all' failed make[2]: *** [tools/CMakeFiles/extract_features.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
0 Kudos
3 Replies
idata
Community Manager
96 Views

Hi @yash

 

Could you provide additional information?

 

     

  • Are you installing on an RPi, Computer or Virtual Machine?
  •  

  • What operating system are you using?
  •  

  • Which command is causing the error?
  •  

  • What directory are you executing the command?
  •  

 

Regards,

 

Jesus
idata
Community Manager
96 Views

I am using Ubuntu 16.04 on my HP laptop.

 

After cloning the package I am executing make install in the same directory(ncsdk-1.12.01.01).

 

Thanks.
idata
Community Manager
96 Views

Hi @yash

 

We have seen similar issues when using Virtualenv or Anaconda. Could you try to uninstall the NCSDK using the uninstall.sh script and re-install? If possible, try to install on a fresh machine.

 

Regards,

 

Jesus