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
Still doing some packaging and I end up with this error
It seems that the header is missing
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc: In function ‘unsigned int dxtbx::boost_python::cbf_decompress(const char*, std::size_t, int*, std::size_t)’:
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:122:50: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
122 | while ((j < packed_sz) && ((values - original) < values_sz)) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc: At global scope:
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:168:8: error: ‘uint32_t’ does not name a type
168 | inline uint32_t read_uint32_from_bytearray(const char *buf) {
| ^~~~~~~~
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:4:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
3 | #include <assert.h>
+++ |+#include <cstdint>
4 |
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:186:8: error: ‘uint16_t’ does not name a type
186 | inline uint16_t read_uint16_from_bytearray(const char *buf) {
| ^~~~~~~~
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:186:8: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc: In function ‘void dxtbx::boost_python::rod_TY6_decompress(int*, const char*, const char*, int, int)’:
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:202:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
202 | for (size_t iy = 0; iy < slow; iy++) {
| ~~~^~~~~~
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:203:72: error: ‘uint32_t’ was not declared in this scope
203 | size_t ipos = read_uint32_from_bytearray(buf_offsets + iy * sizeof(uint32_t));
| ^~~~~~~~
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:203:72: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:203:19: error: ‘read_uint32_from_bytearray’ was not declared in this scope
203 | size_t ipos = read_uint32_from_bytearray(buf_offsets + iy * sizeof(uint32_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/dxtbx/src/dxtbx/boost_python/compression.cc:217:31: error: ‘read_uint16_from_bytearray’ was not declared in this scope
217 | firstpx = (signed short)read_uint16_from_bytearray(buf_data + ipos);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Still doing some packaging and I end up with this error
It seems that the header is missing
The text was updated successfully, but these errors were encountered: