0
votes
0answers
86 views

cmake: Configured compiler /usr/bin/c++ does not support thread local storage

I'm trying to build Geant4. I got some problem on cmake that I have no idea what to do. Whenever I try to build on home directory, everything works just fine. Here's the output: ...
2
votes
3answers
162 views

IDE/Compiler for C or C++ Programming [duplicate]

Is there any software that supports on C or C++ Programming? Then, if it so, how to run, compile or debug your own code to display its output via terminal(linux/ubuntu) or cmd(windows)
1
vote
3answers
119 views

Why am I getting these undefined errors when I compile a C++ program in terminal?

I have a C++ program that compiles and runs perfectly in Code Blocks. However when I try to compile it from the terminal using: gcc -g main.cpp -o Main I get a lot of undefined references: And ...
0
votes
1answer
106 views

Unable to compile programs in Ubuntu with Geany

I'm having trouble compiling a simple C++ program in Geany. The result is same even if i just use terminal(not using Geany).
3
votes
1answer
35k views

How to install g++ compiler?

I have tried the following: sudo apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest ...
2
votes
1answer
3k views

Is there any library similar to <conio.h>?

I used the IDE DEV C++ to compile C programs on Windows and I used the libraries and , but now I use Ubuntu and downloaded the Codeblocks, but it does not have these libraries. I just wanted to use ...
0
votes
0answers
65 views

Is there a C/C++ compiler for Ubuntu? [duplicate]

Possible Duplicate: Can I use a C/C++ compiler? Is there a good C/C++ compiler out there for Ubuntu? I'm going to be learning C soon and would like to know if I should just use windows for ...
4
votes
1answer
1k views

I can't compile a C++ program with the g++ command

If I try compiling my C++ source file by the following command: g++ a.cpp it outputs: The program 'g++' can be found in the following packages: * g++ * pentium builder try: sudo apt-get intsall ...
3
votes
0answers
4k views

Is there a built-in c++ compiler in 12.04? [duplicate]

Possible Duplicate: Can I use a C/C++ compiler? I just installed Ubuntu on my laptop because my programming professor insisted on it. This is my first time using Ubuntu. So I had some ...
2
votes
5answers
938 views

How can I run Turbo C++?

How can I use Windows apps like Turbo C++ on Ubuntu? Wine says "not applicable on your PC", or something like that. I need to specifically use Turbo C++ on Ubuntu for my coursework.
7
votes
5answers
36k views

Can't execute .out files, getting permission denied

I have written a C++ program and complied it to produce a.out file. However, whenever I try to run it, I get Permission Denied. I read that we can use sudo, but I can't quite get it to work. I use ...