sam210723 / goestools

📡 LRIT demodulator from weather satellite GEO-KOMPSAT-2A (GK-2A).
https://vksdr.com/xrit-rx
BSD 2-Clause "Simplified" License
33 stars 5 forks source link

Failing to compile packet_reader.cc on Arch Linux #4

Closed DJRaov closed 3 years ago

DJRaov commented 3 years ago

Tried with both g++ and clang compilers, nothing changes. Cloned with --recursive switch.

~/goestools/build >>> make CXX=clang

[goes without errors]

[ 56%] Building CXX object src/lib/CMakeFiles/packet_reader.dir/packet_reader.cc.o In file included from /home/raov/goestools/src/lib/packet_reader.cc:1: /home/raov/goestools/src/lib/packet_reader.h:11:38: error: ‘uint8_t’ was not declared in this scope 11 | virtual bool nextPacket(std::array<uint8_t, 892>& out) = 0; | ^~~ /home/raov/goestools/src/lib/packet_reader.h:11:50: error: template argument 1 is invalid 11 | virtual bool nextPacket(std::array<uint8_t, 892>& out) = 0; | ^ make[2]: [src/lib/CMakeFiles/packet_reader.dir/build.make:82: src/lib/CMakeFiles/packet_reader.dir/packet_reader.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:1657: src/lib/CMakeFiles/packet_reader.dir/all] Error 2 make: *** [Makefile:171: all] Error 2

DJRaov commented 3 years ago

Issue fixed, sent a PR.