List of Juce dependancies under ubuntu linux

11 posts / 0 new
Last post
dinaiz
Offline
Last seen: 1 week 2 days ago
Joined: 8 Dec 2009 - 20:32
List of Juce dependancies under ubuntu linux

I had to reinstall a fresh Ubuntu, and therefore grab all the dependancies for Juce....again. So I thought I'd make a little list and share it with you guys, in case it can save someone else's time ...

sudo apt-get -y install g++
sudo apt-get -y install libfreetype6-dev
sudo apt-get -y install libx11-dev
sudo apt-get -y install libxinerama-dev
sudo apt-get -y install libxcursor-dev
sudo apt-get -y install mesa-common-dev
sudo apt-get -y install libasound2-dev
sudo apt-get -y install freeglut3-dev
sudo apt-get -y install libxcomposite-dev

You can copy that to a nice shell script and it's gonna setup all juce dependancies for you.
This is for a fresh installation of Ubuntu 11.10 32 bit, and the latest official juce 1.52. Might work with other versions/distros (debian ?) but it's not "guaranteed" (as if I was in position to guarantee anything lol :D )
With those installed, you can build and link the library (with the default juce_Config.h) and the demo.

HTH

P.S. : Maybe it should be worth making this post sticky ?

Oh, so they have Internet on computers now ?

Edited by: dinaiz on 19 Apr 2012 - 00:38
jules
Offline
Last seen: 13 hours 41 min ago
Joined: 29 Apr 2013 - 18:37
Re: List of Juce dependancies under ubuntu linux

Cool, thanks for the nice list!

Dri
Offline
Last seen: 3 days 22 hours ago
Joined: 14 Jul 2010 - 13:51
Re: List of Juce dependancies under ubuntu linux

Hey,
It appeared I had to install libxcomposite-dev as well. Don't know if it's specific to ubuntu 11.10 though.

Cheers,
Adrien

dinaiz
Offline
Last seen: 1 week 2 days ago
Joined: 8 Dec 2009 - 20:32
Re: List of Juce dependancies under ubuntu linux

Thanks, I edited the original post accordingly

Oh, so they have Internet on computers now ?

Dub
Offline
Last seen: 10 hours 2 min ago
Joined: 28 Jun 2006 - 22:45
Re: List of Juce dependancies under ubuntu linux

I know Raspian (Debian on a Raspberry pi) isn't Unbutu, but as a handy reminder for me, I'd add "libxinerama-dev" for buildind X

Dub

dinaiz
Offline
Last seen: 1 week 2 days ago
Joined: 8 Dec 2009 - 20:32
Re: List of Juce dependancies under ubuntu linux

You have a Juce app running on a Raspberry pi ? :D

Oh, so they have Internet on computers now ?

Dub
Offline
Last seen: 10 hours 2 min ago
Joined: 28 Jun 2006 - 22:45
Re: List of Juce dependancies under ubuntu linux

Yes, sort of. I hardly had to do anything except read around. Refresh doesn't seem to be working, and it's a bit crashy, but it does show the 1st page of JuceDemo.

Dub

pwinwood
Offline
Last seen: 1 year 6 months ago
Joined: 20 Nov 2012 - 21:19
Re: List of Juce dependancies under ubuntu linux

(Hi, just registered!)
I have Juce running my app well on my Raspberry Pi. I found I had to set JUCE_USE_XINERAMA and JUCE_USE_XSHM to 0 in juce_gui_basics.h.
I found I had to do the same running my app remotely over SSH as well on Linux.
I am in the process of creating a implementation using the GPU (DispManX and OpenGLES) on the PI a little bit the Android one.

dinaiz
Offline
Last seen: 1 week 2 days ago
Joined: 8 Dec 2009 - 20:32
Re: List of Juce dependancies under ubuntu linux

I'm amazed that you guys could have juce running on a Raspberry pi ! Maybe you could start a new thread about that ? I say that because I know one day, I'll get one of those toys, and I'll be very happy to find a thread about "how to build a juce app on Raspberry pi" :D

Oh, so they have Internet on computers now ?

axetota
Offline
Last seen: 9 months 3 weeks ago
Joined: 20 Dec 2012 - 13:25
Re: List of Juce dependancies under ubuntu linux

Don't forget about xrender :wink:

sudo apt-get install xrender-dev

Is available in debian 7 (testing) and should also be in any other debian derivative.

axetota
Offline
Last seen: 9 months 3 weeks ago
Joined: 20 Dec 2012 - 13:25
Re: List of Juce dependancies under ubuntu linux

make that libxrender-dev. here's a nice one-liner that'll do it without the need of a shell script.

$ sudo apt-get -y install g++ libfreetype6-dev libx11-dev libxinerama-dev libxcursor-dev mesa-common-dev libasound2-dev libjack-dev freeglut3-dev libxcomposite-dev libxrender-dev

Has it ever been considered to just make deb packages for juce? I took a little time the other day and made a working apt-gettable package(s). It installs the jucedemo, jucer, introjucer, and a copy of the modules into standard Linux dirs. App menu entries are also created and installed. I'm going for as-official-as-possible when it comes to the debian packaging.

For a linux install though, it would be very useful to include shared/static libs with pkg-config files. I started a side project locally which does this. I'm importing juce as a git submodule and building the entire setup using Waf.