Questions related to compilers or tools offering compilation.

learn more… | top users | synonyms

1
vote
0answers
23 views

Could not able to compile with /opt/ELDK42/usr/bin/ppc-linux-g++

here is my test.cpp #include<iostream> using namespace std; int main() { cout<<"hello world"; return 0; } $ /opt/ELDK42/usr/bin/ppc-linux-g++ test.cpp ...
0
votes
0answers
28 views

How to install gcc? [duplicate]

I tried to install gcc, but couldn't install because of dependency on gcc-4.4, which in turn depends on list of so many packages. gcc-4.4 : Depends: cpp-4.4 (= 4.4.3-4ubuntu5.1) but it is not going ...
1
vote
1answer
41 views

How to install the Vala environemt?

Is there a repository so that I get install Vala with apt-get och must I download and install it manually?
0
votes
0answers
72 views

How to disable -Werror=format-security in mpicc?

folks! I want to install parallel version of AMBER (a molecular dynamics program) on my Ubuntu 14.04 LTS. However, the "-Werror=format-security" option of CFLAGS always interupts the installation. My ...
0
votes
0answers
13 views

weird message by the pre installed gdb

I have installed Ubuntu few weeks ago and when I opened gdb and code I written by: >> gdb ./lab (gdb) run I get this message Starting program: /home/ahmed/lab2 Cannot exec /home/ahmed/lab2 ...
-2
votes
1answer
97 views

How to configure netbeans 8.0.2 for C++ in ubuntu 14.04?

I am new to programming, netbeans and ubuntu. I have installed the netbeans ide with the c/c++ bundle from https://netbeans.org/downloads/ . I have no idea what else to install. Please help me in ...
0
votes
1answer
22 views

LibCurl: how do I compile the example code?

I have install libcurl by running: sudo apt-get install libcurl4-gnutls-dev Now, the folder locates at my /usr/share/doc/libcurl4-gnutls-dev/examples$. Say I want to compile ftpget.c. How do I do ...
0
votes
0answers
24 views

Error that says my compiled code doesn't exist? [duplicate]

I am setting up ubuntu to program C++, did that with gedit with terminal plugin etc, but whenever I am compiling a simple program to only output Hello World, I cannot run the program with the command ...
0
votes
1answer
22 views

How to compile quickly without continously having to type [duplicate]

How to compile quickly without continously having to type the whole story of -wall -werror and all those other flags. I know how to use them, but it is a little bit of annoying if I have to type it ...
-1
votes
1answer
197 views

ifort and icc installation on ubuntu14.04

I want to install Intel fortran compiler(ifort) and icc on my laptop with ubuntu14.04 OS. I have read from several sources that it is free for Linux distributions but when I want to get it from ...
0
votes
0answers
131 views

No targets specified and no makefile found

What dependency am I missing? I am stuck on this one since hours. Any help is very appreciated. ./configure output http://pastebin.com/yEZ7snWp
0
votes
0answers
34 views

Behavior of zlib1g-dev

I am trying to compile a project on Ubuntu (14.04.1), but the compilation fails with the following error: dynamic-programming-interface.cpp:1860:20: error: expected primary-expression before '*' ...
0
votes
0answers
44 views

I am trying to compile WRF, while checking System Environment Tests am getting error as shown below

I have Created a new, clean directory called Build_WRF, and another one called TESTS (placed Fortran and C Tests Tar File inside TESTS). SUCESSFULLY completed 3 TEST. In the 4th TEST -- Fortran ...
0
votes
0answers
141 views

Switching from GCC to Clang to compile with OpenCV

I have been compiling code that uses OpenCV by using a CMake project with the following flags in GCC: -Wall -Werror -std=c++14 And it compiled every time. No problems anywhere. When I switch to ...
0
votes
1answer
63 views

Where are header files for gcc located?

I want to add some header files like math.h and graphic.h but don't know where to put them.
1
vote
1answer
53 views

