compilation failed : MidiFile.h not found
Closed this issue · 1 comments
zebulon-1st commented
System : Debian GNU/Linux 11 (bullseye)
$ uname -a : Linux debian-1 5.10.0-14-amd64 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux
(Note: Other plugins projects compiled ok.)
Sources/Rack/plugins/BaconPlugs$ make -j8 && make install
...
g++ -Wno-array-bounds -Wno-strict-aliasing -Ilibs/midifile/include -Ilibs/open303-code/Source/DSPCode/ -std=c++11 -Wsuggest-override -fPIC -I../../include -I../../dep/include -fno-gnu-unique -MMD -MP -g -O3 -march=nehalem -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -c -o build/src/PolyGenerator.cpp.o src/PolyGenerator.cpp
In file included from src/PolyGenerator.cpp:1:
src/PolyGenerator.hpp:5:10: fatal error: MidiFile.h: Aucun fichier ou dossier de ce type
5 | #include "MidiFile.h"
| ^~~~~~~~~~~~
compilation terminated.
make: *** [../../compile.mk:72 : build/src/PolyGenerator.cpp.o] Erreur 1
...
It's ok now. I didn't see the libs/midifile directory content is elsewhere (another branch or project ?)
I close this issue.
baconpaul commented
yeah you need to submodule update before you build and it will grab what it needs. Thanks!