Coder Social home page Coder Social logo

Comments (14)

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

there is a depends for libepoxy if you need it but it errors ffmpeg during linking so im not using it

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

actually i cant (lol)

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

shared linking is cooler

from onscripter-ru.

vit9696 avatar vit9696 commented on August 29, 2024

Hello, I noticed that you are trying to update the codebase, I guess I can provide some knowledge on the project as needed. x11 should not be needed for ffmpeg as long as you do not build x11grab. Trying to statically build x11 will unlikely be possible anyway, so better to avoid this.

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

well its something to do with libepoxy not being able to link x11 statically, supposedly its due to the change to meson but I think i'll attempt to make x11 link dynamically instead

from onscripter-ru.

vit9696 avatar vit9696 commented on August 29, 2024

I think libepoxy should not link to x11 at all. Instead it should use dlopen/dlsym. Perhaps recent versions are broken.

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

most likely

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

well it builds using shared libraries but lowercase y and c seem to render as squares, i will most likely create a testing line with all the things to check which others also do this

static lib is still affected by the undefined reference to 'XCloseDisplay' error

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

Screenshot_20220402_225630

from onscripter-ru.

vit9696 avatar vit9696 commented on August 29, 2024

Could you provide the complete text for XCloseDisplay error?

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

[LINK] /home/user/UmiProject/src/DerivedData/Posix-x86_64/onscripter-ru
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_unmap_frame': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:736: undefined reference to vaUnmapBuffer'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:738: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:744: undefined reference to vaPutImage'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:748: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:753: undefined reference to vaDestroyImage'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:755: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_pool_alloc':
/home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:484: undefined reference to vaCreateSurfaces' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:489: undefined reference to vaErrorStr'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:499: undefined reference to vaDestroySurfaces' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_buffer_free':
/home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:463: undefined reference to vaDestroySurfaces' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:465: undefined reference to vaErrorStr'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_device_free': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1510: undefined reference to vaTerminate'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1514: undefined reference to XCloseDisplay' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_device_connect':
/home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1547: undefined reference to vaSetErrorCallback' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1548: undefined reference to vaSetInfoCallback'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1553: undefined reference to vaInitialize' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1555: undefined reference to vaErrorStr'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_device_derive': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1795: undefined reference to vaGetDisplayDRM'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_device_create': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1659: undefined reference to vaGetDisplayDRM'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1672: undefined reference to XOpenDisplay' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1674: undefined reference to XDisplayName'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1677: undefined reference to vaGetDisplay' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1679: undefined reference to XDisplayName'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1684: undefined reference to XDisplayName' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1704: undefined reference to vaSetDriverName'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1706: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:1708: undefined reference to vaTerminate'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_frames_init': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:634: undefined reference to vaDeriveImage'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:645: undefined reference to vaDestroyImage' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:647: undefined reference to vaErrorStr'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_map_frame': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:801: undefined reference to vaSyncSurface'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:803: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:818: undefined reference to vaDeriveImage'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:820: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:835: undefined reference to vaCreateImage'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:838: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:845: undefined reference to vaGetImage'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:848: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:857: undefined reference to vaMapBuffer'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:859: undefined reference to vaErrorStr' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:889: undefined reference to vaUnmapBuffer'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:891: undefined reference to vaDestroyImage' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_device_init':
/home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:368: undefined reference to vaMaxNumImageFormats' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:378: undefined reference to vaQueryImageFormats'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:405: undefined reference to vaQueryVendorString' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vaapi.o): in function vaapi_frames_get_constraints':
/home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:211: undefined reference to vaQuerySurfaceAttributes' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:214: undefined reference to vaErrorStr'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:226: undefined reference to vaQuerySurfaceAttributes' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vaapi.c:229: undefined reference to vaErrorStr'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vdpau.o): in function vdpau_device_create': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vdpau.c:480: undefined reference to XOpenDisplay'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vdpau.c:482: undefined reference to XDisplayName' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vdpau.c:486: undefined reference to XDisplayString'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vdpau.c:488: undefined reference to XDefaultScreen' /usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vdpau.c:488: undefined reference to vdp_device_create_x11'
/usr/bin/ld: /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/onscrlib/lib/libavutil.a(hwcontext_vdpau.o): in function vdpau_device_free': /home/user/UmiProject/src/DerivedData/Posix-x86_64/Dependencies/src/ffmpeg-5.0/libavutil/hwcontext_vdpau.c:459: undefined reference to XCloseDisplay'

from onscripter-ru.

vit9696 avatar vit9696 commented on August 29, 2024

Add --disable-vaapi and --disable-vdpau to ffmpeg configure options (configopts_linux), and it will link fine. For whatever reason --disable-hwaccels is not working anymore.

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

works now, thanks

from onscripter-ru.

m3t4f1v3 avatar m3t4f1v3 commented on August 29, 2024

I will try to fix the text issues and then I will fix the building for other platforms

from onscripter-ru.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.