Giter VIP home page Giter VIP logo

Comments (5)

marcrambo avatar marcrambo commented on May 26, 2024

Which compiler are you using?

from ni-media.

lqniunjunlper avatar lqniunjunlper commented on May 26, 2024

gcc7 + boost-1.69

from ni-media.

lqniunjunlper avatar lqniunjunlper commented on May 26, 2024

It's so strange, actually CHAR_MIN, CHAR_MAX, SCHAR_MIN, SCHAR_MAX, ... has defined in . But i got erros like this:

ivectorstream.cpp:25:
container_source.h:25
device/container.h:25
iostreams/positioning.h:30
/boost-1.69/boost/iostreams/positioning.hpp:20:0,
/boost-1.69/boost/integer_traits.hpp:83:46: error: 'CHAR_MIN' was not declared in this scope
/boost-1.69/boost/integer_traits.hpp:83:46: note: suggested alternative: '_SC_CHAR_MIN'
/boost-1.69/boost/integer_traits.hpp:83:56: error: 'CHAR_MAX' was not declared in this scope
/boost-1.69/boost/integer_traits.hpp:83:56: note: suggested alternative: '_SC_CHAR_MAX'
/boost-1.69/boost/integer_traits.hpp:83:64: error: template argument 2 is invalid
/boost-1.69/boost/integer_traits.hpp:83:64: error: template argument 3 is invalid
/boost-1.69/boost/integer_traits.hpp:89:53: error: 'SCHAR_MIN' was not declared in this scope
/boost-1.69/boost/integer_traits.hpp:89:53: note: suggested alternative: '_SC_CHAR_MIN'
/boost-1.69/boost/integer_traits.hpp:89:64: error: 'SCHAR_MAX' was not declared in this scope
/boost-1.69/boost/integer_traits.hpp:89:64: note: suggested alternative: '_SC_CHAR_MAX'
/boost-1.69/boost/integer_traits.hpp:89:73: error: template argument 2 is invalid
/boost-1.69/boost/integer_traits.hpp:89:73: error: template argument 3 is invalid
/boost-1.69/boost/integer_traits.hpp:95:58: error: 'UCHAR_MAX' was not declared in this scope
/boost-1.69/boost/integer_traits.hpp:95:58: note: suggested alternative: '_SC_UCHAR_MAX'
/boost-1.69/boost/integer_traits.hpp:95:67: error: template argument 3 is invalid
In file included from /boost-1.69/boost/iostreams/positioning.hpp:20:0,

from ni-media.

marcrambo avatar marcrambo commented on May 26, 2024

Gcc7 with boost 1-69 should work, although not explictety tested due to limited resources. We use a much lower gcc5 / boost 1.64 on our linux buildersver (see https://github.com/NativeInstruments/ni-media/blob/master/.travis.yml. ) so I'd expect your combination to work. Maybe something went wrong when building boost?

from ni-media.

lqniunjunlper avatar lqniunjunlper commented on May 26, 2024

@marcrambo Problem solved. The limits.h in pcm folder has conflicts with default limits.h....

from ni-media.

Related Issues (14)

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.