Skip to content

Linux issues  #1

Description

@boreals-back-again
[ 93%] Built target glad
[ 93%] Building CXX object CMakeFiles/PCKPP.dir/src/Application/Application.cpp.o
In file included from /home/boreal/Projects/PCKPP/include/pckpp/Program/ProgramInstance.h:3,
                 from /home/boreal/Projects/PCKPP/include/pckpp/Application/Application.h:7,
                 from /home/boreal/Projects/PCKPP/src/Application/Application.cpp:1:
/home/boreal/Projects/PCKPP/include/pckpp/Binary/Binary.h:27:9: error: ‘uint16_t’ does not name a type
   27 |         uint16_t SwapInt16(const uint16_t value);
      |         ^~~~~~~~
/home/boreal/Projects/PCKPP/include/pckpp/Binary/Binary.h:4:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
    3 | #include <fstream>
  +++ |+#include <cstdint>
    4 | 
/home/boreal/Projects/PCKPP/include/pckpp/Binary/Binary.h:30:9: error: ‘uint32_t’ does not name a type
   30 |         uint32_t SwapInt32(const uint32_t value);
      |         ^~~~~~~~
/home/boreal/Projects/PCKPP/include/pckpp/Binary/Binary.h:30:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
In file included from /home/boreal/Projects/PCKPP/include/pckpp/PCK/PCKFile.h:5,
                 from /home/boreal/Projects/PCKPP/include/pckpp/Program/ProgramInstance.h:4:
/home/boreal/Projects/PCKPP/include/pckpp/PCK/PCKAssetFile.h: In static member function ‘static PCKAssetFile::Type PCKAssetFile::getPreferredAssetType(const std::string&)’:
/home/boreal/Projects/PCKPP/include/pckpp/PCK/PCKAssetFile.h:164:38: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘_Starts_with’
  164 |                         if (filename._Starts_with("dlcskin"))
      |                                      ^~~~~~~~~~~~
/home/boreal/Projects/PCKPP/include/pckpp/PCK/PCKAssetFile.h:166:43: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘_Starts_with’
  166 |                         else if (filename._Starts_with("dlccape"))
      |                                           ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/PCKPP.dir/build.make:79: CMakeFiles/PCKPP.dir/src/Application/Application.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/PCKPP.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions