Code Monkey home page Code Monkey logo

Comments (3)

cweiske avatar cweiske commented on May 18, 2024

The cmake command builds the Makefile correctly when I lower the required CMake version to 3.0, without errors.

It still does not build on Debian 8 but that is a different topic.

from gerbera.

cweiske avatar cweiske commented on May 18, 2024

3.2 is required. With cmake 3.0 it would not build because of

$ make
[  1%] Building CXX object CMakeFiles/libgerbera.dir/src/action_request.cc.o
In file included from /usr/include/c++/4.9/atomic:38:0,
                 from /usr/local/src/gerbera/src/zmm/object.h:35,
                 from /usr/local/src/gerbera/src/zmm/zmm.h:35,
                 from /usr/local/src/gerbera/src/zmm/zmmf.h:35,
                 from /usr/local/src/gerbera/src/common.h:38,
                 from /usr/local/src/gerbera/src/action_request.h:38,
                 from /usr/local/src/gerbera/src/action_request.cc:32:
/usr/include/c++/4.9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^

(and a hundred more errors)

Those errors are gone with CMake 3.2.


I could install cmake 3.6 on Debian 8 because it is in jessie-backports, see https://backports.debian.org/Instructions/

from gerbera.

whyman avatar whyman commented on May 18, 2024

We are using CMAKE_CXX_STANDARD which was added in 3.2.

from gerbera.

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.