Node.jsでSDLを使ってWAVファイルを再生するサンプルコード
Revisão | c7949e54532e60319165286216997a3da41bc0e9 (tree) |
---|---|
Hora | 2013-02-16 20:08:40 |
Autor | hylom <hylom@hylo...> |
Commiter | hylom |
fix include directory in binding.gyp
@@ -3,7 +3,7 @@ | ||
3 | 3 | { |
4 | 4 | "target_name": "waveplayer", |
5 | 5 | "sources": [ "waveplayer.cc" ], |
6 | - "include_dirs": ["/usr/local/include/SDL"], | |
6 | + "include_dirs": ["/usr/local/include/SDL", "/usr/include/SDL"], | |
7 | 7 | "libraries": [ |
8 | 8 | "<!@(sdl-config --libs)", |
9 | 9 | "-lSDL_mixer" |