bmx-ng / image.mod

Image handlers
0 stars 2 forks source link

Errors when building this module Win10 x64 #16

Open davecamp opened 1 year ago

davecamp commented 1 year ago

Hiya,

I've updated to the latest version of the repo as of 19 Jan '23 (clean install). When hitting 'build all modules' I get a list of errors for this module:

In file included from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/padded_bytes.h:21,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/enc_bit_writer.h:18,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out_fwd.h:11,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out.h:22,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out.cc:6:
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::CanEncode(size_t, uint32_t, size_t*)':
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:44:53: error: expected ')' before 'PRIu64'
       return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value,
                                                     ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:57: note: in definition of macro 'JXL_STATUS'
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                                                         ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value,
              ^~~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:23: note: to match this '('
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                       ^
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:226:10: note: in expansion of macro 'JXL_STATUS'
   ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \
          ^~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value,
              ^~~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::Write(size_t, uint32_t, jxl::BitWriter*)':
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:58:62: error: expected ')' before 'PRIu64'
       return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits",
                                                              ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:57: note: in definition of macro 'JXL_STATUS'
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                                                         ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits",
              ^~~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:23: note: to match this '('
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                       ^
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:226:10: note: in expansion of macro 'JXL_STATUS'
   ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \
          ^~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits",
              ^~~~~~~~~~~
[ 31%] Compiling:color_encoding_internal.cc
In file included from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out.cc:6:
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out.h: In member function 'void jxl::AuxOut::LayerTotals::Print(size_t) const':
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out.h:123:19: error: expected ')' before 'PRId64'
       printf("%10" PRId64, static_cast<int64_t>(total_bits));
             ~     ^~~~~~~
                   )
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out.h:125:40: error: expected ')' before 'PRId64'
         printf("   [c/i:%6.2f | hst:%8" PRId64 " | ex:%8" PRId64
               ~                        ^~~~~~~
                                        )
[ 31%] Compiling:color_management.cc
[ 31%] Compiling:compressed_dc.cc
[ 31%] Compiling:convolve.cc
In file included from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/highway.h:310,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/per_target.cc:21,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/foreach_target.h:169,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/per_target.cc:20:
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/ops/x86_512-inl.h: In function 'hwy::N_AVX3::Vec512<double> hwy::N_AVX3::Abs(hwy::N_AVX3::Vec512<double>)':
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/ops/x86_512-inl.h:832:41: error: cannot convert 'const Raw' {aka 'const __vector(8) double'} to '__m512' {aka '__vector(16) float'}
   return Vec512<double>{_mm512_abs_pd(v.raw)};
                                       ~~^~~
In file included from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/MinGW32x64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/immintrin.h:45,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/ops/x86_256-inl.h:24,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/highway.h:308,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/per_target.cc:21,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/foreach_target.h:158,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/highway/hwy/per_target.cc:20:
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/MinGW32x64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/avx512fintrin.h:7730:23: note:   initializing argument 1 of '__m512d _mm512_abs_pd(__m512)'
 _mm512_abs_pd (__m512 __A)
                ~~~~~~~^~~
In file included from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/bits.h:12,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/data_parallel.h:16,
                 from D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/butteraugli_wrapper.cc:14:
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::CanEncode(size_t, uint32_t, size_t*)':
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:44:53: error: expected ')' before 'PRIu64'
       return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value,
                                                     ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:57: note: in definition of macro 'JXL_STATUS'
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                                                         ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value,
              ^~~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:23: note: to match this '('
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                       ^
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:226:10: note: in expansion of macro 'JXL_STATUS'
   ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \
          ^~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:44:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %u too large for %" PRIu64 " bits", value,
              ^~~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h: In static member function 'static jxl::Status jxl::BitsCoder::Write(size_t, uint32_t, jxl::BitWriter*)':
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:58:62: error: expected ')' before 'PRIu64'
       return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits",
                                                              ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:57: note: in definition of macro 'JXL_STATUS'
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                                                         ^~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits",
              ^~~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:213:23: note: to match this '('
   ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
                       ^
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/base/status.h:226:10: note: in expansion of macro 'JXL_STATUS'
   ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \
          ^~~~~~~~~~
D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/fields.h:58:14: note: in expansion of macro 'JXL_FAILURE'
       return JXL_FAILURE("Value %d too large to encode in %" PRIu64 " bits",
              ^~~~~~~~~~~
Build Error: failed to compile (1) D:/DEVELOPMENT/BlitzMax/BlitzMax_BuildFromRepo/BlitzMaxNG.downloads/BlitzMax/mod/image.mod/jxl.mod/libjxl/lib/jxl/aux_out.cc
Process complete