fuji-cam-wifi-tool icon indicating copy to clipboard operation
fuji-cam-wifi-tool copied to clipboard

failed to build on linux

Open jurassicjordan opened this issue 7 months ago • 1 comments

~/Tools/fujitools/build$ cmake --build . [ 7%] Building CXX object lib/CMakeFiles/fuji_cam_wifi.dir/src/capabilities.cpp.o [ 15%] Building CXX object lib/CMakeFiles/fuji_cam_wifi.dir/src/comm.cpp.o [ 23%] Building CXX object lib/CMakeFiles/fuji_cam_wifi.dir/src/commands.cpp.o [ 30%] Building CXX object lib/CMakeFiles/fuji_cam_wifi.dir/src/log.cpp.o In file included from /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp:1: /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:11:7: error: ‘uint8_t’ does not name a type 11 | const uint8_t LOG_ERROR = 1; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:8:1: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 7 | #include "platform.hpp" +++ |+#include 8 | /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:12:7: error: ‘uint8_t’ does not name a type 12 | const uint8_t LOG_WARN = 2; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:12:7: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:13:7: error: ‘uint8_t’ does not name a type 13 | const uint8_t LOG_INFO = 3; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:13:7: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:14:7: error: ‘uint8_t’ does not name a type 14 | const uint8_t LOG_DEBUG = 4; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:14:7: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:15:7: error: ‘uint8_t’ does not name a type 15 | const uint8_t LOG_DEBUG2 = 5; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:15:7: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:17:7: error: ‘uint8_t’ does not name a type 17 | const uint8_t LOG_STDOUT = 1; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:17:7: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:18:7: error: ‘uint8_t’ does not name a type 18 | const uint8_t LOG_FILE = 2; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:18:7: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:21:5: error: ‘uint8_t’ does not name a type 21 | uint8_t level = LOG_DEBUG; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:21:5: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:22:5: error: ‘uint8_t’ does not name a type 22 | uint8_t output = LOG_STDOUT; | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:22:5: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:26:6: error: variable or field ‘log’ declared void 26 | void log(uint8_t level, std::string msg); | ^~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:26:10: error: ‘uint8_t’ was not declared in this scope 26 | void log(uint8_t level, std::string msg); | ^~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:26:10: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/include/log.hpp:26:37: error: expected primary-expression before ‘msg’ 26 | evel, std::string msg); | ^~~

/home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp: In function ‘void fcwt::log(uint8_t, std::string)’: /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp:12:25: error: ‘struct fcwt::log_settings’ has no member named ‘level’ 12 | evel <= log_conf.level) | ^~~~~

/home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp:14:12: error: ‘LOG_ERROR’ was not declared in this scope 14 | case LOG_ERROR: { | ^~~~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp:18:12: error: ‘LOG_WARN’ was not declared in this scope 18 | case LOG_WARN: { | ^~~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp:22:12: error: ‘LOG_INFO’ was not declared in this scope 22 | case LOG_INFO: { | ^~~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp:26:12: error: ‘LOG_DEBUG’ was not declared in this scope 26 | case LOG_DEBUG: { | ^~~~~~~~~ /home/jordancruz/Tools/fujitools/fuji-cam-wifi-tool/lib/src/log.cpp:30:12: error: ‘LOG_DEBUG2’ was not declared in this scope

jurassicjordan avatar Jul 08 '24 04:07 jurassicjordan