Coder Social home page Coder Social logo

scottdraves / electricsheep Goto Github PK

View Code? Open in Web Editor NEW
544.0 544.0 69.0 73.05 MB

infinite evolving crowdsourced artwork

Home Page: http://electricsheep.org

C++ 9.28% C 87.64% Objective-C 1.48% NSIS 0.10% Shell 0.43% HTML 0.01% Lua 0.45% Makefile 0.19% Batchfile 0.02% M4 0.20% Roff 0.16% Rich Text Format 0.03% NASL 0.02% CSS 0.01%

electricsheep's People

Contributors

amigosan avatar dankamongmen avatar dasvo avatar guysoft avatar kallisti5 avatar manasip3 avatar raboof avatar rogach avatar schievel1 avatar scottdraves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

electricsheep's Issues

Imac- settings keep changing and sheep deleted

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Jul 2013 at 2:50

HD sheep - issues w/ transitions

I'm seeing two issues during playback when using all high-res sheep on OS X on a retina Macbook Pro circa 2013 at 1920x1200:

  • Fades between non-seamless sheep don't work, whether or not they are selected in preferences.
  • Depending on settings (fps, display fps) sometimes 1-2 black frames are shown between sheep.

I've built a proxy with all HD sheep that seems to exacerbate the problem. It is accessible by simply putting sheep.oak.encoding.com:1200 into the Proxy Host value in ES preferences (no login or password needed.)

Anecdotally, the higher the display fps and playback fps values, the worse the black frame problem becomes. Fades were working at one point, but now inexplicably no longer do.

I should mention that if you use the proxy, it'd be a good idea to delete any existing AVIs or other info in the content dir of the app as going between resolutions confuses the player a fair bit.

Thanks for such a great app!

Make script does not properly install electricsheep under KDE

