dsd icon indicating copy to clipboard operation
dsd copied to clipboard

DSD cmake error

Open JozoD opened this issue 7 years ago • 1 comments

Hi, I can not help with this:

Digital Speech Decoder 1.7.0-dev CMakeError.log

Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/nbu123/digital_speech/dsd/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1771930358/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1771930358.dir/build.make CMakeFiles/cmTryCompileExec1771930358.dir/build make[1]: Entering directory /home/nbu123/digital_speech/dsd/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/nbu123/digital_speech/dsd/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1771930358.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1771930358.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1771930358 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1771930358.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1771930358.dir/CheckFunctionExists.c.o -o cmTryCompileExec1771930358 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: *** [cmTryCompileExec1771930358] Error 1 make[1]: Leaving directory /home/nbu123/digital_speech/dsd/build/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec1771930358/fast] Error 2

JozoD avatar Nov 03 '18 13:11 JozoD

You are missing pthreads. If you are on ubuntu ensure build-essential is installed.

szechyjs avatar Nov 04 '18 03:11 szechyjs