F5OEO / rpidatv

Digital Television Transmitter on Raspberry Pi
397 stars 77 forks source link

Pi 400: GUI, hello_video.bin won't compile #71

Open comicsansgreenki opened 3 years ago

comicsansgreenki commented 3 years ago

gcc -O2 -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -fPIC -c libshapes.c gcc -L/opt/vc/lib -lEGL -lGLESv2 -ljpeg -shared -o libshapes.so oglinit.o libshapes.o /usr/bin/ld: cannot find -lEGL /usr/bin/ld: cannot find -lGLESv2 collect2: error: ld returned 1 exit status make: *** [Makefile:36: library] Error 1

cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I./ -I/opt/vc/src/hello_pi/libs/ilclient -I/opt/vc/src/hello_pi/libs/vgfont -g -c video.c -o video.o -Wno-deprecated-declarations cc -o hello_video.bin -Wl,--whole-archive video.o -lilclient -L/opt/vc/lib/ -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lm -L/opt/vc/src/hello_pi/libs/ilclient -L/opt/vc/src/hello_pi/libs/vgfont -Wl,--no-whole-archive -rdynamic /usr/bin/ld: cannot find -lGLESv2 /usr/bin/ld: cannot find -lEGL collect2: error: ld returned 1 exit status make: *** [Makefile.include:19: hello_video.bin] Error 1

F5OEO commented 3 years ago

OpenVG is depreciated since PI4. GUI is not supported anymore.

comicsansgreenki commented 3 years ago

Same exact thing. Is there a way around this? I'm assuming hello_video.bin is needed. Oh yeah, and there's a few directories in install.sh that are absolute, like line 168: cp "/home/pi/rpidatv/scripts/configs/console_tx.bashrc" /home/pi/.bashrc