Hi I am trying to install NUPIC from source code by using the following instructions:
Building NuPIC “Installation from Source Code”
I am doing this on a clean 64 bit Ubuntu 15.10 Server (note: I successfully did this on 64 -bit
Ubuntu 15.10 Desktop at home)
The reason I am building from code is that I was getting a unit
test error running from binary which went away when I built it from code.
Everything works as expected until I get to the following
step
make -j2
I get numerous errors -> undefined references to YAML I have pasted in the tail end of the errors at the bottom of this post
I have been working on this since Friday.
- I have double and tripled checked my previous steps
- Looked on numerous internet sites for clues including numeta.org, GitHub and YAML but no luck
- I looked at environment variables, made sure YAML was there
Is there an environment variable I need to set?
Any ideas what I need to do to resolve? Thanks
Hi I looked at this several time over the weekend and still stuck. Hope
someone can help?
/tmp/ccnUaX5x.ltrans29.ltrans.o::function YAML::Emitter&
YAML::Emitter::WriteStreamable(double): error: undefined reference to
'YAML::Emitter::PreWriteStreamable(std::_cxx11::basicstringstream,
std::allocator >&)'
/tmp/ccnUaX5x.ltrans29.ltrans.o::function YAML::Emitter&
YAML::Emitter::WriteStreamable(double): error: undefined reference to
'YAML::Emitter::GetDoublePrecision() const'
/tmp/ccnUaX5x.ltrans29.ltrans.o::function YAML::Emitter&
YAML::Emitter::WriteStreamable(double): error: undefined reference to
'YAML::Emitter::PostWriteStreamable(std::_cxx11::basicstringstream,
std::allocator > const&)'
/tmp/ccnUaX5x.ltrans29.ltrans.o::function YAML::Emitter&
YAML::Emitter::WriteIntegralType(int): error: undefined reference to
'YAML::Emitter::PreWriteIntegralType(std::_cxx11::basicstringstream,
std::allocator >&)'
/tmp/ccnUaX5x.ltrans29.ltrans.o::function YAML::Emitter&
YAML::Emitter::WriteIntegralType(int): error: undefined reference to
'YAML::Emitter::PostWriteIntegralType(std::_cxx11::basicstringstream,
std::allocator > const&)'
collect2: error: ld returned 1 exit status
test/CMakeFiles/run-tests.dir/build.make:211: recipe for target
'test/run-tests' failed
make[5]: *** [test/run-tests] Error 1
CMakeFiles/Makefile2:172: recipe for target 'test/CMakeFiles/run-tests.dir/all'
failed
make[4]: *** [test/CMakeFiles/run-tests.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make[3]: *** [all] Error 2
external/CMakeFiles/YamlCppStaticLib.dir/build.make:111: recipe for target
'ThirdParty/Stamp/YamlCppStaticLib/YamlCppStaticLib-build' failed
make[2]: *** [ThirdParty/Stamp/YamlCppStaticLib/YamlCppStaticLib-build] Error 2
CMakeFiles/Makefile2:227: recipe for target
'external/CMakeFiles/YamlCppStaticLib.dir/all' failed
make[1]: *** [external/CMakeFiles/YamlCppStaticLib.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error