#1 Le 07/05/2012, à 00:02
- Neko62
Probleme de compilation pour electricsheep !
Bonsoir à tous,
j'ai essayé d'installer l’économiseur d'écran "electricsheep"
en compilant les sources :
svn checkout http://electricsheep.googlecode.com/svn/trunk/ electricsheep-read-only
à l'étape du "make"
j'ai le message d’erreur suivant :
electricsheepguiMyDialog2.cpp: In function ‘uint64 GetFlockSizeBytes(wxString, int)’:
electricsheepguiMyDialog2.cpp:190:37: erreur: ‘class wxString’ has no member named ‘ToStdString’
make[1]: *** [electricsheepguiMyDialog2.o] Erreur 1
make[1]: quittant le répertoire « /home/nicolas/Téléchargements/electricsheep/electricsheep-read-only/client_generic/MSVC/SettingsGUI »
make: *** [all-recursive] Erreur 1
vous auriez une idée ?
Merci
Hors ligne
#2 Le 08/05/2012, à 13:42
- Neko62
Re : Probleme de compilation pour electricsheep !
pas d'idée ?
Hors ligne
#3 Le 23/02/2017, à 11:06
- bosred
Re : Probleme de compilation pour electricsheep !
idem pour moi aussi
et cela survient quand j'envoie make dans le terminal
bosred@bosred-E1-510:~/Téléchargements/electricsheep-master/client_generic$ make
Making all in Client
make[1] : on entre dans le répertoire « /home/bosred/Téléchargements/electricsheep-master/client_generic/Client »
g++ -DPACKAGE_NAME=\"electricsheep\" -DPACKAGE_TARNAME=\"electricsheep\" -DPACKAGE_VERSION=\"2.7b33-svn\" -DPACKAGE_STRING=\"electricsheep\ 2.7b33-svn\" -DPACKAGE_BUGREPORT=\"http://code.google.com/p/electricsheep/issues/list\" -DPACKAGE_URL=\"\" -DPACKAGE=\"electricsheep\" -DVERSION=\"2.7b33-svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DUSE_NEW_FFMPEG_API=1 -DHAVE_LIBBOOST_THREAD=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DHAVE_LIBBOOST_SYSTEM=1 -DHAVE_LIBTINYXML=1 -DHAVE_LIBGLUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBRT=1 -I. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I .. -iquote ../DisplayOutput/OpenGL -I ../Common -I ../DisplayOutput -I ../DisplayOutput/Renderer -I ../Common/Math -I ../ContentDecoder -I ../TupleStorage -I ../ContentDownloader -I ../lua5.1/src -I ../Client -I ../Networking -I ../tinyXml -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.1 -I/usr/include/libpng16 -I/usr/include/lua5.1 -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT Player.o -MD -MP -MF .deps/Player.Tpo -c -o Player.o Player.cpp
In file included from ../ContentDecoder/ContentDecoder.h:46:0,
from Player.h:11,
from Player.cpp:37:
../ContentDecoder/Frame.h:78:48: error: ‘PixelFormat’ has not been declared
CVideoFrame( AVCodecContext *_pCodecContext, PixelFormat _format, std::string _filename ) : m_pFrame(NULL)
^~~~~~~~~~~
../ContentDecoder/Frame.h: In constructor ‘ContentDecoder::CVideoFrame::CVideoFrame(AVCodecContext*, int, std::__cxx11::string)’:
../ContentDecoder/Frame.h:106:23: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
int32 numBytes = avpicture_get_size( _format, _pCodecContext->width, _pCodecContext->height );
^~~~~~~~~~~~~~~~~~
In file included from ../ContentDecoder/ContentDecoder.h:29:0,
from Player.h:11,
from Player.cpp:37:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4898:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
In file included from ../ContentDecoder/ContentDecoder.h:46:0,
from Player.h:11,
from Player.cpp:37:
../ContentDecoder/Frame.h:106:98: error: invalid conversion from ‘int’ to ‘AVPixelFormat’ [-fpermissive]
int32 numBytes = avpicture_get_size( _format, _pCodecContext->width, _pCodecContext->height );
^
In file included from ../ContentDecoder/ContentDecoder.h:29:0,
from Player.h:11,
from Player.cpp:37:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4898:5: note: initializing argument 1 of ‘int avpicture_get_size(AVPixelFormat, int, int)’
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
In file included from ../ContentDecoder/ContentDecoder.h:46:0,
from Player.h:11,
from Player.cpp:37:
../ContentDecoder/Frame.h:106:98: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
int32 numBytes = avpicture_get_size( _format, _pCodecContext->width, _pCodecContext->height );
^
In file included from ../ContentDecoder/ContentDecoder.h:29:0,
from Player.h:11,
from Player.cpp:37:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4898:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
In file included from ../ContentDecoder/ContentDecoder.h:46:0,
from Player.h:11,
from Player.cpp:37:
../ContentDecoder/Frame.h:108:6: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
avpicture_fill( (AVPicture *)m_pFrame, m_spBuffer->GetBufferPtr(), _format, _pCodecContext->width, _pCodecContext->height );
^~~~~~~~~~~~~~
In file included from ../ContentDecoder/ContentDecoder.h:29:0,
from Player.h:11,
from Player.cpp:37:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4883:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
In file included from ../ContentDecoder/ContentDecoder.h:46:0,
from Player.h:11,
from Player.cpp:37:
../ContentDecoder/Frame.h:108:128: error: invalid conversion from ‘int’ to ‘AVPixelFormat’ [-fpermissive]
avpicture_fill( (AVPicture *)m_pFrame, m_spBuffer->GetBufferPtr(), _format, _pCodecContext->width, _pCodecContext->height );
^
In file included from ../ContentDecoder/ContentDecoder.h:29:0,
from Player.h:11,
from Player.cpp:37:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4883:5: note: initializing argument 3 of ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
In file included from ../ContentDecoder/ContentDecoder.h:46:0,
from Player.h:11,
from Player.cpp:37:
../ContentDecoder/Frame.h:108:128: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
avpicture_fill( (AVPicture *)m_pFrame, m_spBuffer->GetBufferPtr(), _format, _pCodecContext->width, _pCodecContext->height );
^
In file included from ../ContentDecoder/ContentDecoder.h:29:0,
from Player.h:11,
from Player.cpp:37:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4883:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
In file included from Player.h:11:0,
from Player.cpp:37:
../ContentDecoder/ContentDecoder.h: At global scope:
../ContentDecoder/ContentDecoder.h:199:2: error: ‘PixelFormat’ does not name a type
PixelFormat m_WantedPixelFormat;
^~~~~~~~~~~
../ContentDecoder/ContentDecoder.h:233:120: error: ‘PixelFormat’ has not been declared
CContentDecoder( spCPlaylist _spPlaylist, bool _bStartByRandom, bool _bAllowTransitions, const uint32 _queueLenght, PixelFormat _wantedPixelFormat = PIX_FMT_RGB24 );
^~~~~~~~~~~
In file included from Player.h:11:0,
from Player.cpp:37:
../ContentDecoder/ContentDecoder.h:233:153: error: ‘PIX_FMT_RGB24’ was not declared in this scope
CContentDecoder( spCPlaylist _spPlaylist, bool _bStartByRandom, bool _bAllowTransitions, const uint32 _queueLenght, PixelFormat _wantedPixelFormat = PIX_FMT_RGB24 );
^~~~~~~~~~~~~
Player.cpp: In member function ‘ContentDecoder::CContentDecoder* CPlayer::CreateContentDecoder(bool)’:
Player.cpp:377:2: error: ‘PixelFormat’ was not declared in this scope
PixelFormat pf = PIX_FMT_BGR32;
^~~~~~~~~~~
Player.cpp:384:214: error: ‘pf’ was not declared in this scope
coder( m_spPlaylist, _bStartByRandom, g_Settings()->Get( "settings.player.CalculateTransitions", true ), (uint32)abs(g_Settings()->Get( "settings.player.BufferLength", 25 )), pf );
^~
Makefile:629 : la recette pour la cible « Player.o » a échouée
make[1]: *** [Player.o] Erreur 1
make[1] : on quitte le répertoire « /home/bosred/Téléchargements/electricsheep-master/client_generic/Client »
Makefile:510 : la recette pour la cible « all-recursive » a échouée
make: *** [all-recursive] Erreur 1
Hors ligne