tonedef Posted September 26, 2015 Report Share Posted September 26, 2015 (edited) I had trouble with the MIOS_Studio download for Linux (maybe because I have the 64 bit version of Ubuntu 14). It just didn't work for me. So here's a tutorial on how to make MIOS_Studio (actually MIOS_Studio_Debug) on Ubuntu in case anyone else has the same issue-----------------------------------------------------------------------------------------------------------------Open a terminal. Make a svn folder, and get the recent mios32 repo:cd ~/mkdir svnsvn co svn://svnmios.midibox.org/mios32/when it's done, unpack juce:cd ~/svn/mios32/trunk/tools/juceunzip unpack_me.zipGo to the mios_studio directory for linux:cd ~/svn/mios32/trunk/tools/mios_studio/Builds/LinuxI had a bunch of missing packages that I needed to install. You can try do a make first, but I needed these:sudo apt-get install libasound2-devsudo apt-get install libx11-devsudo apt-get install libxinerama-devsudo apt-get install libfreetype6-devsudo apt-get install libxcursor-devAfter that, do a make:sudo makeIf all went well, MIOS Studio should ready for you in the build folder:cd buildMIOS_Studio_DebugIf it runs, go ahead and quit it, and copy it to your desktop or wherever:cp MIOS_Studio_Debug ~/DesktopDone! You can now double click the icon and it should just work. If Make Fails-------------------------------------------------------If make results in an error (e.g. missing file), you might need a package or two. To figure out which package has the file, use apt-file:sudo apt-get install apt-fileThen update it:apt-file updateSo here's an example of an error during make:../../../juce/modules/juce_events/juce_events.cpp:55:23: fatal error: X11/Xlib.h: No such file or directory #include <X11/Xlib.h>Find a package with this file by doing this:apt-file search X11/Xlib.hwhich gives you this:emscripten: /usr/share/emscripten/system/include/X11/Xlib.hivtools-dev: /usr/include/IV-X11/Xlib.hlibghc-x11-dev: /usr/lib/haskell-packages/ghc/lib/X11-1.6.1.1/ghc-7.6.3/Graphics/X11/Xlib.hilibhugs-x11-bundled: /usr/lib/hugs/packages/X11/Graphics/X11/Xlib.hslibroot-core5.34: /usr/lib/x86_64-linux-gnu/root5.34/cint/include/X11/Xlib.hlibx11-dev: /usr/include/X11/Xlib.hyou probably want libx11-dev (libroot-core5.34 might also work), so:sudo apt-get install libx11-devBefore you run make again though, do a clean:sudo make cleanand try again:sudo make Edited September 26, 2015 by tonedef a little more legible 2 Quote Link to comment Share on other sites More sharing options...
Phatline Posted January 21, 2018 Report Share Posted January 21, 2018 (edited) THX! without that i would have been lost! worked at the first moment! i had enough to close and re-open the Mios-Studio every time when uploading new code... specially while programming over weeks daily deep into code...(and that rescan joke? not funny) my cores bootloader is setup ed, to show up as "MIOS32" (when not in bootload mode), so i hardcodet that in mios-studio to be set when press "Rescan mididevices", working under linux mint kernel 4.4.0-98 no more closing MidiStudio, or have to close multiple-open-instances because of codeing and trying and uploading, then everytime the resize of the window, search and open hexfile and so on. Of course that is hardcodet, but in my case it is good this way, now i know how to compile anyway - thx open: svn/mios32/trunk/tools/mios_studio/src/gui/MiosStudio.cpp edit: i deleted all from"case rescanDevices" to "break;" and wrote this instead: (the line is about 955 or so) case rescanDevices: closeMidiPorts(); initialMidiScanCounter = 1; getMidiInput(); getMidiOutput(); setMidiInput("MIOS32"); setMidiOutput("MIOS32"); break; dont really know exact what is going on there, but for me its working, and thats enough. also some colorchanging by searching the gui/....cpp filesvia g.fillAll(Colours::black); but the background of the main-fields are still white... to bad... Edited January 21, 2018 by Phatline Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.