Giter Club home page Giter Club logo

Comments (10)

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

andimik avatar andimik commented on August 17, 2024

What does this sentence mean (sorry for that stupid beginner question)?

IMPORTANT: YOU NEED C++11 SUPPORT FOR THIS

I cannot compile it.

#error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

I found lots of suggestions to enable c++11 in qt-creator, but they all are for adding a parameter to the pro-file, which does not exist for this program.

dpkg -l cpp
ii cpp 4:5.3.1-1ubu amd64 GNU C preprocessor (cpp)

dpkg -l gcc
ii gcc 4:5.3.1-1ubu amd64 GNU C compiler

This is Ubuntu 16.04 LTS.

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

andimik avatar andimik commented on August 17, 2024

Aaaaaa

Now it's clearer :-D

from dab-cmdline.

andimik avatar andimik commented on August 17, 2024

Sorry, but I can still not compile it.

My steps are:

cd dab-cmdline/
cd dab-library/
mkdir build
cd build/
cmake -std=gnu++11 .. -DAIRSPY=ON -DDABSTICK=ON
make
sudo make install

(no errors so far)

and then

cd ..
cd example/
mkdir build
cd build/
cmake -std=gnu++11 ..
make

I tried cmake -std=gnu++11 .. without success. Still the same error.

How to enable C++11 in Ubuntu and cmake?
What is the syntax?
Or do I have to edit the CMakeText.txt anyway (although you say it's not necessary)?

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

andimik avatar andimik commented on August 17, 2024

#error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

andimik avatar andimik commented on August 17, 2024

Yes, when I add it to the CMakeLists text file then it works.

Same with ETI stuff (cmdline). Now I could build it as well. :-)

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

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.