You are not logged in.

#1 2018-09-06 16:15:29

mehdusa
Member
Registered: 2018-09-06
Posts: 9

error when compiling vlc

Hey everyone this is my first time here:
i tried to compile vlc but the compiler get error :

codec/x264.c: Dans la fonction « Open »:
codec/x264.c:849:26: error: « x264_bit_depth » non déclaré (première utilisation dans cette fonction); vouliez-vous utiliser « x264_picture_t » ?
         const int mask = x264_bit_depth > 8 ? X264_CSP_HIGH_DEPTH : 0;
                          ^~~~~~~~~~~~~~
                          x264_picture_t
codec/x264.c:849:26: note: chaque identificateur non déclaré est rapporté une seule fois pour chaque fonction dans laquelle il apparaît
make[4]: *** [Makefile:22476: codec/libx264_plugin_la-x264.lo] Error 1
make[4] : on quitte le répertoire « /home/mehdi/Téléchargements/vlc-3.0.4/modules »
make[3]: *** [Makefile:26132: all-recursive] Error 1
make[3] : on quitte le répertoire « /home/mehdi/Téléchargements/vlc-3.0.4/modules »
make[2]: *** [Makefile:11236: all] Error 2
make[2] : on quitte le répertoire « /home/mehdi/Téléchargements/vlc-3.0.4/modules »
make[1]: *** [Makefile:1531: all-recursive] Error 1
make[1] : on quitte le répertoire « /home/mehdi/Téléchargements/vlc-3.0.4 »
make: *** [Makefile:1416: all] Error 2

please help me to fix it


TAHNKS

Last edited by mehdusa (2018-09-06 16:56:02)

Offline

#2 2018-09-06 16:39:23

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: error when compiling vlc

Please use code tags, and post output in English.

https://wiki.archlinux.org/index.php/Co … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-09-20 06:49:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,840

Re: error when compiling vlc

Your x264 is too new, https://git.archlinux.org/svntogit/pack … ckages/vlc
What and why and how are you trying to compile there and why is it not the vlc PKGBUILD?

Offline

#4 2018-09-20 11:41:06

mehdusa
Member
Registered: 2018-09-06
Posts: 9

Re: error when compiling vlc

thanks

Offline

#5 2018-09-20 12:05:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,840

Re: error when compiling vlc

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

However:

seth wrote:

What and why and how are you trying to compile there and why is it not the vlc PKGBUILD?

There should be no requirement to compile vlc 3.0.4 since that's the repo version anyway, but if you still feel you need to compile some patch in or whatever, you should derive the repo PKGBUILD and build a package and install that.
Steamrolling your own build over the repo installation is to set out for trouble down the road.

Offline

Board footer

Powered by FluxBB