C++ is a general-purpose programming language.

learn more… | top users | synonyms

5
votes
1answer
291 views

What language C++, Python, or Java is most supported in Precise Pangolin for game development?

I've studied game programming and design in Windows using DirectX, and a bit using Python and PyGame. I would like to start developing some games for Ubuntu. Now I would like to build a game called ...
0
votes
1answer
4k views

gcc compiling error for c++ program

When I'm trying to compile a C++ program with gcc, it gives me following error: gcc: error trying to exec 'cc1plus': execvp: No such file or directory error: command 'gcc' failed with exit status 1
0
votes
2answers
194 views

Why does qt-creator need to connect to google-analytics?

I just installed qt-creator to work on non-qt C++ projects. The installed version is 2.5.0 (Based on Qt 4.8.2 32-bit) If I click on any of these pages: I get this error: I realized that ...
3
votes
1answer
206 views

C++ programming - Is there a way to make gedit recognize new classes?

I'm C++ programming in ubuntu 12.04 using gedit and it recognizes c++ default commands. I was wondering if I can make it able to recognize the new classes I define and change their color in the code ...
0
votes
1answer
4k views

How to fix a “/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found” error?

I've been getting this annoying problem. I want to compile a .so under Ubuntu using the Anjuta IDE. It compiles fine and all, but when I load it, that's when the error comes up: ...
2
votes
5answers
866 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.
0
votes
1answer
3k views

“32-bit libraries not found on this system” when trying to install the Intel C++ Composer

I am installing Intel C++ Composer (Non-commercial version) for Linux with x32 and x64 target. During installation i get the warning message: Step no: 4 of 6 | Options > Missing Optional ...
4
votes
1answer
970 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 ...
2
votes
2answers
5k views

Code::Blocks: g++ not found

Recently I have installed Code::Blocks IDE on my Ubuntu 12.10. The following error appears when I try to run or compile any code written in there: Compiling: /home/sabbir/first.cpp /bin/sh: 1: g++: ...
0
votes
1answer
365 views

libxml2 package installed but cannot include, building libaiml

I am trying to build a library (libaiml). I was having problems installing the library using normal methods: ./configure ; make ; make install In the README, the author says you should use this ...
3
votes
2answers
3k views

How do you find libraries(C++) in Ubuntu?

Sorry this is such a beginner question, but I've recently begun programming with C++ on Ubuntu 12.10 and I've installed a few libraries I need to work with, for example PCL and I can't find them to ...
1
vote
1answer
70 views

what is wrong .h [duplicate]

Possible Duplicate: How to compile C++ source code (“iostream.h not found” error)? I have aquired C++ for dummies, old for a windows GNU compiler. And I get this error, thinking it needs a ...
2
votes
2answers
3k views

Howto install google-mock on Ubuntu 12.10

I am having hard time trying to install Google C++ Mocking Framework. I have successfully run sudo apt-get install google-mock. Then I tried to compile this sample file #include "gmock/gmock.h" int ...
2
votes
1answer
3k views

How to fix: extension “NV-GLX” missing on display. Ubuntu running on Oracle VM Virtual Box

I have been assigned a homework on my C++ class using OpenGL and GLUT. When I try to run the project, it runs very slowly and it freezes after a little bit. Before the program runs I get the following ...
1
vote
2answers
3k views

Can't find openssl

I'm trying to work with Boost:asio to establish a SSL connection. Now, my compiler says, it can't find openssl/conf.h I'd like to know where this path is and how to fix this problem. Thanks in ...
1
vote
0answers
214 views

Can't find jni.h when making jpcap

jpcap is a program that mixes C++ and java code. The C++ needs the header jni.h which is buried in the java system directory. I'm sure it will also need an associated library. What is the proper ...
3
votes
2answers
540 views

How can I know which version of the C++ “standard library” is installed?

I would like to install the C++ standard library documentation (following the answers in Download C++ reference) but I do not know which version of library is installed in my Ubuntu.
0
votes
2answers
208 views

How to compile old c++ programs on

