Skip to content

Instantly share code, notes, and snippets.

@ology
Created July 27, 2022 01:02
Show Gist options
  • Save ology/90e725b8df6912034869209ecc606f6d to your computer and use it in GitHub Desktop.
Save ology/90e725b8df6912034869209ecc606f6d to your computer and use it in GitHub Desktop.
portmidi install attempt error - help?
[2022-07-26 17:54:06] gene@mopey:~/Downloads/portmidi
▸ make
Consolidate compiler generated dependencies of target portmidi
[ 17%] Built target portmidi
[ 19%] Building C object pm_test/CMakeFiles/testio.dir/testio.c.o
[ 21%] Linking C executable testio
[ 21%] Built target testio
[ 23%] Building C object pm_test/CMakeFiles/midithread.dir/midithread.c.o
[ 25%] Linking C executable midithread
[ 25%] Built target midithread
[ 27%] Building C object pm_test/CMakeFiles/midithru.dir/midithru.c.o
[ 29%] Linking C executable midithru
[ 29%] Built target midithru
[ 31%] Building C object pm_test/CMakeFiles/sysex.dir/sysex.c.o
[ 33%] Linking C executable sysex
[ 33%] Built target sysex
[ 35%] Building C object pm_test/CMakeFiles/latency.dir/latency.c.o
[ 37%] Linking C executable latency
[ 37%] Built target latency
[ 39%] Building C object pm_test/CMakeFiles/mm.dir/mm.c.o
[ 41%] Linking C executable mm
[ 41%] Built target mm
[ 43%] Building C object pm_test/CMakeFiles/midiclock.dir/midiclock.c.o
[ 45%] Linking C executable midiclock
[ 45%] Built target midiclock
[ 47%] Building C object pm_test/CMakeFiles/qtest.dir/qtest.c.o
[ 49%] Linking C executable qtest
[ 49%] Built target qtest
[ 50%] Building C object pm_test/CMakeFiles/fast.dir/fast.c.o
[ 52%] Linking C executable fast
[ 52%] Built target fast
[ 54%] Building C object pm_test/CMakeFiles/fastrcv.dir/fastrcv.c.o
[ 56%] Linking C executable fastrcv
[ 56%] Built target fastrcv
[ 58%] Building C object pm_test/CMakeFiles/recvvirtual.dir/recvvirtual.c.o
[ 60%] Linking C executable recvvirtual
[ 60%] Built target recvvirtual
[ 62%] Building C object pm_test/CMakeFiles/sendvirtual.dir/sendvirtual.c.o
[ 64%] Linking C executable sendvirtual
[ 64%] Built target sendvirtual
[ 66%] Building C object pm_test/CMakeFiles/multivirtual.dir/multivirtual.c.o
[ 68%] Linking C executable multivirtual
[ 68%] Built target multivirtual
[ 70%] Building C object pm_test/CMakeFiles/virttest.dir/virttest.c.o
[ 72%] Linking C executable virttest
[ 72%] Built target virttest
[ 74%] Building C object pm_java/CMakeFiles/pmjni.dir/pmjni/pmjni.c.o
In file included from /home/gene/Downloads/portmidi/pm_java/pmjni/pmjni.c:3:
/home/gene/Downloads/portmidi/pm_java/pmjni/jportmidi_JportMidiApi.h:2:10: fatal error: jni.h: No such file or directory
2 | #include <jni.h>
| ^~~~~~~
compilation terminated.
make[2]: *** [pm_java/CMakeFiles/pmjni.dir/build.make:76: pm_java/CMakeFiles/pmjni.dir/pmjni/pmjni.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:578: pm_java/CMakeFiles/pmjni.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment