Some programming languages use compilers that 'translate' code into a lower level language before executing it. Use this tag for any questions about how to compile code on the Pi.

learn more… | top users | synonyms

2
votes
0answers
66 views

XBMC compilation error

I have the lastest Raspbian version (the 3.12.24+ kernel) and i tried to compile xbmc by following this guide: http://www.raspbian.org/RaspbianXBMC All Worked until the make... I got this error: ...
0
votes
0answers
35 views

C# VCNL4000 Make error with ../version.h

I was trying to use a proximity sensor with the Raspberry PI called the VCNL4000 using this git:https://github.com/silentbobbert/pi_sensors . An existing solution is shown in this video: ...
1
vote
0answers
91 views

Why I can't compile and install cgminer on my RaspBerry?

I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0 In particular the ...
1
vote
1answer
114 views

Sound recording program using Nano

I want to make a sound recording program such as this on my RPI machine with several modifications. The problem is that I get the fatal error message "alsa/asoundlib.h : No such file or directory". I ...
0
votes
1answer
277 views

Installing software with dependencies

I want to install the last version of Minimodem on my Raspi. If I do: sudo apt-get install minimodem I obtain the version 0.8.1, which is not the last one that the author has released. The last ...
0
votes
1answer
69 views

Building ruby on a Raspberry “mini distro”

I installed this little disk image on a 1GB SD card. I would like to run ruby within this system, which is not installed yet. I decided to use rbenv instead of RVM (I have my reasons). My ...
0
votes
0answers
292 views

Raspberry Pi High Speed Camera

Forget the normal raspberry pi camera. Wait, Forget really nice cameras. Is it possible to make a high speed camera with the raspberry pi for a cheaper cost than a regular one would be?
0
votes
0answers
326 views

Compiling Mono 3.x on Raspberry Pi

To get rid of the soft float vs. hard float ABI problem I tried to install an up-to-date version of mono on my Raspberry Pi with git clone https://github.com/mono/mono.git cd mono git submodule init ...
2
votes
1answer
100 views

Fail to compile NancyFX

I'm trying to compile NancyFx on my raspberry using this guide but fail at step 5. The command "rake mono" failes with the error uninitialized constant Albacore:Task So, I guess there is ...
6
votes
2answers
6k views

Trying to execute 'a.out' returns “-bash: a.out: command not found.”

I wrote a simple C program on a different Linux computer. I would compile it using gcc guess.c That would output an a.out file. I would then just type the command a.out, and my C program would run. ...
1
vote
1answer
147 views

Building/Running Ur Quan Masters (Arch)

I'm trying to get Star Control II: The Ur-Quan Masters (uqm) running on my Arch Pi. I've downloaded the source and the primary content pack. First, I untarred the source in /root/, producing the ...
1
vote
1answer
1k views

How can I install YouCompleteMe vim plugin on raspbian

You complete me requires vim version 7.3.584+ ,mine version is: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 20 2013 06:48:10) Included patches: 1-547 Can I still install it somehow? I suppose ...
2
votes
2answers
126 views

Lightweight and/or legacy distro for FOTRAN hackery?

My grandfather was a programmer back in the day, and lately he's been hearing about the RPi in the news and he's expressed a desire to try one out. He can remember computers filling whole rooms and ...
2
votes
1answer
4k views

Install software on raspberry pi offline

As of now I don't have a wifi adapter for Raspberry Pi with me. If I want to update or install any software my Rpi should be connected to internet. Is there any way I can install software in offline ...
1
vote
2answers
102 views

Can I compile R-Pi programs (Qt) on R-Pi itself?

I want to create GUI in Qt and would like to know if I can compile and test the programs on the Pi board itself. That way, I only need to connect to R-Pi using SSH and modify code, compile and test it ...
5
votes
1answer
2k views

How to automagically have yaourt / makepkg add the armv6h platform to PKGBUILD?

Thanks to yaourt it's pretty simple to install non-standard software. However in most cases I have to manually edit the PKGBUILD file from arch=('x86_64' 'i686') to arch=('x86_64' 'i686' 'armv6h') for ...
0
votes
3answers
5k views

javac: command not found - after installing Java

Having just installed Java on the Pi, which in itself was virtually impossible, I have written some Java. Which will not compile. Having written the file, named hello.java, I type: javac hello.java ...
0
votes
2answers
328 views

trying to build file with gcc getting several errors [closed]

I have the code below I am trying to build #include stdio.h #include stdlib.h #include signal.h #include wiringPi.h #include softPwm.h void control_event(int sig); int HARD_PWM_PIN=1; Hardware PWM ...
7
votes
2answers
5k views

How can I build MongoDB?

It seems to me like there's currently two way to go about this: https://github.com/skrabban/mongo-nonx86 https://github.com/RickP/mongopi I settled for the mongo-nonx86 fork. I installed the ...
1
vote
2answers
2k views

Can I use my Ubuntu desktop to cross-compile the GO language environment for my Pi?

As stated on the official Golang site, there is no binary distribution for ARM yet. I'll have to compile GO from source, and it might not be straightforward, and require a few tries. Compilation ...
1
vote
0answers
101 views

Eigen's unit tests fail

I have been trying to compile and install the Eigen library on my Raspi. Compiling seems to go just fine. However, when i try to run the library's unit tests with make test after compilation, all of ...
3
votes
1answer
326 views

What can cause libs to not be found on raspberry pi

On my Raspberry Pi, with Debian Squeeze, I want to link to the shared objects in /opt/vc/lib. I have added this directory to a file in /etc/ld.so.conf.d/ which is included in /etc/ld.so.conf. The ...
3
votes
2answers
2k views

How to compile with qt for raspberry

Is it possible to compile for Raspberry Pi using the Qt framework or is it possible to install the Qt creator on the actual Raspberry?
10
votes
4answers
5k views

Which CPU flags are suitable for gcc on Raspberry Pi?

gcc takes the -mcpu= (or -march=) flags to produce optimized code for a particular CPU type. There's a plethora of arm variants, and the gcc Arm target also provides numerous FPU types. Which ...
4
votes
2answers
1k views

Compiling Objective C with Clang

I have installed clang on my Raspberry Pi. How can I compile a .m file (Objective C) through the terminal? Let's say I called it bob.m and I want the output file to be called bob and I'm already in ...
1
vote
1answer
5k views

how do you build sample OpenCV programs that come bundled with the OpenCV source?

I have successfully installed OpenCV 2.3.1 on Raspbian image and I would like to build/run some of the C/C++ programs located under the ~/OpenCV-2.3.1/samples directory. For example, if I wanted to ...
2
votes
2answers
728 views

Compiling for CPAN not possible on raspbian?

I'm trying to install the Perl module Linux::Inotify2. The installation requires some C compiling. Which compiler CPAN uses is the same one Perl was compiled with. Which one that is can be seen with: ...
3
votes
1answer
474 views

Perlbrew install failed on Rasbian Wheezy

I'm trying to install Perl 5.16.1 though perlbrew on my Raspberry Pi and (after many painful hours) the install failed. I installed it with the regular command: perlbrew install perl-5.16.1 The output ...
1
vote
0answers
621 views

How to compile driver for RTL2832

I try to compile this driver for my DVB-T stick. I've downloaded a 3.1.9 kernel-source and prepared the headers as described here. But it doesn't help, instead I get this error: ...
8
votes
1answer
898 views

Is there a port of DirectFB?

The website states that progress has been made "using Raspberry PI or other Broadcom hardware". I've looked at their graphics support and BCM2835 wasn't there. If it has been ported then what are ...