I am taught the old version of c++ in school, the one which uses iostream.h instead of iostream. I wanted an IDE which helps me compile the programs in that old style c++. and I cant use iostream and ...
0
votes
1answer
292 views

C++ Development Cinder/Visual Studio

I'm currently taking a Data Structures course that involves the development of C++ applications using microsoft visual studio express c++, an application called Cinder, and we turn in assignments via ...
2
votes
1answer
5k views

Where can I download the Intel C++ Compiler?

I read somewhere that Intel C++ is free for non-professional use. But the intel site www.software.intel.com has no option for free download. It provides the 30 days trial version and need to buy ...
1
vote
0answers
98 views

Program exits when building in mingw studio in ubuntu

Is anyone here who uses mingw developer studio in ubuntu? I found this arhive: http://www.iit.upcomillas.es/libroc/mingw-devstudio_linux-2.06.tar.gz I launch the program and everything works well ...
4
votes
1answer
189 views

Getting list of installed apps (NOT packages)

How can I get list of installed apps (based at files in /usr/share/applications/) without writing own parser? I need just app name, path to app icon and path to launch app. I'm using C++ with Qt ...
2
votes
2answers
83 views

What method do I use to manage an app-specific background process?

I am developing an application with different behavior depending on the arguments : "-config" starts a Gtk window to change options, start and close the daemon. "-daemon" starts a background ...
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 ...
5
votes
1answer
953 views

Why won't Qt-SDK install?

I just installed Ubuntu 12.04. One of my classes require that I install the Qt libraries and SDK, however, I can neither install the 32-bit or 64 bit version. I changed both into executable files, but ...
0
votes
2answers
2k views

How can I disassemble or decompile a C++ executable?

Is there any tool like Dumpbin (for Windows) in Ubuntu which can disasssemble (produce machine code) for an executable file?
2
votes
1answer
200 views

Compiling C++ in Ubuntu ( psa - Point Set Analysis)

I'm new in Ubuntu and trying to compile a C++ code on it. The code uses 2 dependencies (Cairographics and FFTW3). I have installed both of them using ./configure, make and make install in directory ...
3
votes
2answers
153 views

What version of C++ does 12.04 use?

If anybody knows or has a way for me to check it would be much appreciated. Isn't there a certain version of C++ that you need to use with the gcc? Sorry, I don't know much about programming, but I ...
0
votes
1answer
606 views

How to install Boost/lexical_cast.hpp in Ubuntu 12.04

How can I install boost/lexical_cast.hpp in my Ubuntu-12.04? Does ubuntu 12.04 has default boost package installed? if so, then how can I be able to see which version it is and what libraries are ...
0
votes
1answer
1k views

eclipse-CDT won't debug my c++ programs

I've installed eclipse from ubuntu repositories and I installed CDT from "install new software." But every time I try to debug a simple program, an error occurs that says 'launching q.cpp debug' ...
0
votes
2answers
829 views

C program runs well in Windows but when run on Ubuntu it is not asking for string?

