Laurent14 wrote:Gale Andrews wrote:Laurent14 wrote:this is curious since ./lib-src/portsmf/allegro.h has #include <assert.h>
Have you tried configuring with local portsmf ?
no; I just tried but portmidi failed to compile...
here is the error message if it can be useful:
- Code: Select all
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot open output file /Release/libpmjni.so: No such file or directory
collect2: error: ld returned 1 exit status
pm_common/CMakeFiles/pmjni.dir/build.make:236: recipe for target '/Release/libpmjni.so' failed
make: *** [/Release/libpmjni.so] Error 1
CMakeFiles/Makefile2:77: recipe for target 'pm_common/CMakeFiles/pmjni.dir/all' failed
make: *** [pm_common/CMakeFiles/pmjni.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
in portmidi, I only made
Reconfigure and compile in the top level.
Why are you running cmake? You should only need to install cmake (or libsoxr-dev which installs cmake) then run make.
You can also try configuring --without-midi unless you really need MIDI support. Then you should not have issues with portmidi or portsmf.
Similarly to use local portsmf, configure --with-midi=local.