cpyarger / obs-midi

Use MIDI devices to trigger events in OBS and vice versa
https://obs-midi.org
GNU General Public License v2.0
170 stars 20 forks source link

Source code: out-of-date / won't build? #162

Closed gee-ell closed 2 years ago

gee-ell commented 2 years ago

obs-midi is so useful, but it seems like it's no longer maintained?

I'd like to get the source compiling so I can add or fix things if needed. I managed to integrate the current GitHub source into my MSCV obs-studio build (using the provided instructions), but it seems to be out-of-date, missing basic features including even a functioning 'Add Mapping' button.

I then tried to copy the source code files from the .zip released with the latest binary, but that fails to build with errors in moc_ files, eg. unknown symbol 'MidiMapping' (I don't understand how this works, but I assume it's something to do with QT?). Anybody get this working?

gee-ell commented 2 years ago

.. should I be using a specific branch and not master?

BTW, this build instruction was wrong for me:

"add_subdirectory(obs-midi)"

I had to use "add_subdirectory(plugins/obs-midi)"

cpyarger commented 2 years ago

.. should I be using a specific branch and not master?

BTW, this build instruction was wrong for me:

"add_subdirectory(obs-midi)"

I had to use "add_subdirectory(plugins/obs-midi)"

no, it's not wrong, you added the line to the wrong CMakeLists.txt file. it should be the one in the plugins directory, NOT the top directory.

Also, I am currently working on the Actions branch. There is a bit of reworking of things that had the code broken for a bit.