dmooney65 / node-libsamplerate

Native bindings to libsamplerate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown CMake command "clip_mode"

DavidLibeau opened this issue · comments

Hi,
I've got this error while doing a cmake-js compile (cmake version 3.6.2)

CMake Error at CMakeLists.txt:11 (include):
  include could not find load file:

    ClipMode


CMake Error at CMakeLists.txt:53 (clip_mode):
  Unknown CMake command "clip_mode".

I can't find anything about it online. So if you have an idea. Thanks

Hi,

Sorry for the slow reply. That error might indicate that the git submodule code has not been cloned. Is there anything under the deps/ subdirectory?

Hi, no worry!

Under deps/ I have CMakeLists.txtand libsamplerate(empty folder).
Should I import libsampkerate under deps/libsamplerate first?

I also tried to do the cmake-js compile under deps/, it gives me the same error.

To pull the git submodules, cd to the root directory of node-libresample and then
git submodule update --init --recursive

Now npm install should complete.