My simple code for getting info from user & print the same works fine with Windows OS (on Dev C++) but But its not asking for string when run on Ubuntu (tried Terminal/Dev C++ via WINE/Code ...
2
votes
1answer
3k views

How can I install Boost 1.50 on Ubuntu 12.04?

The libboost-dev package in the repos is an older one and I would like to use the newest release. I'm OK with installing from source, but am a little confused by the instructions on the site. It ...
2
votes
3answers
2k views

What options are available for C++ GUI development with Ubuntu?

I know about Qt as an C++ software development framework for front end applications and I am aware of Eclipse as an IDE for Java and C++, but I was wondering if anyone could provide recommendations of ...
1
vote
2answers
883 views

c++ programs are not working properly [closed]

/* write a prog to take the name of the user and output it with a thank you stamement*/ #include<iostream> using namespace std; int main() { char ch[20]; cout<<"enter your name ...
0
votes
2answers
3k views

Underfined reference clock_gettime not solved by -lrt

I'm trying to compile the program the source for which is here. As per his instructions I'm compiling using the command g++ -O3 -lrt netmon.cpp -o netmon. I get this output: ...
1
vote
2answers
4k views

Find version of development library from command line?

I installed the c++ boost development libraries using Ubuntu software centre. The problem is that it was quite a long time ago and I cannot remember where they are installed nor what version they ...
0
votes
1answer
351 views

Cmake module and OpenGL on 12.04

I'm trying to find some opengl dev files and I had it working great in 11.10. I can just barely move around cmake and kind of wrap my head around linux development. If anyone can provide a better ...
0
votes
1answer
1k views

How do I build Allegro?

I'm trying to build allegro on 12.04 but it continues to give me error, I've downloaded the tar.gz folder of version 5.0.7 and installed cmake, what else do I need? And how do I proceed?
0
votes
2answers
349 views

Is this Ubuntu One DBus signal connection code correct?

This is my first time using DBus so I'm not entirely sure if I'm going about this the right way. I'm attempting to connect the the Ubuntu One DBus service and obtain login credentials for my app, ...
0
votes
2answers
3k views

Problems with Photoshop CS5 on Wine 1.3: C++ Library Runtime Error

When I try running Photoshop CS3 after installing it following this tutorial, I got Also I noticed that http://pastie.org/1877592 jiewmeng@JM:/works/tmp/adobe$ winetricks msxml6 gdiplus ...
0
votes
1answer
669 views

Netbeans cant call libraries in C++ since update to 12.04

I was hoping you can help me solve a problem I have. Since I updated to 12.04 version of Ubuntu I cant call libraries in C++ netbeans projects. I get this message in netbeans when I include library ...
2
votes
1answer
258 views

How to use quickly with c++

I wanted to know that how can i create application using c++ with quickly. Recently i wanted to use pyside with it so i deleted all the files in the main folder expect init.py And it works I wanted to ...
0
votes
1answer
478 views

Anyone know if 12.04 has OpenGL Aux Libraries?

Im wanting to know how to install ubuntu 12.04's OpenGL aux libraries if any. Im trying to program OpenGL with C++. I cant find anything on google so. any help would be super great!!!
1
vote
2answers
2k views

boost 1.48 and default (1.46) on Precise Pangolin12.04

The Precise release of ubuntu has two libboost-dev packages. The default is 1.46, but there is also a 1.48. If I install both, where are the headers and libraries for 1.48 installed? Are the ...
4
votes
3answers
3k views

Compiling C++ inside a folder in Ubuntu 12.04

I have some question about compiling .cpp inside a folder, it says first.cpp No such file or directory but when I run it in home it compiles. Any settings I might have left out? Thanks. Here's ...
-1
votes
1answer
8k views

Compiling C++ code raising “no input files” fatal error?

I am finding it hard to run/compile a simple C++ code in the terminal. Here's the code I am using to compile the file (helloworld.cpp). g++ helloworld.cpp -o helloworld I am getting an error. ...
-1
votes
1answer
1k views

How to use Kdevelop to write c++ programs ?

How I can build c++ applications using Kdevelop. Where I can find tutorials for kDevelop4 ? How to set the path for it ? How I can build a GUI application using Kdevelop 4.2? Whenever I try to ...
0
votes
1answer
594 views

libboost installation per apt-get - where are the files located? how do I link them in eclipse?

Im trying to install the boost libraries and entered sudo apt-get libboost* i managed to set the include paths and the header-only librarys are working. when I try other libraries like regex I get an ...
1
vote
1answer
143 views

Unity, C++, opening a Unity folder out of a QT-application

I wrote an QT-application, which shows a "QTreeWidget" of a certain directory and its sub-directories. Now I would like to make unity open a folder e.g. /home/Username/, by clicking one of the ...
6
votes
3answers
4k views

Where do I find an up-to-date version of boost?

Where can I find up-to-date packages for boost on Maverick/Natty/Oneiric/Precise? Ideally, I would like the latest 1.47.0 and be able to update that to the next release when it comes out.