Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

compilation sources vlc : vlc-0.8.4-svn20050920

1 réponse
Avatar
herve thibaud
bonjour

Erreur compilation du fichier modules gui/wxwidgets/open.cpp
fonctions ProbeDVD, ProbeCDDA et ProbeVCD
sur la même écriture

> open.cpp: In function ‘char* ProbeDVD(const wxChar*)’:
> open.cpp:1336: error: invalid cast from type ‘const wxCharBuffer’ to
> type ‘char*’
> open.cpp: In function ‘char* ProbeCDDA(const wxChar*)’:
> open.cpp:1406: error: invalid cast from type ‘const wxCharBuffer’ to
> type ‘char*’
> open.cpp: In function ‘char* ProbeVCD(const wxChar*)’:
> open.cpp:1419: error: invalid cast from type ‘const wxCharBuffer’ to
> type ‘char*’
> m

erreur sur la ligne :
char *psz_device = (char *) tmp_buf;

> static char * ProbeVCD(const wxChar *device)
> {
> char *ppsz_device[2];
> const wxWX2MBbuf tmp_buf = wxConvCurrent->cWX2MB(device);
> char *psz_device = (char *) tmp_buf;
> ppsz_device[0] = (device && *device) ? psz_device : NULL;
> ppsz_device[1] = NULL;
> return ProbeDevice(ppsz_device,
> (CDIO_FS_ANAL_SVCD|CDIO_FS_ANAL_CVD|CDIO_FS_ANAL_VIDEOCD
> |CDIO_FS_UNKNOWN), true);
> }

je cherche une solution pour corriger l'erreur et enfin pouvoir obtenir
une version 0.8.4 de vlc pour pouvoir (enfin) faire fonctionner "freeplayer"


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

1 réponse

Avatar
herve thibaud
herve thibaud wrote:

bonjour

Erreur compilation du fichier modules gui/wxwidgets/open.cpp
fonctions ProbeDVD, ProbeCDDA et ProbeVCD
sur la même écriture

open.cpp: In function ‘char* ProbeDVD(const wxChar*)’:
open.cpp:1336: error: invalid cast from type ‘const wxCharBuffer’ to
type ‘char*’
open.cpp: In function ‘char* ProbeCDDA(const wxChar*)’:
open.cpp:1406: error: invalid cast from type ‘const wxCharBuffer’ to
type ‘char*’
open.cpp: In function ‘char* ProbeVCD(const wxChar*)’:
open.cpp:1419: error: invalid cast from type ‘const wxCharBuffer’ to
type ‘char*’
m




erreur sur la ligne :
char *psz_device = (char *) tmp_buf;

static char * ProbeVCD(const wxChar *device)
{
char *ppsz_device[2];
const wxWX2MBbuf tmp_buf = wxConvCurrent->cWX2MB(device);
char *psz_device = (char *) tmp_buf;
ppsz_device[0] = (device && *device) ? psz_device : NULL;
ppsz_device[1] = NULL;
return ProbeDevice(ppsz_device,
(CDIO_FS_ANAL_SVCD|CDIO_FS_ANAL_CVD|CDIO_FS_ANAL_VIDEOCD
|CDIO_FS_UNKNOWN), true);
}




je cherche une solution pour corriger l'erreur et enfin pouvoir
obtenir une version 0.8.4 de vlc pour pouvoir (enfin) faire
fonctionner "freeplayer"




En entrant :
char *psz_device = (char *) tmp_buf; dans google j'ai semble-t-il trouvé
la correction

char *psz_device = const_cast<char *>(tmp_buf.data());

(c'est comme à la samaritaine, on y trouve tout)



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact