2017-08-12, 20:09
(2017-08-11, 14:28)pdrobek Wrote: Can anyone tell me how to properly set "neon" flag to enable those SoC instructions while compile? I got message while compilation that my build-env should be build with neon flag when i --enable-optimizaton while kodi configurationEdit eglplatform_fb.h and comment line 95 and line 104
I tried compile libcedarjpeg but errors occurs
Code:cbkodi ~/kodi_stuff/libcedarjpeg-toms81 # make
CC main.c
In file included from jpeg.h:26:0,
from main.c:43:
../libvdpau-sunxi/EGL/eglplatform_fb.h:95:36: error: conflicting types for ‘EGLNativeWindowType’
typedef struct mali_native_window *EGLNativeWindowType;
^
In file included from ../libvdpau-sunxi/EGL/egl.h:36:0,
from cedarJpegLib.h:4,
from main.c:41:
../libvdpau-sunxi/EGL/eglplatform.h:42:26: note: previous declaration of ‘EGLNativeWindowType’ was here
typedef NativeWindowType EGLNativeWindowType;
^
In file included from jpeg.h:26:0,
from main.c:43:
../libvdpau-sunxi/EGL/eglplatform_fb.h:104:30: error: conflicting types for ‘NativeWindowType’
typedef EGLNativeWindowType NativeWindowType;
^
In file included from ../libvdpau-sunxi/EGL/egl.h:36:0,
from cedarJpegLib.h:4,
from main.c:41:
../libvdpau-sunxi/EGL/eglplatform.h:31:23: note: previous declaration of ‘NativeWindowType’ was here
typedef fbdev_window* NativeWindowType;
^
main.c: In function ‘decode_jpeg’:
main.c:150:62: warning: unused parameter ‘width’ [-Wunused-parameter]
static void decode_jpeg(struct cedarJpeg_handle *handle, int width, int height)
^
main.c:150:73: warning: unused parameter ‘height’ [-Wunused-parameter]
static void decode_jpeg(struct cedarJpeg_handle *handle, int width, int height)
^
main.c: At top level:
main.c:512:12: warning: ‘TestGLError’ defined but not used [-Wunused-function]
static int TestGLError(const char* pszLocation){
^
make: *** [Makefile:52: main.o] Błąd 1
which version of libcedarjpeg should i compile?