Questions related to compiling software, normally using the "make" command.

learn more… | top users | synonyms (2)

13
votes
1answer
2k views

How do I use C++11 with g++?

I am currently typing all of my code in gedit and using the terminal to compile my programs. To do so, I am typing: $ g++ main.cpp -o main $ ./main And this is working. However, it is not using C++...
1
vote
0answers
48 views

Build error in Ubuntu phone app

I am trying to build and run a simple ubuntu phone app in the ubuntu sdk. I am running Ubuntu 14.04 The app type is QML App with simple UI (qmake). The framework I chose is Ubuntu-sdk-15.04.5. The ...
0
votes
1answer
21 views

What does “cannot find lSDL” mean?

I am trying to install a software called DiSperSE. For that I am supposed to enter make install When I enter this, terminal returns an error Linking CXX executable fieldconv /usr/bin/ld: cannot ...
2
votes
0answers
36 views

I want to compile apps for Ubuntu-Touch. What are some good resources?

I have an Acquarius M10. I want to try to compile x11 apps for use on my tablet. I am especially thinking of things like xournal. What are some good resources for me to start learning about how to do ...
0
votes
0answers
64 views

Error when try compile OTClient on LUbuntu

I tried to compile otclient follow they tutorial here: https://github.com/edubart/otclient/wiki/Compiling-on-Linux But I need to change things which cause some errors that I made: $ sudo apt-get ...
3
votes
1answer
100 views

Biogeme fails to install and run on Ubuntu 16.04

