iSpy icon indicating copy to clipboard operation
iSpy copied to clipboard

Installation impossible

Open laoil72 opened this issue 2 years ago • 4 comments

Hello, I cant install ADVR on my linux. Last debian on Beelink bt3 pro

Installation freeze... Try many time, a lot of hours...

Screenshot_2023-01-05-20-47-01-481_com sonelli juicessh

laoil72 avatar Jan 05 '23 19:01 laoil72

you just need to wait for it to finish compiling - there's no error there

ispysoftware avatar Jan 14 '23 10:01 ispysoftware

I have a similar problem with compilation but with zimg - error messages.

System is OSMC - Debian Bulseye based distro running on Raspberry Pi 4.

Error message

building zimg - version 3.0.4
=======================
Downloading https://github.com/sekrit-twc/zimg/archive/refs/tags/release-3.0.4.tar.gz as zimg-3.0.4.tar.gz
... Done
Extracted zimg-3.0.4.tar.gz
$ /home/osmc/AgentDVR/ffmpeg-v5/workspace/bin/libtoolize -i -f -q
$ ./autogen.sh --prefix=/home/osmc/AgentDVR/ffmpeg-v5/workspace
$ ./configure --prefix=/home/osmc/AgentDVR/ffmpeg-v5/workspace --disable-static --enable-shared
$ make -j 4
make[1]: Entering directory '/home/osmc/AgentDVR/ffmpeg-v5/packages/zimg/zimg-release-3.0.4'
  CXX      dummy.lo
  CXX      src/zimg/colorspace/arm/libneon_la-operation_impl_neon.lo
  CXX      src/zimg/depth/arm/libneon_la-depth_convert_neon.lo
  CXX      src/zimg/depth/arm/libneon_la-dither_neon.lo
  CXX      src/zimg/depth/arm/libneon_la-f16c_neon.lo
In file included from src/zimg/depth/arm/dither_neon.cpp:9:
./src/zimg/common/arm/neon_util.h:80:33: error: variable or field 'neon_store_idxlo_f16' declared void
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
./src/zimg/common/arm/neon_util.h:80:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:80:62: error: 'dst' was not declared in this scope
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
./src/zimg/common/arm/neon_util.h:80:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:80:82: error: expected primary-expression before 'unsigned'
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
./src/zimg/common/arm/neon_util.h:86:33: error: variable or field 'neon_store_idxhi_f16' declared void
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
./src/zimg/common/arm/neon_util.h:86:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:86:62: error: 'dst' was not declared in this scope
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
./src/zimg/common/arm/neon_util.h:86:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:86:82: error: expected primary-expression before 'unsigned'
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
src/zimg/depth/arm/dither_neon.cpp:46:10: error: '__fp16' does not name a type; did you mean '__bf16'?
   46 |  typedef __fp16 type;
      |          ^~~~~~
      |          __bf16
src/zimg/depth/arm/dither_neon.cpp:48:46: error: '__fp16' does not name a type; did you mean '__bf16'?
   48 |  static inline FORCE_INLINE void load8(const __fp16 *ptr, float32x4_t &lo, float32x4_t &hi, unsigned n = 8)
      |                                              ^~~~~~
      |                                              __bf16
src/zimg/depth/arm/dither_neon.cpp: In static member function 'static void zimg::depth::{anonymous}::LoadF16::load8(const int*, float32x4_t&, float32x4_t&, unsigned int)':
src/zimg/depth/arm/dither_neon.cpp:50:3: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   50 |   float16x8_t x = vld1q_f16(ptr);
      |   ^~~~~~~~~~~
      |   bfloat16x8_t
src/zimg/depth/arm/dither_neon.cpp:51:34: error: 'x' was not declared in this scope
   51 |   lo = vcvt_f32_f16(vget_low_f16(x));
      |                                  ^
src/zimg/depth/arm/dither_neon.cpp:51:21: error: 'vget_low_f16' was not declared in this scope; did you mean 'vget_low_bf16'?
   51 |   lo = vcvt_f32_f16(vget_low_f16(x));
      |                     ^~~~~~~~~~~~
      |                     vget_low_bf16
src/zimg/depth/arm/dither_neon.cpp:51:8: error: 'vcvt_f32_f16' was not declared in this scope; did you mean 'vcvt_f32_bf16'?
   51 |   lo = vcvt_f32_f16(vget_low_f16(x));
      |        ^~~~~~~~~~~~
      |        vcvt_f32_bf16
