Giter VIP home page Giter VIP logo

Comments (6)

 avatar commented on September 2, 2024

Ubuntu ships with with old versions of yaml-cpp... you'll have to go and get a version that's >= 0.5.3.

from halley.

vsoch avatar vsoch commented on September 2, 2024

Ah that must be it! I'll give it a try.

from halley.

vsoch avatar vsoch commented on September 2, 2024

Latest (0.6.2) got a bit farther, but not much:

[ 96%] Building CXX object src/tools/cmd/CMakeFiles/halley-cmd.dir/src/main.cpp.o
[ 96%] Linking CXX executable ../../../../bin/halley-cmd
../../../../lib/libhalley-tools.a(animation_importer.cpp.o): In function `YAML::detail::node& YAML::detail::node_data::get<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<YAML::detail::memory_holder>)':
animation_importer.cpp:(.text._ZN4YAML6detail9node_data3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS0_4nodeERKT_N5boost10shared_ptrINS0_13memory_holderEEE[_ZN4YAML6detail9node_data3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS0_4nodeERKT_N5boost10shared_ptrINS0_13memory_holderEEE]+0xd4): undefined reference to `YAML::detail::node_data::convert_to_map(boost::shared_ptr<YAML::detail::memory_holder>)'
collect2: error: ld returned 1 exit status
src/tools/cmd/CMakeFiles/halley-cmd.dir/build.make:106: recipe for target '../bin/halley-cmd' failed
make[2]: *** [../bin/halley-cmd] Error 1
CMakeFiles/Makefile2:829: recipe for target 'src/tools/cmd/CMakeFiles/halley-cmd.dir/all' failed
make[1]: *** [src/tools/cmd/CMakeFiles/halley-cmd.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
root@5b23cdcb9144:/code/src# cd /

I'm trying 0.5.3 exact version now.

from halley.

vsoch avatar vsoch commented on September 2, 2024

Success!

I'm going to build the container from scratch now, and figure out how to get access to the video devices. I think worst case scenario I can run a Singularity container (more seamless connection to host) and (fingers crossed) get some of the tests working. If I put together a recipe that works I'll write up some instructions and add the finished Dockerfile / Singularity recipe to the repo - minimally others can pull the container and have a quick way to get started!

from halley.

vsoch avatar vsoch commented on September 2, 2024

Thanks for your help! If others run into this in the future, your advice was spot on - and even the (most recent) versions will bug out too, so finding the exact version is the way to go. E.g.,:

# yaml-cpp
RUN wget https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.5.3.tar.gz && \
    tar -xzvf yaml-cpp-0.5.3.tar.gz && \
    cd yaml-cpp-yaml-cpp-0.5.3 && \
    mkdir build && \ 
    cd build && \
    cmake -DBUILD_SHARED_LIBS=ON .. && \
    make && \
    make install

from halley.

 avatar commented on September 2, 2024

Nice one :)

from halley.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.