Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2023 01:21:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269106] Including MIDI support in Milkytracker
Message-ID:  <bug-269106-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269106

            Bug ID: 269106
           Summary: Including MIDI support in Milkytracker
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: notbylundzander@gmail.com

I don't know enough about ports/cmake to submit a patch, but I can with some
instruction or pointers. This is the just get it to work fix.

Add this to the cmake build text (just making sure it includes all the MIDI
files):

add_subdirectory(src/midi)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/local/include/rtmidi
-L/usr/local/lib/ -lrtmidi")
find_library(RTMIDI_LIBRARY RtMidi)

find_package(RTMIDI REQUIRED)
find_package(JACK REQUIRED)
find_package(ALSA REQUIRED)
find_package(SDL2 REQUIRED)

Also change some includes to absolute paths in the midi header because it
doesn't read the src/midi includes.

Then the MIDI support is working as described in the docs.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269106-7788>