输出是这个。
bash-3.2$ make
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/owenwatts/melonDS/build
[ 1%] Building CXX object CMakeFiles/melonDS.dir/src/libui_sdl/main.cpp.o
/Users/owenwatts/melonDS/src/libui_sdl/main.cpp:24:10: fatal error:
'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
^~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/melonDS.dir/src/libui_sdl/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/melonDS.dir/all] Error 2
make: *** [all] Error 2
bash-3.2$
我已经尝试过重新安装,但是在没有手动告诉每个文件在哪里的情况下,似乎没有任何解决方法。有帮助吗?