FORTRAN: Error when assigning largest 4 bytes and 8 bytes integers [closed]

I am learning FORTRAN. I came across this error I don't know the reason for this. INTEGER*1 :: i1 INTEGER*2 :: i2 INTEGER*4 :: i3 INTEGER*8 :: i4 i1 = 2**7 - 1 i2 = 2**15 - 1 i3 = 2**31 - 1 ! ...
0
votes
1answer
36 views

Middleman still creating standard assets folders

I just installed middleman to mainly speed up my static site creation workflow. Every is working the way I want (My *.html.erb files get compiled to *.html correctly) but Middleman is still creating ...
0
votes
1answer
143 views

gfortran compiler 4.4 and 4.8 [closed]

We have an old program from 1970 that is verified to work with gfortran-4.4. Is there any way to make it work with Ubuntu 14.04 recommended gfortran 4.8? Are there any major differences and what flags ...
0
votes
1answer
363 views

A MASM Compiler?

I have been looking for a MASM Compiler for ubuntu. I have move all my development tools to ubuntu and now I'm taking a MASM class and I need a MASM compiler really bad. I have seen some videos on ...
0
votes
2answers
37 views

wallpapers for ubuntu, paint app [closed]

I want to have new wallpapers for ubuntu desktop. How to get them, where? Also what is paintbrush app named in ubuntu. In windows it is mspaint. Is C compiler available from software centre?
0
votes
1answer
542 views

How to obtain and install shc?

shc is a compiler that compiles bash scripts into Linux executables. However, I can't find an official site and can't find it in the Ubuntu repos either. What is the official site, and why is it not ...
7
votes
2answers
10k views

How do I use graphics.h in Ubuntu?

Is there any Linux based compiler which supports graphics.h library? I want to implement graphic programs, so please kindly let me know if there is any such software. If not then how can I use it? ...
1
vote
0answers
142 views

Warnings during kernel compiling

I'm compiling custom kernel and during the process I'm getting warnings such as: drivers/isdn/hardware/eicon/message.c:6115:1: warning: the frame size of 1184 bytes is larger than 1024 bytes ...
0
votes
2answers
860 views

C/C++ Compiler for Ubuntu like Dev-C++ [duplicate]

Need a good c/c++ compiler for Ubuntu. I like coding or programming. I used Dev-C++ on Windows. Is there any good compilers like Dev-C++? I tried code::blocks ide but it seems a little buggy for me. ...
0
votes
0answers
166 views

Configuration of $QTDIR

I installed Qt from ubuntu repository. I'm on Trusty. Now I use a another program who need $QTDIR but when I enter echo $QTDIR, the terminal output nothing. How to set up this path without ...
0
votes
0answers
206 views

error compiling the darkcoin miner based on pooler's cpu miner

i was trying to compile the darkcoin miner 32 bit from source which is based on pooler's cpu miner.link here. I am on a Xubuntu 10.04 32 bit. when i run make after running the following commands(as ...
0
votes
0answers
119 views

Where can I find / build GNU Modula-2 for Ubuntu 14.04

I tried the debian archives referenced at http://www.nongnu.org/gm2/overview.html, and also re-compiling from source failed. Where can I find a pre-built / buildable GNU modula-2 compiler package for ...
0
votes
0answers
272 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: ...
0
votes
1answer
918 views

How to install an 'ansi c' compiler ? ? ? ( how can I extend GCC G++ with ANSI C )?

To explain the problem (try two): I can't install the lua compiler (lua dot org) with the newest version of Ubuntu, quote out of the manual to install lua: Installing Lua Lua is distributed in ...
-1
votes
1answer
130 views

error message in java code [closed]