In file included from src/zimg/depth/arm/dither_neon.cpp:9:
./src/zimg/common/arm/neon_util.h:16:45: error: 'vget_high_f16' was not declared in this scope; did you mean 'vget_high_bf16'?
   16 |   #define vcvt_high_f32_f16(a) vcvt_f32_f16(vget_high_f16(a))
      |                                             ^~~~~~~~~~~~~
src/zimg/depth/arm/dither_neon.cpp:52:8: note: in expansion of macro 'vcvt_high_f32_f16'
   52 |   hi = vcvt_high_f32_f16(x);
      |        ^~~~~~~~~~~~~~~~~
In file included from src/zimg/depth/arm/depth_convert_neon.cpp:9:
./src/zimg/common/arm/neon_util.h:80:33: error: variable or field 'neon_store_idxlo_f16' declared void
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
./src/zimg/common/arm/neon_util.h:80:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:80:62: error: 'dst' was not declared in this scope
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
src/zimg/depth/arm/dither_neon.cpp: In instantiation of 'void zimg::depth::{anonymous}::ordered_dither_neon_impl(const float*, unsigned int, unsigned int, const void*, void*, float, float, unsigned int, unsigned int, unsigned int) [with Load = zimg::depth::{anonymous}::LoadF16; Store = zimg::depth::{anonymous}::StoreU8]':
src/zimg/depth/arm/dither_neon.cpp:196:123:   required from here
src/zimg/depth/arm/dither_neon.cpp:134:32: error: no type named 'type' in 'struct zimg::depth::{anonymous}::LoadF16'
  134 |     const typename Load::type *src_p = static_cast<const typename Load::type *>(src);
      |                                ^~~~~
./src/zimg/common/arm/neon_util.h:80:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:80:82: error: expected primary-expression before 'unsigned'
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
./src/zimg/common/arm/neon_util.h:86:33: error: variable or field 'neon_store_idxhi_f16' declared void
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
src/zimg/depth/arm/dither_neon.cpp:134:32: error: no type named 'type' in 'struct zimg::depth::{anonymous}::LoadF16'
src/zimg/depth/arm/dither_neon.cpp: In instantiation of 'void zimg::depth::{anonymous}::ordered_dither_neon_impl(const float*, unsigned int, unsigned int, const void*, void*, float, float, unsigned int, unsigned int, unsigned int) [with Load = zimg::depth::{anonymous}::LoadF16; Store = zimg::depth::{anonymous}::StoreU16]':
src/zimg/depth/arm/dither_neon.cpp:202:124:   required from here
src/zimg/depth/arm/dither_neon.cpp:134:32: error: no type named 'type' in 'struct zimg::depth::{anonymous}::LoadF16'
src/zimg/depth/arm/dither_neon.cpp:134:32: error: no type named 'type' in 'struct zimg::depth::{anonymous}::LoadF16'
./src/zimg/common/arm/neon_util.h:86:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:86:62: error: 'dst' was not declared in this scope
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
./src/zimg/common/arm/neon_util.h:86:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:86:82: error: expected primary-expression before 'unsigned'
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
src/zimg/depth/arm/depth_convert_neon.cpp: In function 'void zimg::depth::depth_convert_b2h_neon(const void*, void*, float, float, unsigned int, unsigned int)':
src/zimg/depth/arm/depth_convert_neon.cpp:217:2: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
  217 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |  ^~~~~~
      |  __bf16
src/zimg/depth/arm/depth_convert_neon.cpp:217:10: error: 'dst_p' was not declared in this scope; did you mean 'dst'?
  217 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |          ^~~~~
      |          dst
src/zimg/depth/arm/depth_convert_neon.cpp:217:30: error: '__fp16' does not name a type; did you mean '__bf16'?
  217 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                              ^~~~~~
      |                              __bf16
src/zimg/depth/arm/depth_convert_neon.cpp:217:37: error: expected '>' before '*' token
  217 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                     ^
src/zimg/depth/arm/depth_convert_neon.cpp:217:37: error: expected '(' before '*' token
  217 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                     ^
      |                                     (
src/zimg/depth/arm/depth_convert_neon.cpp:217:38: error: expected primary-expression before '>' token
  217 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                      ^
src/zimg/depth/arm/depth_convert_neon.cpp:217:44: error: expected ')' before ';' token
  217 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                            ^
      |                                            )