What steps will reproduce the problem?
1. Build electricsheep from source following these instructions 
(http://electricsheep.org/node/51)
2. Attempt to set electricsheep as your screen saver under KDE4
3. There is no electricsheep option under System Settings - Display and Monitor 
- Screen Saver.

What is the expected output? What do you see instead?
An option to set electricsheep as your screen saver should be available. No 
option is present.

What version of the product are you using? On what operating system?
SVN r126, Kubuntu 12.04

Please provide any additional information below.
An ElectricSheep.desktop.kde exists under menu-entries, but it is never 
installed. The proper install location for KDE screensavers is 
usr/share/kde4/services/ScreenSavers/

Original issue reported on code.google.com by [email protected] on 7 Aug 2012 at 3:03

Compile Time Errors

I'm having a problem compiling with the latest clone, rather than fix it all up myself, this may be indicative of a larger issue, jump to the end for make errors :


theorem@topgun:~/build/electricsheep/client_generic$ uname -na
Linux topgun 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

theorem@topgun:~/build$ git clone https://github.com/scottdraves/electricsheep.git
Cloning into 'electricsheep'...
remote: Counting objects: 5190, done.
remote: Total 5190 (delta 0), reused 0 (delta 0), pack-reused 5190
Receiving objects: 100% (5190/5190), 50.58 MiB | 32.56 MiB/s, done.
Resolving deltas: 100% (2999/2999), done.
Checking connectivity... done
theorem@topgun:~/build$ cd electricsheep/

theorem@topgun:~/build/electricsheep$ cd client_generic/

theorem@topgun:~/build/electricsheep/client_generic$ ./autogen.sh 
Preparing the electricsheep build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.13.3
Found GNU Libtool version 2.4.2

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... done

The electricsheep build system is now prepared.  To build here, run:
  ./configure
  make
theorem@topgun:~/build/electricsheep/client_generic$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking dependency style of gcc... gcc3
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
O/S is GNU/Linux
checking for pkg-config... /usr/bin/pkg-config
checking for wx-config-2.9... no
checking for wx-config... /usr/bin/wx-config
WX_CXXFLAGS is -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0-unofficial -I/usr/include/wx-3.0-unofficial -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread
WX_LIBS is -static -L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_unofficial_xrc-3.0 -lwx_gtk2u_unofficial_webview-3.0 -lwx_gtk2u_unofficial_html-3.0 -lwx_gtk2u_unofficial_qa-3.0 -lwx_gtk2u_unofficial_adv-3.0 -lwx_gtk2u_unofficial_core-3.0 -lwx_baseu_unofficial_xml-3.0 -lwx_baseu_unofficial_net-3.0 -lwx_baseu_unofficial-3.0  -L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_unofficial_richtext-3.0 -lwx_baseu_unofficial-3.0 
checking pkg-config is at least version 0.9.0... yes
checking for AVCODEC... yes
checking for avcodec_decode_video2 in -lavcodec... yes
checking for AVFORMAT... yes
checking for av_open_input_file in -lavformat... yes
checking for SWSCALE... yes
checking for AVUTIL... yes
checking for LUA... yes
checking for GLEE... yes
checking for CURL... yes
checking for PNG... yes
checking for XRENDER... yes
checking for flam3-animate... /usr/local/bin/flam3-animate
checking for LIBGTOP... yes
checking for libboost >= 1.39... yes
checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for main in -lboost_thread... yes
checking boost/filesystem.hpp usability... yes
checking boost/filesystem.hpp presence... yes
checking for boost/filesystem.hpp... yes
checking for main in -lboost_filesystem... yes
checking boost/system/config.hpp usability... yes
checking boost/system/config.hpp presence... yes
checking for boost/system/config.hpp... yes
checking for main in -lboost_system... yes
checking for main in -ltinyxml... yes
checking for glutMainLoop in -lglut... yes
checking for glXCreateNewContext in -lGL... yes
checking for clock_gettime in -lrt... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Client/Makefile
config.status: creating MSVC/SettingsGUI/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
theorem@topgun:~/build/electricsheep/client_generic$ make
Making all in Client
make[1]: Entering directory `/home/theorem/build/electricsheep/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_OLD_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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgtop-2.0   -I/usr/include/lua5.1      -I/usr/include/libpng12   -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: In destructor ‘virtual ContentDecoder::CVideoFrame::~CVideoFrame()’:
../ContentDecoder/Frame.h:120:36: error: ‘avcodec_free_frame’ was not declared in this scope
      avcodec_free_frame( &m_pFrame );
                                    ^
In file included from Player.h:11:0,
                 from Player.cpp:37:
../ContentDecoder/ContentDecoder.h: In destructor ‘virtual ContentDecoder::sOpenVideoInfo::~sOpenVideoInfo()’:
../ContentDecoder/ContentDecoder.h:110:4: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
    av_close_input_file( m_pFormatContext );
    ^
../ContentDecoder/ContentDecoder.h:110:42: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
    av_close_input_file( m_pFormatContext );
                                          ^
../ContentDecoder/ContentDecoder.h:120:34: error: ‘avcodec_free_frame’ was not declared in this scope
    avcodec_free_frame( &m_pFrame );
                                  ^
In file included from Player.h:14:0,
                 from Player.cpp:37:
FrameDisplay.h: At global scope:
FrameDisplay.h:32:38: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
     const fp8 TEX_MOVE_SECS = 60.f * 30.f; //30 minutes
                                      ^
make[1]: *** [Player.o] Error 1
make[1]: Leaving directory `/home/theorem/build/electricsheep/client_generic/Client'
make: *** [all-recursive] Error 1

GLee no longer available from author's site

http://elf-stone.com/glee.php is empty.

The Gentoo Linux package for GLee has been pulled, probably because of this.

This is what I did to get GLee built using the Ubuntu Launchpad sources.

  1. install the dependency if you don't have it somehow: media-libs/mesa

  2. grab the glee_5.4.0.orig.tar.gz and glee_5.4.0-2.debian.tar.bz2 tarballs.

  3. untar the debian tarball (which doesn't have source, but does have their modern Makefile), which creates a debian directory.

  4. make a directory to untar the orig tarball, since it is naked, and untar inside that dir.

  5. copy GLee.h and GLee.c from orig to the debian directory

  6. cd to the debian directory and make && make install. DESTDIR can kinda be used to control install directory, but /usr/ is appended to any dir you specify, so setting DESTDIR=/usr/local will not work as expected.

The main issue with the orig tarball's Makefile is that it doesn't pass -fPIC which makes my ld very sad. so it is also possible to ignore the debian package entirely and CXXFLAGS=-fPIC ./configure && make && make install in the directory you untar'd orig into. in theory this is nicer because you can pass --prefix= to GLee's configure script in the usual way, but the make install doesn't properly create the include or include/GL directories, so you need to manually intervene.

The other packages I needed in order to build electricsheep on Gentoo:

  • media-video/libav, built with the encode USE flag. there is no separate libavcodec package
  • dev-lang/lua
  • gnome-base/libgtop
  • x11-misc/flam3
  • dev-libs/tinyxml
  • media-libs/libsdl2
  • cmake

I installed these, but they don't seem to be linked aganst the executable?

  • glew
  • ftgl

other dependencies that the binary depends on:

  • sys-libs/zlib
  • net-misc/curl
  • media-libs/libpng
  • dev-libs/glib
  • x11-libs/libXrender
  • x11-libs/libX11
  • media-libs/mesa
  • media-libs/freeglut
  • dev-libs/boost

I already had the following installed, but they seem to be build dependencies

  • autoconf
  • libtool

I believe the following are no longer needed, as I did not have them installed

  • subversion
  • libjpeg?

<Make> Errors Compiling on Kubuntu 16.10

Compiling the electricsheep client, make gives a long list of errors:

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 return new ContentDecoder::CContentDecoder( m_spPlaylist, _bStartByRandom, g_Settings()->Get( "settings.player.CalculateTransitions", true ), (uint32)abs(g_Settings()->Get( "settings.player.BufferLength", 25 )), pf ); ^~ Makefile:632: die Regel für Ziel „Player.o“ scheiterte make: *** [Player.o] Fehler 1
Any hint is appreciated. Thanks

Compiling error because of GLee on Xubuntu 14.04.5

Hi, I am trying to compile electricsheep in Xubuntu 14.04.5. I succeeded the ./configure step, but then make failed (complaining about not finding GLee.h). I am supposing this check is forgotten or somewhat different in configure? Anyway I installed glee-dev with apt-get, however I am getting a new error with make, so I probably have a problem of version...

The error is this one:

Making all in Client
make[1]: entrant dans le répertoire « /home/yom/install/electricsheep/client_generic/Client »
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\"     -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgtop-2.0   -I/usr/include/lua5.1    -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng12   -I/usr/include/lua5.1     -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2   -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o -lboost_system -lboost_thread -lboost_filesystem -lglut -lavcodec   -lavformat   -lswscale   -lavutil   -llua5.1     -lboost_system -lcurl   -lpng12   -lXrender -lX11   -lgtop-2.0 -lglib-2.0   -lXrender -lX11   -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread 
libtool: link: g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgtop-2.0 -I/usr/include/lua5.1 -I /usr/local/include/GL -I/usr/include/GL -I/usr/include/libpng12 -I/usr/include/lua5.1 -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o  -lz -lavcodec -lavformat -lswscale -lavutil -llua5.1 /usr/lib/x86_64-linux-gnu/libcurl.so -lpng12 -lgtop-2.0 -lglib-2.0 -lXrender -lX11 -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread -pthread
glx.o: In function `DisplayOutput::CUnixGL::toggleVSync()':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/glx.cpp:469: undefined reference to `_GLEE_GLX_SGI_swap_control'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/glx.cpp:469: undefined reference to `GLeeEnabled'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/glx.cpp:474: undefined reference to `GLeeFuncPtr_glXSwapIntervalSGI'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/glx.cpp:472: undefined reference to `GLeeFuncPtr_glXSwapIntervalSGI'
ShaderGL.o: In function `DisplayOutput::CShaderGL::Unbind()':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:82: undefined reference to `GLeeFuncPtr_glUseProgramObjectARB'
ShaderGL.o: In function `DisplayOutput::CShaderGL::~CShaderGL()':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:47: undefined reference to `GLeeFuncPtr_glDeleteObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:41: undefined reference to `GLeeFuncPtr_glDeleteObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:44: undefined reference to `GLeeFuncPtr_glDeleteObjectARB'
ShaderGL.o: In function `DisplayOutput::CShaderGL::Bind()':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:55: undefined reference to `GLeeFuncPtr_glUseProgramObjectARB'
ShaderGL.o: In function `DisplayOutput::CShaderUniformGL::Apply()':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:420: undefined reference to `GLeeFuncPtr_glUniformMatrix4fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:417: undefined reference to `GLeeFuncPtr_glUniformMatrix3fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:414: undefined reference to `GLeeFuncPtr_glUniformMatrix2fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:411: undefined reference to `GLeeFuncPtr_glUniform4ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:407: undefined reference to `GLeeFuncPtr_glUniform3ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:403: undefined reference to `GLeeFuncPtr_glUniform2ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:399: undefined reference to `GLeeFuncPtr_glUniform1ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:394: undefined reference to `GLeeFuncPtr_glUniform4fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:391: undefined reference to `GLeeFuncPtr_glUniform3fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:388: undefined reference to `GLeeFuncPtr_glUniform2fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:385: undefined reference to `GLeeFuncPtr_glUniform1fvARB'
ShaderGL.o: In function `DisplayOutput::CShaderUniformGL::SetData(void*, unsigned int)':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:314: undefined reference to `GLeeFuncPtr_glUniform1fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:318: undefined reference to `GLeeFuncPtr_glUniform1ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:319: undefined reference to `GLeeFuncPtr_glUniform2ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:320: undefined reference to `GLeeFuncPtr_glUniform3ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:315: undefined reference to `GLeeFuncPtr_glUniform2fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:316: undefined reference to `GLeeFuncPtr_glUniform3fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:317: undefined reference to `GLeeFuncPtr_glUniform4fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:321: undefined reference to `GLeeFuncPtr_glUniform4ivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:326: undefined reference to `GLeeFuncPtr_glUniformMatrix2fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:327: undefined reference to `GLeeFuncPtr_glUniformMatrix3fvARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:328: undefined reference to `GLeeFuncPtr_glUniformMatrix4fvARB'
ShaderGL.o: In function `DisplayOutput::CShaderGL::Build(char const*, char const*)':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:100: undefined reference to `_GLEE_ARB_shading_language_100'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:100: undefined reference to `GLeeEnabled'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:128: undefined reference to `GLeeFuncPtr_glCreateProgramObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:133: undefined reference to `GLeeFuncPtr_glCreateShaderObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:136: undefined reference to `GLeeFuncPtr_glShaderSourceARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:137: undefined reference to `GLeeFuncPtr_glCompileShaderARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:138: undefined reference to `GLeeFuncPtr_glGetObjectParameterivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:140: undefined reference to `GLeeFuncPtr_glAttachObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:144: undefined reference to `GLeeFuncPtr_glGetInfoLogARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:154: undefined reference to `GLeeFuncPtr_glCreateShaderObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:157: undefined reference to `GLeeFuncPtr_glShaderSourceARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:158: undefined reference to `GLeeFuncPtr_glCompileShaderARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:159: undefined reference to `GLeeFuncPtr_glGetObjectParameterivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:161: undefined reference to `GLeeFuncPtr_glAttachObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:165: undefined reference to `GLeeFuncPtr_glGetInfoLogARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:174: undefined reference to `GLeeFuncPtr_glLinkProgramARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:175: undefined reference to `GLeeFuncPtr_glGetObjectParameterivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:176: undefined reference to `GLeeFuncPtr_glGetInfoLogARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:184: undefined reference to `GLeeFuncPtr_glUseProgramObjectARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:187: undefined reference to `GLeeFuncPtr_glGetObjectParameterivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:188: undefined reference to `GLeeFuncPtr_glGetObjectParameterivARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:198: undefined reference to `GLeeFuncPtr_glGetActiveUniformARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:203: undefined reference to `GLeeFuncPtr_glGetUniformLocationARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:209: undefined reference to `GLeeFuncPtr_glUniform1i'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:255: undefined reference to `GLeeFuncPtr_glGetUniformLocationARB'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:291: undefined reference to `GLeeFuncPtr_glUseProgram'
TextureFlatGL.o: In function `DisplayOutput::CTextureFlatGL::Upload(Base::CRefCountPtr<DisplayOutput::CImage, Base::CRefCountRep<DisplayOutput::CImage>, DisplayOutput::CImage*>)':
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/TextureFlatGL.cpp:215: undefined reference to `_GLEE_ARB_texture_non_power_of_two'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/TextureFlatGL.cpp:215: undefined reference to `GLeeEnabled'
/home/yom/install/electricsheep/client_generic/Client/../DisplayOutput/OpenGL/TextureFlatGL.cpp:186: undefined reference to `GLeeFuncPtr_glCompressedTexImage2DARB'
collect2: error: ld returned 1 exit status
make[1]: *** [electricsheep] Erreur 1
make[1]: quittant le répertoire « /home/yom/install/electricsheep/client_generic/Client »
make: *** [all-recursive] Erreur 1

I guess I could try to install gleelib from source, but sorry I am not an expert in this and woudn't know how to...

Also, the issue "Troubles compiling on Arch Linux + tips how to fix #35" mentions a problem with libglee, maybe of some help?
Thanks in advance for some hints :)

[avi @ 0xXXXXX] max_analyze_duration reached

What steps will reproduce the problem?
1. installation on Linux Mint
2. removal of the gnome_screensaver
3. use of xscreensaver

What is the expected output? What do you see instead?
The sheep is functioning in demo mode under xscreensaver and in the command 
line but not functioning in real mode. When the screensaver triggers only the 
messages max analyze duration are displayed every 20 seconds.
In the command line mode those lines also are displayed but the display of the 
sheep occurs after a while in a Mplayer window without Full screen option.

What version of the product are you using? On what operating system?
last provided version in the Ubuntu repository (v2.7b12) 

Please provide any additional information below.
Linux Mint is using lightdm instead of gdm.


Original issue reported on code.google.com by [email protected] on 18 Feb 2012 at 6:27

no rendedering

I've been running es for three days now with rendering enabled and yet it reports me that it is neither rendering nor has ever rendered.

ContentDecoder failing to decode frames

Hi guys,

this is more of a "cry for help" rather than a bugreport. I just want to get a 
pointer or two about where to look further from someone who is more skilled in 
using ffmpeg/libav* API than I am.

I have been battling with the issue of getting electricsheep to run correctly 
on my ArchLinux box. As I have posted in ticket #11 I was able to get it to 
compile but once a few sheep are downloaded, the screensaver acts like nothing 
is going on -- nothing gets displayed, not even the window is cleared so the 
screen shows whatever content there was before electricsheep was run.

I spent the last few evenings trying to trace the code in gdb and so far I have 
been able to find out that while the call to avcodec_decode_video2() returns a 
value > 0 (in fact, that value is equal to the size of the packet as defined by 
packet.size member), the flag indicating successful retrieval of the frame 
(called frameDecoded) is always 0 so the rest of the method is skipped and thus 
nothing gets displayed. When I ran electricsheep under gdb, I saw lots of 
threads repeatedly getting started and terminated immediately thereafter.

Having no prior experience with ffmpeg, I googled up a tutorial ( 
http://dranger.com/ffmpeg/tutorial01.html ) and noticed that after the frame is 
allocated by a call to avcodec_alloc_frame(), another step is made before the 
packets are read out and processed. Following the tutorial, I added the code to 
allocate the buffer for the raw image data and bound it to the frame object 
with the call to avpicture_fill(). However, that still doesn't cut it. (Maybe 
this whole step was not necessary since electricsheep has its own way of 
displaying stuff but it was worth a shot :) ).

So that is what I was able to find out up to this point. I'm kinda running out 
of ideas at the moment so if anyone can chime in with their proposals, I'm more 
than willing to listen. :)

Thanks a lot in advance.

Regards, Zbynek

Original issue reported on code.google.com by [email protected] on 8 Nov 2013 at 1:06

feature request: automatic voting

Hi!

I don't know if you have time for this, but I think it would be a nice addition to electronic sheep.

Right now, as I understand it, the only non-random influence to evolution is the user - either by voting or by contributing own sheep.
Problem is, I am not always on my computer, and others are busy too, so I might not even get to see a very nice sheep and thus cannot upvote it. Now chances are high that due to random mutations and simply too many other sheep being around, that this particular niceness dies out.

So why not have an automatic voting system in place, that has an eye on the produced sheep 24/7.
It would run on the user'S device in parallel to the electric sheep.
Yes, that autonomous voter must also have criteria to base its decision on. And it is not human and could be wrong.
But it would also add an interesting layer of complexity to it.
So it could be some neural net work approach with an online learning strategy.
as inputs it receives the current sheep and as an output it yields a single binary output of vote up or no vote at all.
It should not vote down, as it could be wrong, only upvotes.
and its own upvotes should be much less important than a human's upvote.
Like a human's vote counts 1000 or 10000 and the automatic vote only counts 2.

Initially, the vote is random, but whenever the user votes, the NN learns from that user vote.
Its own vote would still be cast (thus representing its outside view of what the user would want), but it's weights updated for the next evaluation, thus representing the user better next time.

Thus the NN gets used to its user's tastes and votes on his behalf in his absence.
For every user there'd be also an automatic voter.

Cannot compile electricsheep under ubuntu 14.04

What steps will reproduce the problem?
1. switch ubuntu 14.04 to gnome interface
2. install dependencies, wxWidgets and flam3 successfully
3.

What is the expected output? What do you see instead?
./autogen.sh fails with
Preparing build ... ERROR: aclocal -I mk/autoconf failed


What version of the product are you using? On what operating system?
I just downloaded the source this way;
svn checkout http://electricsheep.googlecode.com/svn/trunk/ 
electricsheep-read-only

Please provide any additional information below.
I removed the gnome screensaver and successfully installed xscreensaver, on the 
understanding this is a prerequisite

I am running a samsung np915s3g notebook, quad core AMD 2GHz 

Original issue reported on code.google.com by [email protected] on 13 Mar 2015 at 12:06

client not logged in text

user> Also, signed up for an account, but when I try to sign in from the app it briefly says "Testing login..." then goes back to saying "Not logged in" without any explanatory error.

i think you are right, the error msg on the prefs dialog could be clearer in the situation where people entered their email on the server, but did not buy a subscription. unfortunately the other server that the screensaver talks to only knows who is paid because it delivers the gold sheep, it does not know if you gave your email only.

When I try to run the program, (having downloaded a sheeps pack), all i get are short little images.

What steps will reproduce the problem?
1.Running the program from the application
2.
3.

What is the expected output? What do you see instead?
Instead of continuous animation, all i get are bits and pieces, no matter how 
long the program runs for.

What version of the product are you using? On what operating system?
2.7b33 on a mac 10.4.11

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Nov 2011 at 5:34

Pixelated images

Why all visualizations are very low-resolution and very pixelated.
What can be done to visualize in hi-resolution?

I'm using Windows 7.
Processor: Intel Core i5-3450 CPU @ 3.10Ghz
Memory: 8 GB DDR3

Original issue reported on code.google.com by [email protected] on 9 Dec 2013 at 6:27

Why does newest version compiled from source in Linux keep telling me to upgrade my client?

I am running ElectricSheep in Ubuntu 14.04 and everything is compiled and running with the newest libraries and client pulled from this repository (version 2.7b33 according to electricsheep-preferences) but whenever I run it for a while it keeps telling me to upgrade my client.

How do I get ElectricSheep server to recognize that I have the latest version or is the master branch not really the latest version according to the server?

MPlayer or VA-API support

Is it possible to build the new cross-compatible ElectricSheep program with the old MPlayer support? Or is it possible to instruct ffmpeg internally to use VA-API for video decoding? ElectricSheep requires a needless amount of CPU on my embedded box at the moment (for displaying that is, not rendering sheep or other render jobs).

fails as a screen saver w/ laptop, docking station, and multiple monitors.

What steps will reproduce the problem?
1.  install
2. set as a screen saver
3. wait for time alloted

What is the expected output? What do you see instead?
SS doesn't launch at all, just a 5ms screen flicker.  normal 'run' operation 
works.

What version of the product are you using? On what operating system?
win_2.7b29, Win7 Pro x64

Please provide any additional information below.

fails as a screen saver w/ laptop, docking station, and multiple monitors. I 
tried all 3 options and none of them worked. 2x Dell WS P2211Ht? @ 1080px32bpp 
using Dells Advanced Dock, the one w/ parallel and serial connections, and the 
newer version to boot (the older version had issues with supporting 2x1080p 
native monitors). Win7 Pro x64.

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 7:06

After a few minutes, the video pauses and "es.scr stopped working" appears...

What steps will reproduce the problem?
1. Waiting until the screensaver runs itself...

Using Windows 7 Professional on a Dell Latitude E6430 and ES version 2.7 (Beta 
34). All settings default except increased to 30fps, reverse monitor order and 
independent. 

I'm using 3 screens including the laptop screen. The other 2 are attached using 
a dock and are matching Acer HD monitors. 

Original issue reported on code.google.com by [email protected] on 9 Dec 2013 at 10:26

No Multi Monitor support on GNOME 3

What steps will reproduce the problem?
1. Install and build as on http://community.electricsheep.org/node/51
2. Run electricsheep-preferences
3. Select Cloned or Independent Multi Monitor Mode and press Run.

What is the expected output? What do you see instead?

All attached screens should display electric sheep videos, but only one does.

What version of the product are you using? On what operating system?

r160 on Ubuntu Gnome 14.04 (Trusty) 

Please provide any additional information below.

(1) When can we get Gold Sheep?
(2) The wxWidgets link should be changed, as I missed installing their GPG key 
due to the preselected headline. *nix != Ubuntu/Debian
(3) Whom to talk to to make the package available in 14.04, too? 
http://packages.ubuntu.com/search?keywords=electricsheep

Original issue reported on code.google.com by [email protected] on 3 Dec 2014 at 4:17

wxIsBusy’ was not declared in this scope

I'm trying to compile electricsheep on Raspberry PI.

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I installed all of the packages and am getting this error:

In file included from /usr/include/wx-3.0/wx/window.h:22:0,
                 from /usr/include/wx-3.0/wx/sizer.h:16,
                 from config.h:21,
                 from config.cpp:8:
/usr/include/wx-3.0/wx/cursor.h: In constructor ‘wxBusyCursorSuspender::wxBusyCursorSuspender()’:
/usr/include/wx-3.0/wx/cursor.h:93:22: error: ‘wxIsBusy’ was not declared in this scope
         if( wxIsBusy() )
                      ^
/usr/include/wx-3.0/wx/cursor.h:95:26: error: ‘wxBusyCursor’ has not been declared
             wxSetCursor( wxBusyCursor::GetStoredCursor() );
                          ^
/usr/include/wx-3.0/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
/usr/include/wx-3.0/wx/cursor.h:100:22: error: ‘wxIsBusy’ was not declared in this scope
         if( wxIsBusy() )
                      ^
/usr/include/wx-3.0/wx/cursor.h:102:26: error: ‘wxBusyCursor’ has not been declared
             wxSetCursor( wxBusyCursor::GetBusyCursor() );
                          ^
In file included from /usr/include/wx-3.0/wx/window.h:25:0,
                 from /usr/include/wx-3.0/wx/sizer.h:16,
                 from config.h:21,
                 from config.cpp:8:
/usr/include/wx-3.0/wx/region.h: In member function ‘bool wxRegionBase::Intersect(const wxRect&)’:
/usr/include/wx-3.0/wx/region.h:242:37: error: invalid use of incomplete type ‘class wxRegion’
     return DoIntersect(wxRegion(rect));
                                     ^
In file included from /usr/include/wx-3.0/wx/bitmap.h:19:0,
                 from config.h:11,
                 from config.cpp:8:
/usr/include/wx-3.0/wx/gdicmn.h:37:28: error: forward declaration of ‘class wxRegion’
 class WXDLLIMPEXP_FWD_CORE wxRegion;
                            ^
In file included from /usr/include/wx-3.0/wx/window.h:25:0,
                 from /usr/include/wx-3.0/wx/sizer.h:16,
                 from config.h:21,
                 from config.cpp:8:
/usr/include/wx-3.0/wx/region.h: In member function ‘bool wxRegionBase::Subtract(const wxRect&)’:
/usr/include/wx-3.0/wx/region.h:247:36: error: invalid use of incomplete type ‘class wxRegion’
     return DoSubtract(wxRegion(rect));
--M

Well, it goes on for a few hundred pages.

feature request: P2P version

a version without a central server, where peers create sheep, mate them and exchange them with other peers.
Then there's no costs for running a server and no need to create a two-class system of normal users and paying users.
This version could connect directly to a user-introduced ip, and then do a kind of PEX,
or it could optionally leverage technologies like tox.

Add build Fedora requirements to wiki

sudo dnf install autoconf libtool gtk2-devel mesa-libGL-devel compat-lua-devel libcurl-devel libxml-devel libjpeg-turbo-devel libgtop2-devel boost-devel boost-filesystem boost-thread freeglut-devel ffmpeg-devel tinyxml-devel flam3-devel

DisplayOutput/OpenGL/glx.cpp:538:28: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated

What steps will reproduce the problem?
1. svn checkout http://electricsheep.googlecode.com/svn/trunk/ 
electricsheep-read-only
2. autogen.sh; ./configure; make
3. observe make during glx.cpp compiling

What is the expected output? What do you see instead?

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_GLEE_H=1 -DHAVE_GL_GLEE_H=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/ffmpeg   
-I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   
-I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include       -I/usr/include/libpng15      -lrt -lz -lGL 
-D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT glx.o 
-MD -MP -MF .deps/glx.Tpo -c -o glx.o `test -f 
'../DisplayOutput/OpenGL/glx.cpp' || echo './'`../DisplayOutput/OpenGL/glx.cpp

What version of the product are you using? On what operating system?

electricsheep 2.7b33-svn on Fedora 19 x86_64

Please provide any additional information below.

Resulting output:

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_GLEE_H=1 -DHAVE_GL_GLEE_H=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/ffmpeg   
-I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   
-I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include       -I/usr/include/libpng15      -lrt -lz -lGL 
-D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT glx.o 
-MD -MP -MF .deps/glx.Tpo -c -o glx.o `test -f 
'../DisplayOutput/OpenGL/glx.cpp' || echo './'`../DisplayOutput/OpenGL/glx.cpp
../DisplayOutput/OpenGL/glx.cpp: In member function ‘void 
DisplayOutput::CUnixGL::checkClientMessages()’:
../DisplayOutput/OpenGL/glx.cpp:538:28: warning: ‘KeySym 
XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated (declared at 
/usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
         KeySym keySymbol = XKeycodeToKeysym( m_pDisplay, xEvent.xkey.keycode, 0 );
                            ^
../DisplayOutput/OpenGL/glx.cpp:538:81: warning: ‘KeySym 
XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated (declared at 
/usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
         KeySym keySymbol = XKeycodeToKeysym( m_pDisplay, xEvent.xkey.keycode, 0 );
                                                                                 ^
mv -f .deps/glx.Tpo .deps/glx.Po

I am not a C++ programmer, mostly, but I was poring over some documentation and 
tried to hash together my own solution, which, as far as I know, is eliminating 
the deprecation warning, however, I am still having trouble with the client 
after it downloads sheep, so this mock patch may not even be fixing the real 
issue as far as I know (diff: orig< >new):

# diff ./DisplayOutput/OpenGL/glx.cpp 
/usr/src/electricsheep-dev/client_generic/DisplayOutput/OpenGL/glx.cpp

537,540c537,547
< 
<         KeySym keySymbol = XKeycodeToKeysym( m_pDisplay, xEvent.xkey.keycode, 
0 );
< 
<         switch( keySymbol )

---
>       /**
>        * Oh my, how did this get here? I am not so good with computer:
>        *
>          * KeySym keySymbol = XKeycodeToKeysym( m_pDisplay, 
xEvent.xkey.keycode, 0 );
>        */
>       int keysyms_per_keycode_return;
>       KeySym *keysym = 
XGetKeyboardMapping(m_pDisplay,xEvent.xkey.keycode,1,&keysyms_per_keycode_return
);
>       //keySymbol = keysym[0];
> 
>         //switch( keySymbol )
>         switch( keysym[0] )
558a566
>       XFree(keysym);

Original issue reported on code.google.com by [email protected] on 3 Oct 2013 at 6:20

Screensaver not working on Windows 10

Electric Sheep Screensaver is not working on my system. This is the first time I have downloaded and attempted to run it on this computer:

Dell Inspiron 5520, 64-bit Windows 10
Intel i5-3210M CPU @ 2.50 GHz with 8 GB RAM

I have Electric Sheep version 3.0.
I can run the program in a window (not full screen) from the program settings but the screen saver never kicks in after any period of time. No flickers or error messages that I can find.
Interestingly the program runs just fine on the Mac where I recently installed it.

Thanks for your help.

DJL

Troubles compiling on Arch Linux + tips how to fix

Compiling

  1. New ffmpeg uses AVPixelFormat rather than PixelFormat
  2. New ffmpeg uses AV_PIX_FMT_BGR32 rather than PIX_FMT_BGR32
  3. A bunch of functions got deprecated, but there aren't that many of them

Linking

  1. New lua uses -llua5.1 rather than -llua
  2. libglee should be compiled with -lGLee rather than -lglee (this seems to be checked already, but it doesn't work still)
  3. Settings view needs webkit2gtk which is completely omitted during ./configure (had to add -lwebkit2gtk-4.0 by hand)

libboost version required error.

The .configure is complaining about the libboost version
checking for libboost >= 1.39... configure: error: libboost version 1.41 or higher is required to compile electricsheep.
but I have installed version 1.61
$ dpkg -s libboost-dev | grep 'Version'
Version: 1.61.0.2

Closing the application results in segfault

I am using bspwm (a tiling window manager) on Arch Linux and quit the application via the window manager's capabilities, which almost certainly use normal X11 calls.

Quitting electricsheep this way results in a segfault:

rr-@aurora:~/src/ext/electricsheep/client_generic$ ./electricsheep-saver
CElectricSheep()
CElectricSheep_Linux()
Startup()
SetInstallation: /usr/share/electricsheep/Scripts
SetInstallation: /usr/share/electricsheep/Scripts
libpng warning: iCCP: known incorrect sRGB profile
CElectricSheep_Linux::Shutdown()
Trying to access shutdown singleton CReusableAlignedBuffers
Trying to access shutdown singleton CReusableAlignedBuffers
electricsheep: /usr/include/boost/thread/pthread/condition_variable.hpp:164: boost::condition_variable_any::~condition_variable_any(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed.
zsh: abort (core dumped)  ./electricsheep-saver

Same thing happens if I hit Esc.

co 84 blows up

What steps will reproduce the problem?
1. ubuntu 11.10

/usr/bin/ld: electricsheepguiMyDialog2.o: undefined reference to symbol 
'boost::system::system_category()'
/usr/bin/ld: note: 'boost::system::system_category()' is defined in DSO 
/usr/lib/libboost_system.so.1.46.1 so try adding it to the linker command line
/usr/lib/libboost_system.so.1.46.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [electricsheep-preferences] Error 1
make[1]: Leaving directory 
`/home/mkultra/electricsheep-read-only/client_generic/MSVC/SettingsGUI'
make: *** [all-recursive] Error 1

latest boost via APT

Original issue reported on code.google.com by [email protected] on 27 Nov 2011 at 6:22

Issues with Lua compiling on Arch Linux

I've tried changing makefile to use -llua5.1, that did nothing. Tried symlinking, that did nothing.
Making all in Client make[1]: Entering directory '/home/archpengown/Downloads/electricsheep/client_generic/Client' /bin/sh ../libtool --tag=CXX --mode=link g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16 -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o -lboost_system -lboost_thread -lboost_filesystem -lglut -lavcodec -lavformat -lswscale -lavutil -llua -lm -lglee -lboost_system -lcurl -lpng16 -lXrender -lX11 -lgtop-2.0 -lglib-2.0 -lXrender -lX11 -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread libtool: link: g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16 -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o -lz -lavcodec -lavformat -lswscale -lavutil -llua -lm -lglee -lcurl -lpng16 -lgtop-2.0 -lglib-2.0 -lXrender -lX11 -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread LuaState.o: In function Base::Script::docall(lua_State*, int, int)':
/home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:241: undefined reference to lua_insert' /home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:243: undefined reference to lua_pcall'
/home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:245: undefined reference to lua_remove' LuaState.o: In function Base::Script::traceback(lua_State*)':
/home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:228: undefined reference to lua_call' LuaState.o: In function Base::Script::CLuaState::Run(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)':
/home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:318: undefined reference to luaL_loadfile' /home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:320: undefined reference to lua_pcall'
LuaState.o: In function Base::Script::Call(lua_State*, char const*, char const*, ...)': /home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:441: undefined reference to lua_tonumber'
/home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:458: undefined reference to lua_tonumber' LuaState.o: In function Base::Script::CLuaState::Init(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)':
/home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:166: undefined reference to lua_cpcall' /home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/LuaState.cpp:167: undefined reference to lua_cpcall'
luaxml.o: In function luaopen_xml(lua_State*)': /home/archpengown/Downloads/electricsheep/client_generic/Client/../Common/luaxml.cpp:125: undefined reference to luaL_register'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:536: electricsheep] Error 1
make[1]: Leaving directory '/home/archpengown/Downloads/electricsheep/client_generic/Client'
make: *** [Makefile:509: all-recursive] Error 1`

How do I pass el to vlc?

To pass it to mplayer as described in the manual

./electricsheep-saver-gnome --video-driver -vo

but how do I pass it to vlc?

Compile errors on debian sid

Can someone please help me? I've used electric sheep for years and now it's not in the repositories and I'm not great at figuring out compile problems. I installed the dependencies to get through .configure but I get make errors. I believe they're the ffmpeg ones but I don't know how to fix them.

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:5468: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] 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:5468: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] 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:5468: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:5453: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] er->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:5453: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] er->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:5453: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 tartByRandom, 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 ions, 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 , (uint32)abs(g_Settings()->Get( "settings.player.BufferLength", 25 )), pf ); ^~ Makefile:629: recipe for target 'Player.o' failed make[1]: *** [Player.o] Error 1 make[1]: Leaving directory '/mnt/local/satyam/satyam/apps/electricsheep/client_generic/Client' Makefile:510: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

Mac - Windowserver

What steps will reproduce the problem?
1.  Opening Firefox, Mail and other programs
2.  Opening new message in Mail
3.  Trying to do routine tasks (I know that is nebulous sounding)

What is the expected output? What do you see instead?
I keep getting the spinning color wheel and in activity monitor the process 
"windowserver" has pegged out.

What version of the product are you using? On what operating system?
Darn, forgot to look at the original version, I just uninstalled and downloaded 
the latest and re-installed ElectricSheep.  Mac 10.8.2

Please provide any additional information below.
I have been having the spinning color wheel problem for a few months and I 
cannot absolutely pin it to ElectricSheep.  Today, finally, I had enough and 
searched on "mac windowserver" and then read the result for those that 
addressed the pegging of the cpu. There were a couple of common threads - Flash 
player and "complicated" screen savers.  I followed the Mac forum instructions, 
uninstalled Flash player, then downloaded and installed from the Adobe web 
site.  Alas, that didn't fix the problem.  So then, thinking of the screensaver 
I uninstalled Sheep and then downloaded/installed from your site.  I have just 
completed that process so I don't know yet if there is any difference.  I 
wanted to send in the issue to see if it struck a bell with anyone or if you 
have heard of anything like this (I searched the forums with no results).  I 
truly enjoy ElectricSheep and have no desire to uninstall permanently.

Original issue reported on code.google.com by [email protected] on 9 Oct 2012 at 9:05

libGL error: failed to load driver: swrast

What steps will reproduce the problem?
1. install electricsheep on gentoo with ffmpeg
2. try to run the sheep under xscreensaver
3. cry emo tears

What is the expected output? What do you see instead?
Should render sheep. Instead I see the following output in the console:
CElectricSheep()
CElectricSheep_Linux()
Startup()
SetInstallation: /usr/share/electricsheep/Scripts
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  58
  Current serial number in output stream:  59


What version of the product are you using? On what operating system?
SVN Revision 160

Please provide any additional information below.
Been having some issues switching between libav and ffmpeg; this might be 
related, but I can't know for sure.

Original issue reported on code.google.com by [email protected] on 23 Feb 2015 at 1:14

mplayer not being called with -nostop-xscreensaver, and so DPMS is being disabled

What steps will reproduce the problem?
1. Set a DPMS standby/suspend/off timeout on a machine with an X11 server
2. Allow electricsheep to run for at least that amount of time

What is the expected output? What do you see instead?

The monitors should standby/suspend/turn off. Instead, the monitors stay on.


What version of the product are you using? On what operating system?

electricsheep v2.7b12 on Linux machines (Fedora 15 and Arch Linux) with an X11 
server. This problem should affect all versions of electricsheep shelling out 
to mplayer to display the screen saver in X11.


Please provide any additional information below.

The:

-nostop-xscreensaver

option should be added to the command-line arguments for mplayer. Other screen 
savers that use mplayer have this behavior, and electricsheep should follow 
suit.

As of yesterday, mplayer was patched (SVN r34074) to start paying attention to 
this option again. At the time of the patch, a regression was introduced that 
made nostop-xscreensvaer the default (and so the option wasn't necessary). This 
regression will be fixed and the default will be stop-xscreensaver. So 
electricsheep needs to make the configuration option explicit.

Original issue reported on code.google.com by [email protected] on 7 Sep 2011 at 3:33

Issue with display scaling on Win10

Hi,

I've got an issue with Electricsheep on Win10. When using the win10 display scaling (at 125%) the screensaver does not take up the whole screen. As per the screenshot. about 1/5th of the screen is blank, with the electricsheep graphics displayed in the top left corner.

Have tested by setting scaling to 0%, and the screensaver takes up the whole screen as expected.

Also thanks for making an awesome screensaver, have been using it for years!

Edit: Just checked using the screenshot and it seems ~20% undersized.
H(expected/actual): 1920/1535
V(expected/actual): 1080/863

ContentDecoder.cpp uses deprecated ffmpeg function calls

The file ContentDecoder/ContentDecoder.cpp in svn r130 does not compile with 
recent GNU/Linux distributions (I used Debian testing "wheezy", but see also
   http://electricsheep.org/node/51#comment-5107
for Fedora).

The error messages are:
../ContentDecoder/ContentDecoder.cpp: In member function ‘void 
ContentDecoder::CContentDecoder::Destroy()’:
../ContentDecoder/ContentDecoder.cpp:115:9: warning: ‘void 
av_close_input_file(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1622) [-Wdeprecated-declarations]
../ContentDecoder/ContentDecoder.cpp:115:47: warning: ‘void 
av_close_input_file(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1622) [-Wdeprecated-declarations]
../ContentDecoder/ContentDecoder.cpp: In member function ‘bool 
ContentDecoder::CContentDecoder::Open(const string&)’:
../ContentDecoder/ContentDecoder.cpp:159:89: error: ‘av_open_input_file’ 
was not declared in this scope
../ContentDecoder/ContentDecoder.cpp:169:17: warning: ‘int 
av_find_stream_info(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1446) [-Wdeprecated-declarations]
../ContentDecoder/ContentDecoder.cpp:169:55: warning: ‘int 
av_find_stream_info(AVFormatContext*)’ is deprecated (declared at 
/usr/include/libavformat/avformat.h:1446) [-Wdeprecated-declarations]
../ContentDecoder/ContentDecoder.cpp:222:20: warning: ‘int 
avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3569) [-Wdeprecated-declarations]
../ContentDecoder/ContentDecoder.cpp:222:70: warning: ‘int 
avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3569) [-Wdeprecated-declarations]
make[1]: *** [ContentDecoder.o] Fehler 1

Apparently, a deprecated ffmpeg interface is used.

The problem disappears if lines 32-34:
#ifdef MAC
   #define USE_NEW_FFMPEG_API
#endif

are replaced by
#define USE_NEW_FFMPEG_API

Instead of checking for macs, it would be preferable to introduce a feature 
check via an autoconf macro to determine the correct interface.

Adding
AC_CHECK_LIB([avformat], [av_open_input_file],
             AC_DEFINE([USE_OLD_FFMPEG_API]),
             AC_DEFINE([USE_NEW_FFMPEG_API]))
to configure.ac, for instance after line 155 (and removing lines 32-34 from 
ContentDecoder.cpp) solves the problem.

Additionally, the call to the function av_close_input_file in the current line 
116 is deprecated and should be replaced by the appropriate call 
(avformat_close_input?) when USE_NEW_FFMPEG_API is defined.

Original issue reported on code.google.com by [email protected] on 3 Dec 2012 at 9:33

configure: WARNING: boost/thread.hpp: present but cannot be compiled

What steps will reproduce the problem?
1. ./autogen.sh then ./configure
2. Configure ends at boost
3. Ends with checking for boost/thread.hpp... no


What is the expected output? What do you see instead?
Finishing the configure process before entering "make"

checking for libboost >= 1.39... yes
checking boost/thread.hpp usability... no
checking boost/thread.hpp presence... yes
configure: WARNING: boost/thread.hpp: present but cannot be compiled
configure: WARNING: boost/thread.hpp:     check for missing prerequisite 
headers?
configure: WARNING: boost/thread.hpp: see the Autoconf documentation
configure: WARNING: boost/thread.hpp:     section "Present But Cannot Be 
Compiled"
configure: WARNING: boost/thread.hpp: proceeding with the compiler's result
configure: WARNING:     ## 
----------------------------------------------------------------- ##
configure: WARNING:     ## Report this to 
http://code.google.com/p/electricsheep/issues/list ##
configure: WARNING:     ## 
----------------------------------------------------------------- ##
checking for boost/thread.hpp... no
configure: error: you must install libboost-thread to compile electricsheep.

What version of the product are you using? On what operating system?

Compiling from source on debian wheezy/ crunchbang

Please provide any additional information below.

I've attempted to fix the issue through boost, but in my layman state I'm not 
getting very far...

Original issue reported on code.google.com by [email protected] on 30 Jan 2015 at 10:21

screen saver log in

What steps will reproduce the problem?
1.log in from the screen saver settings
2.
3.

What is the expected output? What do you see instead?
it says; 'member', logged in: no matter what I type in the username and pwd.

What version of the product are you using? On what operating system?
2.7b35b

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Dec 2013 at 5:07

Voting fails after fullscreen

What steps will reproduce the problem?
1. Launch SettingsGUI.exe
2. Press Run 
3. Press up & down arrow, notice voting appears enabled (sheep icon appears, 
downvote skips)
4. Press f to enter fullscreen
5. Press up & down arrow, notice voting appears to fail (no sheep icon, 
downvote does not skip)
6. Press f to exit fullscreen
7. Press up & down arrow, notice voting appears to continue failing (no sheep 
icon, downvote does not skip). The only way to recover is to close the output 
window and press run in the settings again.

What is the expected output? What do you see instead?
Expected output is step 3, regardless of fullscreen status
Steps 5 & 7 show the failed behavior

What version of the product are you using? On what operating system?
V2.7 (beta 33)
Win 7 64-bit


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Sep 2011 at 8:24

.desktop files not installed locally

Hi, there is a minor problem when trying to install electricsheep locally (./configure --prefix=$HOME/.local).

The make install step partially fails, because it still tries to copy files into /usr/share. Here is (part of) the output:

mkdir -p /usr/share/applications/screensavers/
cp -f ./menu-entries/electricsheep-saver.desktop /usr/share/applications/screensavers/electricsheep.desktop
cp: impossible de créer le fichier standard '/usr/share/applications/screensavers/electricsheep.desktop': Permission non accordée
Makefile:945 : la recette pour la cible « install-data-local » a échouée
make[2]: *** [install-data-local] Erreur 1
make[2] : on quitte le répertoire « /export/home1/users/ldog/glouvel/install/electricsheep/client_generic »
Makefile:812 : la recette pour la cible « install-am » a échouée
make[1]: *** [install-am] Erreur 2
make[1] : on quitte le répertoire « /export/home1/users/ldog/glouvel/install/electricsheep/client_generic »
Makefile:510 : la recette pour la cible « install-recursive » a échouée
make: *** [install-recursive] Erreur 1

The executable files are properly installed though.

Vertical display aspect ratio

I've got an issue running electric sheep as my screensaver on my mac running Yosemite. The external display is oriented vertically. When it shows the same sheep as the main display, it is stretched.

electricsheep-preferences does not run under *ubuntu

What steps will reproduce the problem?
1. Attempt to run electricsheep-preferences
2. Windows opens
3. Hover over any text field, application crashes.

What is the expected output? What do you see instead?
electricsheep-preferences should run without crashing. Application crashes and 
throws this error message

SetInstallation: /usr/local/share/electricsheep/Scripts
**
Pango:ERROR:/build/buildd/pango1.0-1.30.0/./pango/pango-layout.c:3801:pango_layo
ut_check_lines: assertion failed: (!layout->log_attrs)
Aborted (core dumped)


What version of the product are you using? On what operating system?
SVN r126, Kubuntu 12.04

Please provide any additional information below.
There are many reports of this issue in the forums, all from different versions 
of Ubuntu. There is a reported fix, but it does not work.

Original issue reported on code.google.com by [email protected] on 7 Aug 2012 at 3:42

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.