Building JUCE project question

Hi, I hope I’m not too off asking this here. But this community seems to be working through the same types of challenges.
My question is how would I start with building a JUCE based app on RPi? Looking to port Midibox.org’s MidiStudio app http://ucapps.de/mios_studio.html
and the opinion is that it should be possible but hasn’t been done yet. Are there JUCE2 libs/packages I need to apt-get?
Any advice or links to tuts would help,
Yogi

Hi @yogi

I haven’t tried to write a JUCE app directly for RPi. What we have done is to get Dexed (a JUCE application) compiled as VST plugin on Raspi:

#------------------------------------------------
# Install Dexed Plugin => TODO Download VST2 SDK
#------------------------------------------------
sudo apt-get -y install x11proto-xinerama-dev libxinerama-dev libxcursor-dev
cd $ZYNTHIAN_SW_DIR
git clone https://github.com/asb2m10/dexed.git
cd dexed/Builds/Linux
joe Makefile 
export CONFIG=Release
make -j 4
make strip
cp ./build/Dexed.so ../../../../zynthian-plugins/vst

You only need to get and install the VST-SDK. AFAIK JUCE has currently no direct LV2 support, so you have to use VST as plugin format and you need something what can load VST (like Carla) on RPi. Perhaps JUCE may have LV2 support in the next release…?

Sorry, that’s all I know… have you considered to try to write a plugin with Faust? You can create directly several plugin formats…

Regards, Holger

Thank you Holger. This helps, very much need a starting point. Not sure how JUCE works, looking at the scr files and not knowing how the mios_studio.jucer file relates. Part of the framework(?); anyways, will dig into this.
Yogi

This seems to be a standalone app, so probably you don’t need the VST-SDK, only the JUCE development libraries. If you take a look to the MIOS studio website, you will find:

The source code is available in the SVN Repository. It requires the Juce v2 release to compile; just unpack the files under tools/juce/unpack_me.zip

:wink:

Regards!

Thanks jofemodo, yes it’s a standalone. I just have little/no knowledge about building with JUCE. But I found some threads on very basic usage of JUCE and RPi. So it’s starting to make some sense:

  1. Apt-get the dep libs on RPi, copy tools/juce/ unpack_me.zip (unzipped)
  2. On Win machine, run Projucer ( or Introjucer?) and add “JUCE_USE_XSHM=0 JUCE_USE_XINERAMA=0”
  3. Save project & copy MIOS_Studio folder to RPi
  4. Run Make in ~/MIOS_Studio/Builds/Linux/
    I think this is the basics, will give it a try :slight_smile:
    Yogi
    UPDATE:
    A little more work than expected but success!
    Here are my notes:
    http://midibox.org/forums/topic/20213-mios-studio-build-on-rpi-2-b-raspbian-jessie/
    Thanks for the help, Yogi