src/zimg/depth/arm/depth_convert_neon.cpp:231:3: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
  231 |   float16x8_t lo = vcvt_high_f16_f32(vcvt_f16_f32(lolo), lohi);
      |   ^~~~~~~~~~~
      |   bfloat16x8_t
src/zimg/depth/arm/depth_convert_neon.cpp:232:14: error: expected ';' before 'hi'
  232 |   float16x8_t hi = vcvt_high_f16_f32(vcvt_f16_f32(hilo), hihi);
      |              ^~~
      |              ;
src/zimg/depth/arm/depth_convert_neon.cpp:235:48: error: 'lo' was not declared in this scope; did you mean 'hilo'?
  235 |    neon_store_idxhi_f16(dst_p + vec_left - 16, lo, left % 8);
      |                                                ^~
      |                                                hilo
src/zimg/depth/arm/depth_convert_neon.cpp:235:4: error: 'neon_store_idxhi_f16' was not declared in this scope; did you mean 'neon_store_idxhi_u16'?
  235 |    neon_store_idxhi_f16(dst_p + vec_left - 16, lo, left % 8);
      |    ^~~~~~~~~~~~~~~~~~~~
      |    neon_store_idxhi_u16
src/zimg/depth/arm/depth_convert_neon.cpp:236:36: error: 'hi' was not declared in this scope; did you mean 'hihi'?
  236 |    vst1q_f16(dst_p + vec_left - 8, hi);
      |                                    ^~
      |                                    hihi
src/zimg/depth/arm/depth_convert_neon.cpp:236:4: error: 'vst1q_f16' was not declared in this scope; did you mean 'vst1q_bf16'?
  236 |    vst1q_f16(dst_p + vec_left - 8, hi);
      |    ^~~~~~~~~
      |    vst1q_bf16
