Skip to content

compile error in ubuntu24.2.0 #169

@Jimmycaojp

Description

@Jimmycaojp

/root/prj/licmng/licensecc/src/library/base/base64.h:13:20: error: template argument 1 is invalid
13 | std::vector<uint8_t> unbase64(const std::string& base64_data);
| ^
/root/prj/licmng/licensecc/src/library/base/base64.h:13:20: error: template argument 2 is invalid
/root/prj/licmng/licensecc/src/library/base/base64.cpp:106:13: error: ‘uint8_t’ was not declared in this scope
106 | std::vector<uint8_t> unbase64(const std::string& base64_data) {
| ^~~~~~~
/root/prj/licmng/licensecc/src/library/base/base64.cpp:6:1: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’?
5 | #include "base64.h"
+++ |+#include
6 | namespace license {

so,
licensecc/extern/license-generator/src/base_lib/base64.h
licensecc/src/library/base/base64.h
licensecc/src/library/os/linux/../cpu_info.hpp
the three header files above need to add : #include

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions