Xerbo / aptdec

NOAA APT satellite imagery decoder
GNU General Public License v2.0
84 stars 12 forks source link

CMAKE fails to build (raspberry pi 4, 5.10.11-v7+ #1399 SMP) #16

Closed WA6YDQ closed 2 years ago

WA6YDQ commented 3 years ago

Following the quickstart guide, I get the following errors:

pi@gadget5:~/aptdec/build $ cmake -DCMAKE_BUILD_TYPE=Release .. -- Found LibSndFile: /usr/lib/arm-linux-gnueabihf/libsndfile.so CMake Error at CMakeLists.txt:93 (install): install TARGETS given no RUNTIME DESTINATION for executable target "aptdec".

CMake Error at CMakeLists.txt:97 (install): install TARGETS given no LIBRARY DESTINATION for shared library target "apt".

-- Configuring incomplete, errors occurred! See also "/home/pi/aptdec/build/CMakeFiles/CMakeOutput.log".

========================================= The top portion of the CMakeOutput.log is:

pi@gadget5:~/aptdec/build $ more CMakeFiles/CMakeOutput.log The system is: Linux - 5.10.11-v7+ - armv7l Compiling the C compiler identification source file "CMakeCCompilerId.c" succeed ed. Compiler: /usr/bin/cc Build flags: Id flags:

The output was: 0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produce d "a.out"

The C compiler identification is GNU, found in "/home/pi/aptdec/build/CMakeFiles /3.13.4/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" s ucceeded. Compiler: /usr/bin/c++ Build flags: Id flags:

The output was: 0

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" p roduced "a.out"

The CXX compiler identification is GNU, found in "/home/pi/aptdec/build/CMakeFil es/3.13.4/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output: Change Dir: /home/pi/aptdec/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1b926/fast" /usr/bin/make -f CMakeFiles/cmTC_1b926.dir/build.make CMakeFiles/cmTC_1b926.dir/ build make[1]: Entering directory '/home/pi/aptdec/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1b926.dir/testCCompiler.c.o /usr/bin/cc -o CMakeFiles/cmTC_1b926.dir/testCCompiler.c.o -c /home/pi/aptd ec/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_1b926 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1b926.dir/link.txt --verbose =1 /usr/bin/cc -rdynamic CMakeFiles/cmTC1b926.dir/testCCompiler.c.o -o cmTC 1b926 make[1]: Leaving directory '/home/pi/aptdec/build/CMakeFiles/CMakeTmp'

==================================================== (remainder of 46k file not shown)