You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
current main branch failed to build, citing a missing ‘#include ’.
In file included from code/Common/Compression.cpp:42:
code/Common/Compression.h:73:5: error: ‘size_t’ does not name a type
73 | size_t decompress(unsigned char *data, size_t in, std::vector<unsigned char> &uncompressed);
| ^~~~~~
code/Common/Compression.h:45:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
44 | #include <vector>
+++ |+#include <cstddef>
45 |
code/Common/Compression.cpp:95:8: error: no declaration matches ‘size_t Assimp::Compression::decompress(unsigned char*, size_t, std::vector<unsigned char>&)’
95 | size_t Compression::decompress(unsigned char *data, size_t in, std::vector<unsigned char> &uncompressed) {
| ^~~~~~~~~~~
code/Common/Compression.cpp:95:8: note: no functions named ‘size_t Assimp::Compression::decompress(unsigned char*, size_t, std::vector<unsigned char>&)’
In file included from code/Common/Compression.cpp:42:
code/Common/Compression.h:49:7: note: ‘class Assimp::Compression’ defined here
49 | class Compression {
| ^~~~~~~~~~~
make[2]: *** [code/CMakeFiles/assimp.dir/build.make:104: code/CMakeFiles/assimp.dir/Common/Compression.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:178: code/CMakeFiles/assimp.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Describe the bug
current main branch failed to build, citing a missing ‘#include ’.
To Reproduce
Steps to reproduce the behavior:
Platform (please complete the following information):
Expected behavior
Should compile as normal, building a shared lib.
Solution
fixed with following patches:
and
The text was updated successfully, but these errors were encountered: