popcornmix/omxplayer

when i make -j$(nproc),there have an error

qgbdm opened this issue · 5 comments

qgbdm commented

I am sorry my English is poor and I hope you can understand my problem.The error is:linux/OMXAlsa.cpp:22:10: fatal error: IL/OMX_Core.h:
22 | #include <IL/OMX_Core.h>No such file or directory
| ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:49??linux/OMXAlsa.o] error 1
How should I solve it?Can someone help me?

This repo is deprecated. See the README on front page.
It also has build instructions, including running ./prepare-native-raspbian.sh
Did you follow them?

Hi,

I have faced this error. please help me. I want to install omxplayer on raspberry pi 3b, 32 bit.
I saw the README on front page.
I also run ./prepare-native-raspbian.sh
Thanks.

make: *** [Makefile:49: linux/OMXAlsa.o] error 1

Hi! I\m having the exact same issue and nothing seems to work. i get this after entering the make -j$(nproc) prompt:

bash gen_version.sh > version.h 
g++ -pipe -mfloat-abi=hard -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -g -std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/freetype2 -isystem/opt/vc/include -isystem/opt/vc/include/interface/vcos/pthreads -c linux/OMXAlsa.cpp -o linux/OMXAlsa.o -Wno-deprecated-declarations
g++ -pipe -mfloat-abi=hard -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -g -std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/freetype2 -isystem/opt/vc/include -isystem/opt/vc/include/interface/vcos/pthreads -c OMXOverlayCodecText.cpp -o OMXOverlayCodecText.o -Wno-deprecated-declarations
g++ -pipe -mfloat-abi=hard -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -g -std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/freetype2 -isystem/opt/vc/include -isystem/opt/vc/include/interface/vcos/pthreads -c BitstreamConverter.cpp -o BitstreamConverter.o -Wno-deprecated-declarations
linux/OMXAlsa.cpp:22:10: fatal error: IL/OMX_Core.h: No such file or directory
   22 | #include <IL/OMX_Core.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:49: linux/OMXAlsa.o] Error 1
make: *** Waiting for unfinished jobs....

@popcornmix what am i doing wrong?

omxplayer is not supported on bullseye.
It can be made to run with some effort (installing header files like IL/OMX_Core.h) on 32-bit bullseye, but it impossible on 64-bit.

@popcornmix Yeah alright i'll give it another go on the buster os. Thanks for the quick reply!