make[1]: *** [Makefile:2870: src/zimg/depth/arm/libneon_la-dither_neon.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
src/zimg/depth/arm/depth_convert_neon.cpp:238:47: error: 'hi' was not declared in this scope; did you mean 'hihi'?
  238 |    neon_store_idxhi_f16(dst_p + vec_left - 8, hi, left % 8);
      |                                               ^~
      |                                               hihi
src/zimg/depth/arm/depth_convert_neon.cpp:238:4: error: 'neon_store_idxhi_f16' was not declared in this scope; did you mean 'neon_store_idxhi_u16'?
  238 |    neon_store_idxhi_f16(dst_p + vec_left - 8, hi, left % 8);
      |    ^~~~~~~~~~~~~~~~~~~~
      |    neon_store_idxhi_u16
src/zimg/depth/arm/depth_convert_neon.cpp:244:3: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
  244 |   float16x8_t lo = vcvt_high_f16_f32(vcvt_f16_f32(lolo), lohi);
      |   ^~~~~~~~~~~
      |   bfloat16x8_t
src/zimg/depth/arm/depth_convert_neon.cpp:245:14: error: expected ';' before 'hi'
  245 |   float16x8_t hi = vcvt_high_f16_f32(vcvt_f16_f32(hilo), hihi);
      |              ^~~
      |              ;
src/zimg/depth/arm/depth_convert_neon.cpp:246:28: error: 'lo' was not declared in this scope
  246 |   vst1q_f16(dst_p + j + 0, lo);
      |                            ^~
src/zimg/depth/arm/depth_convert_neon.cpp:246:3: error: 'vst1q_f16' was not declared in this scope; did you mean 'vst1q_bf16'?
  246 |   vst1q_f16(dst_p + j + 0, lo);
      |   ^~~~~~~~~
      |   vst1q_bf16
src/zimg/depth/arm/depth_convert_neon.cpp:247:28: error: 'hi' was not declared in this scope
  247 |   vst1q_f16(dst_p + j + 8, hi);
      |                            ^~
src/zimg/depth/arm/depth_convert_neon.cpp:252:3: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
  252 |   float16x8_t lo = vcvt_high_f16_f32(vcvt_f16_f32(lolo), lohi);
      |   ^~~~~~~~~~~
      |   bfloat16x8_t
src/zimg/depth/arm/depth_convert_neon.cpp:253:14: error: expected ';' before 'hi'
  253 |   float16x8_t hi = vcvt_high_f16_f32(vcvt_f16_f32(hilo), hihi);
      |              ^~~
      |              ;
src/zimg/depth/arm/depth_convert_neon.cpp:256:37: error: 'lo' was not declared in this scope; did you mean 'hilo'?
  256 |    vst1q_f16(dst_p + vec_right + 0, lo);
      |                                     ^~
      |                                     hilo
src/zimg/depth/arm/depth_convert_neon.cpp:256:4: error: 'vst1q_f16' was not declared in this scope; did you mean 'vst1q_bf16'?
  256 |    vst1q_f16(dst_p + vec_right + 0, lo);
      |    ^~~~~~~~~
      |    vst1q_bf16
src/zimg/depth/arm/depth_convert_neon.cpp:257:48: error: 'hi' was not declared in this scope; did you mean 'hihi'?
  257 |    neon_store_idxlo_f16(dst_p + vec_right + 8, hi, right % 8);
      |                                                ^~
      |                                                hihi
src/zimg/depth/arm/depth_convert_neon.cpp:257:4: error: 'neon_store_idxlo_f16' was not declared in this scope; did you mean 'neon_store_idxlo_u16'?
  257 |    neon_store_idxlo_f16(dst_p + vec_right + 8, hi, right % 8);
      |    ^~~~~~~~~~~~~~~~~~~~
      |    neon_store_idxlo_u16
src/zimg/depth/arm/depth_convert_neon.cpp:259:44: error: 'lo' was not declared in this scope; did you mean 'hilo'?
  259 |    neon_store_idxlo_f16(dst_p + vec_right, lo, right % 8);
      |                                            ^~
      |                                            hilo
src/zimg/depth/arm/depth_convert_neon.cpp:259:4: error: 'neon_store_idxlo_f16' was not declared in this scope; did you mean 'neon_store_idxlo_u16'?
  259 |    neon_store_idxlo_f16(dst_p + vec_right, lo, right % 8);
      |    ^~~~~~~~~~~~~~~~~~~~
      |    neon_store_idxlo_u16
src/zimg/depth/arm/depth_convert_neon.cpp: In function 'void zimg::depth::depth_convert_w2h_neon(const void*, void*, float, float, unsigned int, unsigned int)':
src/zimg/depth/arm/depth_convert_neon.cpp:338:2: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
  338 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |  ^~~~~~
      |  __bf16
src/zimg/depth/arm/depth_convert_neon.cpp:338:10: error: 'dst_p' was not declared in this scope; did you mean 'dst'?
  338 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |          ^~~~~
      |          dst
src/zimg/depth/arm/depth_convert_neon.cpp:338:30: error: '__fp16' does not name a type; did you mean '__bf16'?
  338 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                              ^~~~~~
      |                              __bf16
src/zimg/depth/arm/depth_convert_neon.cpp:338:37: error: expected '>' before '*' token
  338 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                     ^
src/zimg/depth/arm/depth_convert_neon.cpp:338:37: error: expected '(' before '*' token
  338 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                     ^
      |                                     (
src/zimg/depth/arm/depth_convert_neon.cpp:338:38: error: expected primary-expression before '>' token
  338 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                      ^
src/zimg/depth/arm/depth_convert_neon.cpp:338:44: error: expected ')' before ';' token
  338 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                            ^
      |                                            )
src/zimg/depth/arm/depth_convert_neon.cpp:352:3: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
  352 |   float16x8_t x = vcvt_high_f16_f32(vcvt_f16_f32(lo), hi);
      |   ^~~~~~~~~~~
      |   bfloat16x8_t
src/zimg/depth/arm/depth_convert_neon.cpp:353:46: error: 'x' was not declared in this scope
  353 |   neon_store_idxhi_f16(dst_p + vec_left - 8, x, left % 8);
      |                                              ^
src/zimg/depth/arm/depth_convert_neon.cpp:353:3: error: 'neon_store_idxhi_f16' was not declared in this scope; did you mean 'neon_store_idxhi_u16'?
  353 |   neon_store_idxhi_f16(dst_p + vec_left - 8, x, left % 8);
      |   ^~~~~~~~~~~~~~~~~~~~
      |   neon_store_idxhi_u16
src/zimg/depth/arm/depth_convert_neon.cpp:358:3: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
  358 |   float16x8_t x = vcvt_high_f16_f32(vcvt_f16_f32(lo), hi);
      |   ^~~~~~~~~~~
      |   bfloat16x8_t
src/zimg/depth/arm/depth_convert_neon.cpp:359:24: error: 'x' was not declared in this scope
  359 |   vst1q_f16(dst_p + j, x);
      |                        ^
src/zimg/depth/arm/depth_convert_neon.cpp:359:3: error: 'vst1q_f16' was not declared in this scope; did you mean 'vst1q_bf16'?
  359 |   vst1q_f16(dst_p + j, x);
      |   ^~~~~~~~~
      |   vst1q_bf16
src/zimg/depth/arm/depth_convert_neon.cpp:364:3: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
  364 |   float16x8_t x = vcvt_high_f16_f32(vcvt_f16_f32(lo), hi);
      |   ^~~~~~~~~~~
      |   bfloat16x8_t
src/zimg/depth/arm/depth_convert_neon.cpp:365:43: error: 'x' was not declared in this scope
  365 |   neon_store_idxlo_f16(dst_p + vec_right, x, right % 8);
      |                                           ^
src/zimg/depth/arm/depth_convert_neon.cpp:365:3: error: 'neon_store_idxlo_f16' was not declared in this scope; did you mean 'neon_store_idxlo_u16'?
  365 |   neon_store_idxlo_f16(dst_p + vec_right, x, right % 8);
      |   ^~~~~~~~~~~~~~~~~~~~
      |   neon_store_idxlo_u16
make[1]: *** [Makefile:2863: src/zimg/depth/arm/libneon_la-depth_convert_neon.lo] Error 1
In file included from src/zimg/colorspace/arm/operation_impl_neon.cpp:15:
./src/zimg/common/arm/neon_util.h:80:33: error: variable or field 'neon_store_idxlo_f16' declared void
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
./src/zimg/common/arm/neon_util.h:80:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:80:62: error: 'dst' was not declared in this scope
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
./src/zimg/common/arm/neon_util.h:80:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:80:82: error: expected primary-expression before 'unsigned'
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
./src/zimg/common/arm/neon_util.h:86:33: error: variable or field 'neon_store_idxhi_f16' declared void
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
./src/zimg/common/arm/neon_util.h:86:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:86:62: error: 'dst' was not declared in this scope
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
./src/zimg/common/arm/neon_util.h:86:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:86:82: error: expected primary-expression before 'unsigned'
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
src/zimg/colorspace/arm/operation_impl_neon.cpp: In function 'void zimg::colorspace::{anonymous}::to_gamma_lut_filter_line(const float*, const float*, float*, unsigned int, unsigned int)':
src/zimg/colorspace/arm/operation_impl_neon.cpp:77:48: error: 'vcvt_f16_f32' was not declared in this scope; did you mean 'vcvt_bf16_f32'?
   77 |   int idx = vget_lane_u16(vreinterpret_u16_f16(vcvt_f16_f32(x)), 0);
      |                                                ^~~~~~~~~~~~
      |                                                vcvt_bf16_f32
src/zimg/colorspace/arm/operation_impl_neon.cpp:77:27: error: 'vreinterpret_u16_f16' was not declared in this scope; did you mean 'vreinterpret_u16_bf16'?
   77 |   int idx = vget_lane_u16(vreinterpret_u16_f16(vcvt_f16_f32(x)), 0);
      |                           ^~~~~~~~~~~~~~~~~~~~
      |                           vreinterpret_u16_bf16
src/zimg/colorspace/arm/operation_impl_neon.cpp:85:29: error: 'vcvt_f16_f32' was not declared in this scope; did you mean 'vcvt_bf16_f32'?
   85 |   xi = vreinterpret_u16_f16(vcvt_f16_f32(x));
      |                             ^~~~~~~~~~~~
      |                             vcvt_bf16_f32
src/zimg/colorspace/arm/operation_impl_neon.cpp:85:8: error: 'vreinterpret_u16_f16' was not declared in this scope; did you mean 'vreinterpret_u16_bf16'?
   85 |   xi = vreinterpret_u16_f16(vcvt_f16_f32(x));
      |        ^~~~~~~~~~~~~~~~~~~~
      |        vreinterpret_u16_bf16
src/zimg/colorspace/arm/operation_impl_neon.cpp:94:48: error: 'vcvt_f16_f32' was not declared in this scope; did you mean 'vcvt_bf16_f32'?
   94 |   int idx = vget_lane_u16(vreinterpret_u16_f16(vcvt_f16_f32(x)), 0);
      |                                                ^~~~~~~~~~~~
      |                                                vcvt_bf16_f32
src/zimg/colorspace/arm/operation_impl_neon.cpp:94:27: error: 'vreinterpret_u16_f16' was not declared in this scope; did you mean 'vreinterpret_u16_bf16'?
   94 |   int idx = vget_lane_u16(vreinterpret_u16_f16(vcvt_f16_f32(x)), 0);
      |                           ^~~~~~~~~~~~~~~~~~~~
      |                           vreinterpret_u16_bf16
src/zimg/colorspace/arm/operation_impl_neon.cpp: In constructor 'zimg::colorspace::{anonymous}::ToGammaLutOperationNeon::ToGammaLutOperationNeon(zimg::colorspace::gamma_func, float)':
src/zimg/colorspace/arm/operation_impl_neon.cpp:213:42: error: 'vreinterpret_f16_u16' was not declared in this scope; did you mean 'vreinterpret_bf16_u16'?
  213 |    float x = vgetq_lane_f32(vcvt_f32_f16(vreinterpret_f16_u16(vdup_n_u16(half))), 0);
      |                                          ^~~~~~~~~~~~~~~~~~~~
      |                                          vreinterpret_bf16_u16
src/zimg/colorspace/arm/operation_impl_neon.cpp:213:29: error: 'vcvt_f32_f16' was not declared in this scope; did you mean 'vcvt_f32_bf16'?
  213 |    float x = vgetq_lane_f32(vcvt_f32_f16(vreinterpret_f16_u16(vdup_n_u16(half))), 0);
      |                             ^~~~~~~~~~~~
      |                             vcvt_f32_bf16
make[1]: *** [Makefile:2856: src/zimg/colorspace/arm/libneon_la-operation_impl_neon.lo] Error 1
In file included from src/zimg/depth/arm/f16c_neon.cpp:9:
./src/zimg/common/arm/neon_util.h:80:33: error: variable or field 'neon_store_idxlo_f16' declared void
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
./src/zimg/common/arm/neon_util.h:80:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:80:62: error: 'dst' was not declared in this scope
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
./src/zimg/common/arm/neon_util.h:80:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:80:82: error: expected primary-expression before 'unsigned'
   80 | static inline FORCE_INLINE void neon_store_idxlo_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
./src/zimg/common/arm/neon_util.h:86:33: error: variable or field 'neon_store_idxhi_f16' declared void
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                 ^~~~~~~~~~~~~~~~~~~~
./src/zimg/common/arm/neon_util.h:86:54: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                      ^~~~~~
      |                                                      __bf16
./src/zimg/common/arm/neon_util.h:86:62: error: 'dst' was not declared in this scope
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                              ^~~
./src/zimg/common/arm/neon_util.h:86:67: error: 'float16x8_t' was not declared in this scope; did you mean 'bfloat16x8_t'?
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                   ^~~~~~~~~~~
      |                                                                   bfloat16x8_t
./src/zimg/common/arm/neon_util.h:86:82: error: expected primary-expression before 'unsigned'
   86 | static inline FORCE_INLINE void neon_store_idxhi_f16(__fp16 *dst, float16x8_t x, unsigned idx)
      |                                                                                  ^~~~~~~~
src/zimg/depth/arm/f16c_neon.cpp: In function 'void zimg::depth::f16c_half_to_float_neon(const void*, void*, unsigned int, unsigned int)':
src/zimg/depth/arm/f16c_neon.cpp:17:8: error: '__fp16' does not name a type; did you mean '__bf16'?
   17 |  const __fp16 *src_p = static_cast<const __fp16 *>(src);
      |        ^~~~~~
      |        __bf16
src/zimg/depth/arm/f16c_neon.cpp:24:41: error: 'src_p' was not declared in this scope; did you mean 'src'?
   24 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + vec_left - 4));
      |                                         ^~~~~
      |                                         src
