Open Angus1996 opened 5 years ago
try cmake. cmake works in windows (visual studio), mac (xcode), linux (make, ninja)
CMakeLists.txt example
cmake_minimum_required(VERSION 3.9)
project(rnnoise C CXX)
include_directories(
include
src
)
file(GLOB RNNOISE_SOURCES src/*.c)
message("RNNOISE_SOURCES: ${RNNOISE_SOURCES}")
add_executable(rnnoise_demo ${RNNOISE_SOURCES} examples/rnnoise_demo.c)
target_compile_definitions(rnnoise_demo PRIVATE TRAINING=0)
add_executable(denoise_training ${RNNOISE_SOURCES})
target_compile_definitions(denoise_training PRIVATE TRAINING=1)
Install autoreconf
in Ubuntu WSL, and probably build-essentials
too.
I had the same error, the solution was this:
sudo apt-get install autoconf sudo apt-get install libtool automake
brew install autoconf libtool automake
that my solution
I have met an error when I was trying to compile it. My os is the ubuntu subsystem in Windows10
I type the "./autogen.sh",but I got the following result: Updating build configuration files for rnnoise, please wait.... ./autogen.sh: 10: ./autogen.sh: autoreconf: not found
Can anyone help me?