Questions tagged [g++]
15
questions with no upvoted or accepted answers
3
votes
2
answers
18k
views
Version `GLIBCXX_3.4.15' not found in CentOS (in file /usr/lib/libstdc++.so.6)
I try to use a program and I get the following error.
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link).
...
2
votes
0
answers
279
views
Is it possible to use Libtorch with VS Code?
I have followed the instructions provided by Pytorch to installing C++ distributions of PyTorch:
https://pytorch.org/cppdocs/installing.html
However, this command produces an error:
cmake --build . --...
2
votes
0
answers
495
views
Cannot install g++6 on alpine3.9
I need to install g++6 for building spidermonkey->couchdb on alpine3.9. I am unable to install it. Note that it is on the package list available on alpine 3.9 here.
$ docker run -ti alpine:3.9 sh
/ # ...
1
vote
0
answers
150
views
Not able to run C++ code on Windows 8.1 Pro
I have installed the g++ compiler on my PC at my work place, downloaded from https://osdn.net/projects/mingw/releases/ here. I've also set the system path variable, but when I try to compile my code ...
1
vote
0
answers
932
views
Docker container with centos 6.6 and c++
I'm trying to create a docker contaienr with CentOS 6.6 and c++:
Step 1/37 : FROM centos:6.6
---> 3d7ac13b921a
Step 2/37 : RUN yum -y update
---> Using cache
---> b41e216c79de
Step 3/37 : ...
1
vote
1
answer
5k
views
How do you change versions of gcc on windows?
I've been using g++ 4.8.1, mingw. Now, I've just updated to 6.3.0, however when I use g++ in command prompt it still seems to use the older version. How do you change between versions on windows?
1
vote
0
answers
98
views
G++ Compiler Stalls [CodeBlocks]
I am using CodeBlocks under Kali Linux and the g++ compiler stalls.
SOMETIMES, I hit compile and at the bottom I get the message: g++ -fexceptions ...etc build main.o ... and NOTHING happens. If I ...
0
votes
1
answer
947
views
What is a purple file from the LS command?
I am working on a c++ project and had a failed compilation (normal kind of errors). When I ran ls (a bit of a habit), it showed a file with a seemingly random sequence of characters:
'!4'$'\377\377\...
0
votes
1
answer
112
views
Trouble updating G++ to version >5 using apt-get in Windows Subsystem for Linux
Context: I'm trying to run CMake as described here (under Linux-installing dependencies > Building OpenVDB). I'm in WSL.
When I do so I get this error:
CMake Deprecation Warning at CMakeLists.txt:...
0
votes
1
answer
187
views
Charm4py/charm++, GCC error when installing
firstly I am going to explain the issue and at the bottom you'll find the question/-s.
I'm trying to install charm4py using pip/pip3/apt (all of em), after 1.5 hours it fails and I notice it's charm++...
0
votes
1
answer
160
views
R g++ error installing survey package
i get a non-zero exit status by installing the survey-package in R version 3.5.2 on ubuntu 18.04. the problem seems to be related to g++ and the package minqa. in the output of the installation ...
0
votes
1
answer
210
views
Switch Server to use GCC version 4.8.1
I'm banging my head against a wall, I followed the instructions detailed here: https://superuser.com/a/677640
When I ran yum install devtoolset-2-gcc-4.8.1 devtoolset-2-gcc-c++-4.8.1 this was the ...
0
votes
1
answer
760
views
Compile C++ 11 on Damn Small Linux?
DSL does not include any compiler (aside from a very basic ANSI C compiler), so I need to install g++ on it. Unfortunately the only gcc/g++ I could find for DSL linux is a version from 2006 (here).
...
0
votes
1
answer
4k
views
update gcc /g++ on CentOS 5.9
I would like to update gcc/g++ on my CentOS 5.9.
The version I have is 4.1.2 : Would it be possible to update it to 4.4.7 like CentOS 6.4 WITHOUT updating the entire operating system?
It looks to me ...
0
votes
1
answer
149
views
Can g++ compilers be used to build linux software on macos?
On windows I am able to develop for linux using WSL2. I ususally use CLion which allows me to switch between msvc and g++ with a flip of a switch. Is it possible to do the same thing on Mac? If so, ...