src/zimg/depth/arm/f16c_neon.cpp:24:32: error: 'vld1_f16' was not declared in this scope; did you mean 'vld1_bf16'?
   24 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + vec_left - 4));
      |                                ^~~~~~~~
      |                                vld1_bf16
src/zimg/depth/arm/f16c_neon.cpp:24:19: error: 'vcvt_f32_f16' was not declared in this scope; did you mean 'vcvt_f32_bf16'?
   24 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + vec_left - 4));
      |                   ^~~~~~~~~~~~
      |                   vcvt_f32_bf16
src/zimg/depth/arm/f16c_neon.cpp:29:41: error: 'src_p' was not declared in this scope; did you mean 'src'?
   29 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + j));
      |                                         ^~~~~
      |                                         src
src/zimg/depth/arm/f16c_neon.cpp:29:32: error: 'vld1_f16' was not declared in this scope; did you mean 'vld1_bf16'?
   29 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + j));
      |                                ^~~~~~~~
      |                                vld1_bf16
src/zimg/depth/arm/f16c_neon.cpp:29:19: error: 'vcvt_f32_f16' was not declared in this scope; did you mean 'vcvt_f32_bf16'?
   29 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + j));
      |                   ^~~~~~~~~~~~
      |                   vcvt_f32_bf16
