Browse Source

Merge branch 'master' of https://github.com/VCVRack/Rack into 2017-10-bontric-midi-interface-revamp

tags/v0.4.0
ben 7 years ago
parent
commit
a3f20394df
3 changed files with 18 additions and 15 deletions
  1. +1
    -1
      README.md
  2. +15
    -12
      dep/Makefile
  3. +2
    -2
      src/core/MidiInterface.cpp

+ 1
- 1
README.md View File

@@ -19,7 +19,7 @@ Rack's dependencies (GLEW, glfw, etc) do not need to be installed on your system

### Mac

Install [Xcode](https://developer.apple.com/xcode/) or *command line developer tools* with `xcode-select --install`.
Install [Xcode](https://developer.apple.com/xcode/).
Install [CMake](https://cmake.org/) and wget, preferably from [Homebrew](https://brew.sh/).

### Windows


+ 15
- 12
dep/Makefile View File

@@ -4,9 +4,11 @@ LOCAL = $(shell pwd)
include ../arch.mk

ifeq ($(ARCH),mac)
export CFLAGS = -mmacosx-version-min=10.7
export CXXFLAGS = $(CFLAGS)
export LDFLAGS = $(CFLAGS)
MACOS_FLAGS = -mmacosx-version-min=10.7 -stdlib=libc++
export CFLAGS = $(MACOS_FLAGS)
export CXXFLAGS = $(MACOS_FLAGS)
export CPPFLAGS = $(MACOS_FLAGS)
export LDFLAGS = $(MACOS_FLAGS)
endif

# Commands
@@ -98,13 +100,13 @@ $(libsamplerate):
$(MAKE) -C libsamplerate-0.1.9/src install

$(libcurl):
$(WGET) https://github.com/curl/curl/files/1101227/curl-7.54.1.tar.gz
$(UNTAR) curl-7.54.1.tar.gz
cd curl-7.54.1 && ./configure --prefix="$(LOCAL)" \
$(WGET) https://github.com/curl/curl/releases/download/curl-7_56_0/curl-7.56.0.tar.gz
$(UNTAR) curl-7.56.0.tar.gz
cd curl-7.56.0 && ./configure --prefix="$(LOCAL)" \
--disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual \
--without-zlib --without-ssl --without-ca-bundle --without-ca-path --without-ca-fallback --without-libpsl --without-libmetalink --without-libssh2 --without-librtmp --without-winidn --without-libidn2 --without-nghttp2
$(MAKE) -C curl-7.54.1
$(MAKE) -C curl-7.54.1 install
$(MAKE) -C curl-7.56.0
$(MAKE) -C curl-7.56.0 install

$(libzip):
$(WGET) https://nih.at/libzip/libzip-1.2.0.tar.gz
@@ -114,10 +116,11 @@ $(libzip):
$(MAKE) -C libzip-1.2.0 install

$(rtmidi):
git clone https://github.com/thestk/rtmidi.git rtmidi
cd rtmidi && ./autogen.sh && ./configure --prefix="$(LOCAL)"
$(MAKE) -C rtmidi
$(MAKE) -C rtmidi install
$(WGET) http://www.music.mcgill.ca/~gary/rtmidi/release/rtmidi-3.0.0.tar.gz
$(UNTAR) rtmidi-3.0.0.tar.gz
cd rtmidi-3.0.0 && ./configure --prefix="$(LOCAL)"
$(MAKE) -C rtmidi-3.0.0
$(MAKE) -C rtmidi-3.0.0 install

$(portaudio):
ifeq ($(ARCH),win)


+ 2
- 2
src/core/MidiInterface.cpp View File

@@ -30,9 +30,9 @@ struct MidiIO {
MidiIO(bool isOut = false) {
try {
if (isOut) {
rtMidi = new RtMidiOut(RtMidi::UNSPECIFIED, "VCVRack");
rtMidi = new RtMidiOut(RtMidi::UNSPECIFIED, "Rack");
} else {
rtMidi = new RtMidiIn(RtMidi::UNSPECIFIED, "VCVRack");
rtMidi = new RtMidiIn(RtMidi::UNSPECIFIED, "Rack");
}
}
catch (RtMidiError &error) {


Loading…
Cancel
Save