quiet won't compile, it doesn't see the liquid-dsp devel installation
FlashStopFall opened this issue · comments
FlashStopFall commented
I've installed all the dependencies including the recommended ones,and run ./bootstrap in the quiet directory. Even though I installed liquid-dsp via "git clone https://github.com/quiet/liquid-dsp.git -b devel --single-branch" cmake throws the error
CMake Error at CMakeLists.txt:65 (message):
libquiet requires the devel branch of libliquid but
found a different branch installed
fetch the devel branch using
git clone https://github.com/quiet/liquid-dsp.git -b devel --single-branch
and install it before continuing
-- Configuring incomplete, errors occurred!
CMakeError.log
CMakeOutput.log
Is there a workaround for this?
vukasin gostovic commented
ive modified the cmake file to look like this:
if(LIQUID_FOUND)
add_library(liquid UNKNOWN IMPORTED)
set_target_properties(liquid PROPERTIES IMPORTED_LOCATION "${liquid_library}" INTERFACE_INCLUDE_DIRECTORIES "${liquid_include}")
check_library_exists(liquid flexframesync_set_header_len,flexframegen_set_header_len,ofdmflexframesync_set_header_len,ofdmflexframegen_set_header_len,resamp_rrrf_execute_output_block,liquid_pack_array_block "" LIQUID_DEVEL_FUNCTIONS)
else()
message(FATAL_ERROR "
libquiet requires libliquid but cannot find it
fetch the devel branch using
git clone https://github.com/quiet/liquid-dsp.git -b devel --single-branch
and install it before continuing")
endif()
but i get this error when trying to compile:
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libliquid.so', needed by 'lib/libquiet.so'. Stop.
make[1]: *** [CMakeFiles/Makefile2:124: CMakeFiles/quiet.dir/all] Error 2
make: *** [Makefile:146: all] Error 2