src/zimg/depth/arm/f16c_neon.cpp:34:41: error: 'src_p' was not declared in this scope; did you mean 'src'?
   34 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + vec_right));
      |                                         ^~~~~
      |                                         src
src/zimg/depth/arm/f16c_neon.cpp:34:32: error: 'vld1_f16' was not declared in this scope; did you mean 'vld1_bf16'?
   34 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + vec_right));
      |                                ^~~~~~~~
      |                                vld1_bf16
src/zimg/depth/arm/f16c_neon.cpp:34:19: error: 'vcvt_f32_f16' was not declared in this scope; did you mean 'vcvt_f32_bf16'?
   34 |   float32x4_t x = vcvt_f32_f16(vld1_f16(src_p + vec_right));
      |                   ^~~~~~~~~~~~
      |                   vcvt_f32_bf16
src/zimg/depth/arm/f16c_neon.cpp: In function 'void zimg::depth::f16c_float_to_half_neon(const void*, void*, unsigned int, unsigned int)':
src/zimg/depth/arm/f16c_neon.cpp:42:2: error: '__fp16' was not declared in this scope; did you mean '__bf16'?
   42 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |  ^~~~~~
      |  __bf16
src/zimg/depth/arm/f16c_neon.cpp:42:10: error: 'dst_p' was not declared in this scope; did you mean 'dst'?
   42 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |          ^~~~~
      |          dst
