I already have successfully installed AbracaDABra on one laptop recently, and remember I had the same issue, but I have no idea how I solved it.
On my other laptop I have installed 22.04 and installed all required libraries, but cmake returns in an error:
$ cmake ..
-- Build type not specified: defaulting to release.
-- libdabsdr found: /home/andreas/apps/AbracaDABra/lib/linux_x86_64/libdabsdr.so
-- Checking for one of the modules 'rtlsdr'
-- Checking for one of the modules 'usb-1.0'
-- Checking for one of the modules 'faad'
CMake Warning at CMakeLists.txt:223 (message):
libfaad2 not found in system, searching in
/home/andreas/apps/AbracaDABra/../AbracaDABra-libs
FATALlibfaad2 not found. Build from source and install to: /home/andreas/apps/AbracaDABra/../AbracaDABra-libs
-- Checking for one of the modules 'mpg123'
-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBFAAD2_INCLUDE_DIRS
used as include directory in directory /home/andreas/apps/AbracaDABra/gui
used as include directory in directory /home/andreas/apps/AbracaDABra/gui
used as include directory in directory /home/andreas/apps/AbracaDABra/gui
LIBFAAD2_LINK_LIBRARIES
linked by target "AbracaDABra" in directory /home/andreas/apps/AbracaDABra/gui
CMake Error in gui/CMakeLists.txt:
Found relative path while evaluating include directories of "AbracaDABra":
"LIBFAAD2_INCLUDE_DIRS-NOTFOUND"
CMake Error in gui/CMakeLists.txt:
Found relative path while evaluating include directories of "AbracaDABra":
"LIBFAAD2_INCLUDE_DIRS-NOTFOUND"
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
$ sudo apt-get install libfaad2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libfaad2 is already the newest version (2.10.0-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ cmake ..
-- Build type not specified: defaulting to release.
-- libdabsdr found: /home/andreas/apps/AbracaDABra/lib/linux_x86_64/libdabsdr.so
-- Checking for one of the modules 'rtlsdr'
-- Checking for one of the modules 'usb-1.0'
-- Checking for one of the modules 'faad'
-- Checking for one of the modules 'mpg123'
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/andreas/apps/AbracaDABra/build
I already have successfully installed AbracaDABra on one laptop recently, and remember I had the same issue, but I have no idea how I solved it.
On my other laptop I have installed 22.04 and installed all required libraries, but
cmake
returns in an error:It seems that one of the following packages (which are required for https://github.com/Opendigitalradio/dablin ) solved it, obviously
libfaad-dev