class FreshJuice { enum FreshJuiceSize{ SMALL, MEDIUM, LARGE } FreshJuiceSize size; } public class FreshJuiceTest { public static void main(String args[]){ FreshJuice juice = new ...
0
votes
1answer
259 views

I want to install closure compiler on Ubuntu but don't know how to include new packages in Ubuntu [closed]

I want to include new universe saucy packages, but I don't know how to do this. Please help me out.
0
votes
1answer
495 views

VHDL compiler and simulator for Ubuntu 14.04

I am searching for good VHDL compiler and simulator. Which packages do I need to install? Thank you.
1
vote
0answers
56 views

How do I get the source code of the unity interface and compile it? [duplicate]

I wanted to change some things in Unity. So how to download and compile the code?
0
votes
1answer
477 views

error when compile android kernel

i try to compiler android kernel source code for samsung note 2 my host is ubuntu 13.04 and i use toolchains 4.8 i choice a defconfig from arch/arm/configs when i compile the kernel using make ...
2
votes
3answers
3k 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
2answers
302 views

apt-build on ubuntu, if I change processor will give problem?

I installed apt-build on Ubuntu, it is a program that compiles and installs programs. It compiles optimally for the user processor and this makes programs run quickly. But I thought what if I change ...
3
votes
1answer
106 views

Does Ubuntu Touch have a terminal and/or a compiler?

Does Ubuntu Tablet have any sort of compiler where Python/C/C++ can be written and run? Also, does it have a terminal?
0
votes
0answers
11 views

how do i get a c++ compiler for my ubuntu 13.10 32 bit [duplicate]

i need a c++ compiler for Ubuntu 13.10(32 bit). now i have only gcc , is that possible to compile c++ programs with it? if not ,please tell where do i get a C++ compiler.
1
vote
1answer
3k views

Clang Error “stddef.h file not found”?

After upgrading to Saucy, Clang now gives me the error message: clang -Wall -Werror -std=c99 -ggdb -O0 5.1.c -o 5.1 In file included from 5.1.c:1: /usr/include/stdio.h:33:11: fatal error: 'stddef.h' ...
1
vote
3answers
215 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 ...
1
vote
2answers
1k views

Configuring Ubuntu 12.04 so that it recognizes the recently installed icc compiler

I have an Ubuntu 12.04. I installed the icc compiler (composer_xe_2013_sp1.0.080) but when I try to compile using it I get the message : icc : command not found. I've read somewhere that when ...
1
vote
0answers
2k views

gcc problem -> stdio.h not found

I have to compile one programme. theoretically i need just to change the two path... can you help me? Makefile # Original #CC=arm-1136jf_s_r1_vfp_hard_float-linux-gnueabi-gcc #CFLAGS= -O3 ...
0
votes
1answer
147 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).
10
votes
1answer
91k 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
8k 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 ...
1
vote
1answer
2k views

Missing compiler error in QtCreator and Qt5.1.0 on Lubuntu 13.04

I can't compile any program in QtCreator on Lubuntu 13.04. I have this error: QtCreator needs a compiler set up to build. Configure a compiler in the kit options First of all, I installed from ...
1
vote
1answer
69 views

architecture-independent performance monitor tool

I got to know "perf" tool in "linux-tools-3.2.0-43" for Ubuntu 12.04 which can monitor the performance counts for some micro-architectures, however, the tool is dependent to the cpu architecture and ...
6
votes
2answers
9k views

Ubuntu 13.04 with gcc/g++/gfortran 4.8 by default?

I plan to download and install Ubuntu 13.04 and I would like to have two compilers on my system. First question: what is the version of gcc/g++/gfortran shipped with ubuntu 13.04 ? (is it 4.7.3 ?). ...
1
vote
1answer
424 views

linking cpp object file to c object file and create executable

Suppose i have a c++ file, created an object file and c file created another object file. Now i need to link both into one executable. While i'm trying it is giving errors about c++ not found. Can ...
2
votes
0answers
58 views

Cannot connect to ubuntuarchive.hnsdc.com, how to install g++? [duplicate]

Possible Duplicate: ‘Some index files failed to download’ while updating I am using Ubuntu 10.04. I typed sudo apt-get install g++ in the terminal and got the following output. I can't ...