Ask Your Question
1

Compiler with support for C++11

asked 2016-10-27 01:09:37 -0600

elwis gravatar image

Hi all, I was thinking of getting the Gnome-Builder a go since I just can't keep my fingers of trying out all these developer tools out there. (Instead of sticking to my Java hacking which pays the bills.. well..) However, the Gnome-Builder complains when I try to configure it

checking whether C compiler accepts -std=gnu11... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no
checking whether g++ supports C++11 features with +std=c++11... no
checking whether g++ supports C++11 features with -h std=c++11... no
configure: error: *** A compiler with support for C++11 language features is required.

I haven't done any C/C++ on Linux for ages so.. is there a nice little package to fix this issue for Fedora 23? Regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-10-27 01:20:47 -0600

Polish Hacker gravatar image

updated 2016-10-27 01:22:55 -0600

It looks like you need to install G++.

sudo dnf install gcc-c++

edit flag offensive delete link more

Comments

So it was that easy, I thought I got it with my 'Developer Tools' install, thanks. No on to the next requirement

elwis gravatar imageelwis ( 2016-10-28 03:16:06 -0600 )edit

Well, based on what you posted, you did have gcc (with the C compiler) installed so maybe you just installed that Please be sure to click the checkmark to accept this answer :) Thanks!

Polish Hacker gravatar imagePolish Hacker ( 2016-10-28 10:04:14 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-10-27 01:09:37 -0600

Seen: 4,969 times

Last updated: Oct 27 '16