src/zimg/depth/arm/f16c_neon.cpp:42:30: error: '__fp16' does not name a type; did you mean '__bf16'?
   42 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                              ^~~~~~
      |                              __bf16
src/zimg/depth/arm/f16c_neon.cpp:42:37: error: expected '>' before '*' token
   42 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                     ^
src/zimg/depth/arm/f16c_neon.cpp:42:37: error: expected '(' before '*' token
   42 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                     ^
      |                                     (
src/zimg/depth/arm/f16c_neon.cpp:42:38: error: expected primary-expression before '>' token
   42 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                      ^
src/zimg/depth/arm/f16c_neon.cpp:42:44: error: expected ')' before ';' token
   42 |  __fp16 *dst_p = static_cast<__fp16 *>(dst);
      |                                            ^
      |                                            )
src/zimg/depth/arm/f16c_neon.cpp:48:3: error: 'float16x4_t' was not declared in this scope; did you mean 'bfloat16x4_t'?
   48 |   float16x4_t x = vcvt_f16_f32(vld1q_f32(src_p + vec_left - 4));
      |   ^~~~~~~~~~~
      |   bfloat16x4_t
src/zimg/depth/arm/f16c_neon.cpp:49:59: error: 'vreinterpret_f16_u16' was not declared in this scope; did you mean 'vreinterpret_bf16_u16'?
   49 |   neon_store_idxhi_f16(dst_p + vec_left - 8, vcombine_f16(vreinterpret_f16_u16(vdup_n_u16(0)), x), left % 4 + 4);
      |                                                           ^~~~~~~~~~~~~~~~~~~~
      |                                                           vreinterpret_bf16_u16
src/zimg/depth/arm/f16c_neon.cpp:49:96: error: 'x' was not declared in this scope
   49 |   neon_store_idxhi_f16(dst_p + vec_left - 8, vcombine_f16(vreinterpret_f16_u16(vdup_n_u16(0)), x), left % 4 + 4);
      |                                                                                                ^
src/zimg/depth/arm/f16c_neon.cpp:49:46: error: 'vcombine_f16' was not declared in this scope; did you mean 'vcombine_bf16'?
   49 |   neon_store_idxhi_f16(dst_p + vec_left - 8, vcombine_f16(vreinterpret_f16_u16(vdup_n_u16(0)), x), left % 4 + 4);
      |                                              ^~~~~~~~~~~~
      |                                              vcombine_bf16