I wanted to ask about the installation of one of most important open source freeware for discrete choice modeling data estimation: Biogeme. I am trying to install it on my machine (Thinkpad x201, ...
0
votes
0answers
29 views

some files are missed while compiling wxWidgets from source

I just followed this link (http://www.binarytides.com/install-wxwidgets-ubuntu/) to install , I have configured with/without --disable-shared option but the Following error comes out when sudo make ...
0
votes
1answer
22 views

Sublime annoying error report

This is my build system: { "cmd": ["gnome-terminal -e 'bash -c \"python -i -u $file;bash\"'"], "shell": true } For some annoying reason I get this error in the space at the bottom of ...
0
votes
0answers
24 views

Are .deb packages built on ubuntu built the same way they are built officially by debian?

As can be seen here there is a difference in naming packages (especially their versions). There are packages Debian originated and Ubuntu originated. I would like to know if the build processes differ,...
0
votes
0answers
14 views

How to create virtualbox.deb file after compililg Virtualbox OSE source package

I just want to manually create virtual box.deb file after successfully compiling the source code (Virtualbox-5.0.16.tar.bz2). I have done hardend build for compiling virtualbox and followed this link ...
3
votes
0answers
21 views

Where is mir/raii.h?

I'm trying to compile a program on a Vivid (15.04) Ubuntu Touch device; and the only problem I have is: fatal error: mir/raii.h: No such file or directory The code does: #include "mir/raii.h" ......
1
vote
0answers
111 views

Banshee Compiling on Ubuntu 16.04 fails

At the moment, I am trying to compile banshee from git: http://banshee.fm/download/development/, but it fails. I am doing this because I plan to fix something in the Banshee's source code. Here is ...
1
vote
1answer
101 views

Cannot compile/build Dosbox-x/Dosbox in Ubuntu 16.04

As per "INSTALL" I think I've installed every single libsdl that's required by dosbox but neither vanilla dosbox 0.74 nor this fork doesn't want to compile. I've also tried apt-get build-dep dosbox ...
0
votes
1answer
21 views

Compiling GUI Java Client, Penguin Icon instead of Window

I am trying to run a java client program on Ubuntu through command line. This program connects to a server program written in C. My java program has GUI and many classes, so when I compile it, I get a ...
-2
votes
1answer
40 views

how can i compile fdm fo my ubuntu machine? [closed]

how can i compile freedownloadmanager for my ubuntu system? from this source
0
votes
1answer
37 views

I want to compile C file

I want to compile c file. I use g++ <filename> -o <output-filename> Error: ch34x.c:13:24: fatal error: linux/init.h: Directory or file doesnt exist. (here is hash I cant type here)include ...
0
votes
1answer
43 views

Can't build click package (Ubuntu SDK)

Whenever I try run an app via the Ubuntu SDK it gives the following error under the "Compile Output" tab: Makefile:391: recipe for target 'install_desktop_file' failed 09:39:38: The process "/...
0
votes
1answer
26 views

Building Mysql Workbench for Ubuntu Xenial Xerus

I am trying build from source workbench 6.3 on Ubuntu 16.0.4, and can't seem to figure out how to start as I don't see the usual configure files, so the command ./configure doesn't work.
0
votes
0answers
12 views

I can't compile Tk with Tcl.h from Tcl 8.0.5

I need to install Staden Package. I almost completed the installation but an error appeared saying that Tk must be compiled with Tcl.h from Tcl. I have downloaded both Tk 8.0.5 an Tcl 8.0.5 but I can'...
0
votes
1answer
81 views

Errors while compile a kernel for an android device

I hope you have a nice day, I'm new with this, just searched and searched about my situation but no answer, about 40 thread here and here no one helped me, so I am feeling shy to ask you this ...
0
votes
0answers
52 views

Make gives error

I was trying to install the drivers for my rtl8188ee. I used the make command to install the driver but I am getting the following output. make -C /lib/modules/4.4.0-21-generic/build M=/home/...
0
votes
2answers
38 views

gcc doesn't do anything when trying to compile a code [duplicate]

I'm new using Ubuntu OS, I've Ubuntu 12.04 and I'm trying to run a simple Hello world C program #include <stdio.h> int main(){ printf("Hello world!"); return 0; } When using gcc --version ...
0
votes
1answer
18 views

How to stop this command from exit-ing the terminal

I'm working with building tarballs, and in order to estimate how long other builds will take I need to time the first one. However, every time I try to time this command, the terminal exits as soon as ...
0
votes
0answers
9 views

Gtk-Sharp Configuration

Here's the problem I have mono-dev installed and now want to install gtk-sharp GUI from source on Ubuntu LTS, on the document page I am advised to install to where "mono" is so development won't ...
1
vote
0answers
33 views

Ubuntu Xenial: perf doesn't demangle C++ symbols

Linux perf-tools don't seem to work as expected on Ubuntu (16.04). C++ symbols don't get unmangled, I only see garbled stuff like "_afki34334ldfjkdasf_dfkj". Note that I have compiled the program and ...
1
vote
2answers
44 views

Compiling python3 code in terminal with interpreter [closed]

When I compile my code simply with the command python3 name.py, it's being run, but then the whole story ends and I can't do anything with the compiled data. I want to somehow compile my program to ...
0
votes
0answers
42 views

compiling gcc-g++ 4.6.0 alongside gcc 5.2.1 on ubuntu 15.10 amd64

I'm trying to compile gcc 4.6.0 alongside gcc 5.2.1 on Ubuntu 15.10, with OS 64bit. I followed the instructions here and here. For the source I use gcc-4.6.0.tar.bz2. I installed all prerequisites and ...
0
votes
2answers
107 views

why I have to use a replacement for Mac OS X Terminal on Mac?

During my work, I use Ubuntu, but sometimes I work at home with Mac OS. My question is following: When I connect to the cluster (with Ubuntu) with my Mac terminal and compile package, eg. VTK, I ...
2
votes
0answers
482 views

GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

When trying to execute any c++ programs, I get this error. The full error message is: ./main: relocation error: ./main: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev, version ...
0
votes
2answers
203 views

Wireless drivers for the newer linux kernels 4.x

I've recently tried to install the latest stable kernel which is 4.4.6 and when the kernel was compiled and I brought the kernel up and running, there was a problem and the wireless driver (MT7630e ...
0
votes
1answer
31 views

Using arc4random on Ubuntu 14.04 trusty

I am currently working with a C++ program where I wish to use arc4random function. Every time I compile, I receive a not declared in scope message for arc4random. I understand that this is an error in ...
0
votes
2answers
30 views

Problem to compile python and C++ code using ubuntu Ubuntu 12.04.5 LTS: problem with gcc

I am trying to compile a code involving python and C++ in Ubuntu 12.04.5 LTS and I have this type of error hammouc@kw13921:~/Documents/mimclib$ make python setup.py clean running clean removing '...
0
votes
1answer
33 views

GCC won't compile to an executable file

I was able to reproduce this issue with a simple case (shown below). The problem in particular is that the output of compiling my main C file is a file with format data (returned by running file on ...
0
votes
1answer
33 views

Compiling GCC compiler…shows error

So I started to setup for AVR programing and I found this nice tutorial to guide me. I am on step 3 of the tutorial. When I type the command: make CC="cc --no-cpp-precomp" I get this error: make: *...
0
votes
0answers
57 views

How do I add to my compile and link lines?

I am new to Linux and trying to install cuDNN on my Ubuntu computer. The installation instructions contain the following: "Add (installpath) to your build and link process by adding -I(installpath) ...
-4
votes
1answer
54 views

A c program works well in Ubuntu but when I compile and run it in windows using MinGW, the program runs but in result it shows some garbage value [closed]

I a wrote a C code in Ubuntu 14.04.4 LTS and compiled it. It is working as expected.But in windows it is running but at last in result it is showing some garbage values. The code I wrote is #include ...
0
votes
1answer
77 views

Making my 32-bit program code compile on 64-bit Ubuntu (looking for safe path)

I have for the first time installed a 64-bit Ubuntu on my laptop. Now I am looking for a way to compile my old biology C++ project on this OS. I have a .sh file that installs all necessary packages ...
0
votes
0answers
134 views

Error compiling Bluez 5.39 from source code

I am attempting to install Bluez 5.39 (Bluetooth library). I have run ./configure. When I run make I get the following error: name@name-vm:~/bluez-5.39$ make make --no-print-directory all-am ...
0
votes
0answers
17 views

easy way to make a fake package depending on libfoo-dev's when compiling from source? [duplicate]

I often install various development libs required by some package I'm compiling from source and/or hacking on temporarily. I like keeping track of what I install in these situations so that I can ...
0
votes
0answers
78 views

Can't build Android 5.1.1 source in ubuntu 15.10

Please help me, thx. I build failed android 5.1.1 source in ubuntu15.10 64 bit (the kernel is 4.2.0-30-generic), the shell log is: Import includes file: out/host/linux-x86/obj32/STATIC_LIBRARIES/...
0
votes
0answers
17 views

compiling Ch1Servlet.java in ubuntu 14.04

hi guys i would be very grateful if anyone could help me with this. here is the code from my Ch1Servlet.java file : import javax.servlet.; import javax.servlet.http.; import java.io.; import java....
1
vote
1answer
47 views

Compiling a speech recognition toolkit in Ubuntu Gnome

I tried to compile the SHoUT LVCSR toolkit on my Ubuntu Gnome and got the errors below: aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader automake ...
0
votes
1answer
147 views

I can't get my Wacom Intuos to work in Ubuntu at all

I just bought a new Wacom Intuos, and I can't get anything to work. The tablet itself turns on, and detects pressure, but the cursor won't even move even though lsusb detects it. I have an older model ...
0
votes
0answers
94 views

C++ Broken Compiler GNU Radio CMake

I'm trying to build GNU Radio from git with a cross-compiling environment, but I get an error saying that my c++ compiler is broken. I've tried changing the compilers in the CMakeCache.txt inside the ...
0
votes
1answer
66 views

I can't compile a Qt project

I was trying to compile a project I checked out from github but I get these errors: /usr/bin/ld: cannot find -lQtGui /usr/bin/ld: cannot find -lQtNetwork /usr/bin/ld: cannot find -lQtCore It worked ...
0
votes
0answers
24 views

Error when compiling ubuntu touch on 14.04 for the Samsung Galaxy Star Pro

I've been trying to compile Ubuntu Touch for my Samsung Galaxy Star Pro S7262, and I keep getting the same error after I do the lunch command. I get " [[device/samsung/logan2g/cm.mk]] 'vendor/cm/...
0
votes
0answers
9 views

Box2D_v2.3.0 Fails on Make Bus Succeeds on Cmake

I have been trying to install Box2D_v2.3.0 and run cmake . I get a successful result. When i move onto both make and sudo make I get the following error message: [ 41%] Built target Box2D [ 43%] ...
0
votes
1answer
89 views

How to upgrade java compiler - different problem

After the most recent automatic software update, java 7 on 14.04 no longer works. The initial problem is the same as that described at "How to upgrade Java compiler". Here's the message we got: ...
1
vote
0answers
24 views

Automation of installing programs from source

I occasionally face a problem when using programs for which developers don't publish deb packages and only provide source. Sometimes I find a PPA providing the package but sometimes I don't or ...
1
vote
0answers
65 views

Error in Opencv instalation (error in file: opencv/modules/videoio/src/cap_libv4l.cpp)

I tried to install OpenCV several times but always returns the same error. I'm running Linux - Debian in Beaglebone Black. The configuration is: root@beaglebone:~# uname -a Linux beaglebone 3.8.13-...