src/zimg/depth/arm/f16c_neon.cpp:49:3: error: 'neon_store_idxhi_f16' was not declared in this scope; did you mean 'neon_store_idxhi_u16'?
   49 |   neon_store_idxhi_f16(dst_p + vec_left - 8, vcombine_f16(vreinterpret_f16_u16(vdup_n_u16(0)), x), left % 4 + 4);
      |   ^~~~~~~~~~~~~~~~~~~~
      |   neon_store_idxhi_u16
src/zimg/depth/arm/f16c_neon.cpp:53:3: error: 'float16x4_t' was not declared in this scope; did you mean 'bfloat16x4_t'?
   53 |   float16x4_t x = vcvt_f16_f32(vld1q_f32(src_p + j));
      |   ^~~~~~~~~~~
      |   bfloat16x4_t
src/zimg/depth/arm/f16c_neon.cpp:54:23: error: 'x' was not declared in this scope
   54 |   vst1_f16(dst_p + j, x);
      |                       ^
src/zimg/depth/arm/f16c_neon.cpp:54:3: error: 'vst1_f16' was not declared in this scope; did you mean 'vst1_bf16'?
   54 |   vst1_f16(dst_p + j, x);
      |   ^~~~~~~~
      |   vst1_bf16
src/zimg/depth/arm/f16c_neon.cpp:58:3: error: 'float16x4_t' was not declared in this scope; did you mean 'bfloat16x4_t'?
   58 |   float16x4_t x = vcvt_f16_f32(vld1q_f32(src_p + vec_right));
      |   ^~~~~~~~~~~
      |   bfloat16x4_t
src/zimg/depth/arm/f16c_neon.cpp:59:56: error: 'x' was not declared in this scope
   59 |   neon_store_idxlo_f16(dst_p + vec_right, vcombine_f16(x, vreinterpret_f16_u16(vdup_n_u16(0))), right % 4);
      |                                                        ^
src/zimg/depth/arm/f16c_neon.cpp:59:59: error: 'vreinterpret_f16_u16' was not declared in this scope; did you mean 'vreinterpret_bf16_u16'?
   59 |   neon_store_idxlo_f16(dst_p + vec_right, vcombine_f16(x, vreinterpret_f16_u16(vdup_n_u16(0))), right % 4);
      |                                                           ^~~~~~~~~~~~~~~~~~~~
      |                                                           vreinterpret_bf16_u16
src/zimg/depth/arm/f16c_neon.cpp:59:43: error: 'vcombine_f16' was not declared in this scope; did you mean 'vcombine_bf16'?
   59 |   neon_store_idxlo_f16(dst_p + vec_right, vcombine_f16(x, vreinterpret_f16_u16(vdup_n_u16(0))), right % 4);
      |                                           ^~~~~~~~~~~~
      |                                           vcombine_bf16
src/zimg/depth/arm/f16c_neon.cpp:59:3: error: 'neon_store_idxlo_f16' was not declared in this scope; did you mean 'neon_store_idxlo_u16'?
   59 |   neon_store_idxlo_f16(dst_p + vec_right, vcombine_f16(x, vreinterpret_f16_u16(vdup_n_u16(0))), right % 4);
      |   ^~~~~~~~~~~~~~~~~~~~
      |   neon_store_idxlo_u16
src/zimg/depth/arm/f16c_neon.cpp:41:15: warning: unused variable 'src_p' [-Wunused-variable]
   41 |  const float *src_p = static_cast<const float *>(src);
      |               ^~~~~
make[1]: *** [Makefile:2877: src/zimg/depth/arm/libneon_la-f16c_neon.lo] Error 1
make[1]: Leaving directory '/home/osmc/AgentDVR/ffmpeg-v5/packages/zimg/zimg-release-3.0.4'
make: *** [Makefile:4136: all-recursive] Error 1

Failed to Execute make -j 4

I tried skipping the compilation of ffmpeg, the installation went fine without errors, but the service didn't run. I could not connect to the application. Any ideas what I'm doing wrong?

Nikishek avatar Apr 16 '23 20:04 Nikishek

you just need to wait for it to finish compiling - there's no error there

Not really... It never worked, I tried for weeks... I ended up buying an NVR and I don't regret it, less complete, but it works.

laoil72 avatar Apr 16 '23 21:04 laoil72

I have a similar problem with compilation but with zimg - error messages.

System is OSMC - Debian Bulseye based distro running on Raspberry Pi 4.

Error message I tried skipping the compilation of ffmpeg, the installation went fine without errors, but the service didn't run. I could not connect to the application. Any ideas what I'm doing wrong?

Good luck 🤞

laoil72 avatar Apr 16 '23 21:04 laoil72