scottdraves / electricsheep

infinite evolving crowdsourced artwork
http://electricsheep.org
553 stars 70 forks source link

Add build Fedora requirements to wiki #46

Open kallisti5 opened 7 years ago

kallisti5 commented 7 years ago
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
kallisti5 commented 7 years ago

Depends on #47

SyedAmerGilani commented 6 years ago

I needed also GLee-devel and wxGTK-devel

Cybolic commented 6 years ago

It seems wxGTK-devel >= 2.9 is now needed, which doesn't seem available in Fedora 27 :disappointed:

Scratch that, the wxGTK-devl package stopped being updated at 2.8 as it introduced ABI incompatbilities; wxGTK3-devel is what's needed. lua-devel is also needed to compile.

Update: The resulting Makefiles also fail to link to the version of Lua installed. The fix for that is to generate the makefiles using LUA_LIBS="-llua-5.1 -lm -ldl" ./configure.

In short, here are the full build instructions for Fedora 27:

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 GLee-devel wxGTK3-devel lua-devel
git clone git@github.com:scottdraves/electricsheep.git && cd electricsheep/client_generic/
./autogen.sh
LUA_LIBS="-llua-5.1 -lm -ldl" ./configure
make
Belsaros commented 6 years ago

Followed Cybolic's instructions. Still no sheep for me.

https://hastebin.com/labikoqera.sql https://hastebin.com/vofivadezo.tex

~/.ssh/electricsheep/client_generic$ ./electricsheep-saver ./electricsheep-saver: line 1: exec: electricsheep: not found

Cybolic commented 6 years ago

The instructions I posted were just for building, not installing as well. Did you run sudo make install as well afterwards?

Belsaros commented 6 years ago

That wasit. That did the thing. Sorry.

On Tue, Jun 12, 2018, 8:44 PM Christian Dannie Storgaard < notifications@github.com> wrote:

The instructions I posted were just for building, not installing as well. Did you run sudo make install as well afterwards?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scottdraves/electricsheep/issues/46#issuecomment-396778157, or mute the thread https://github.com/notifications/unsubscribe-auth/AmSfRYsVRRhONkF5ePu25BDd_tO6pL0Jks5t8GBygaJpZM4NBqqT .

chadfurman commented 6 years ago

update deps for Fedora 28?

almereyda commented 6 years ago

No, apparently not. @Cybolic's combined instructions above worked well, and will get simpler when #47 is merged.

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 GLee-devel wxGTK3-devel lua-devel
cd ~/src/github.com
git clone https://github.com/scottdraves/electricsheep.git scottdraves/electricsheep
cd scottdraves/electricsheep/client_generic/
./autogen.sh
LUA_LIBS="-llua-5.1 -lm -ldl" ./configure
make
sudo make install

Given that flam3 is already part of the fedora distribution, has anyone ever considered providing a COPR build, or offering to maintain an official one? https://copr.fedorainfracloud.org/coprs/fulltext/?fulltext=electricsheep

bostrt commented 5 years ago

I had to install gcc-c++ (per #39) in order to get around:

checking for libboost >= 1.39... configure: error: libboost version 1.41 or higher is required to compile electricsheep.
Dionio commented 4 years ago

Hi there, I'm facing multiple compile errors like ../DisplayOutput/OpenGL/ShaderGL.cpp:41:3: error: ‘glDeleteObjectARB’ was not declared in this scope during make on Fedora 29

I've installed all the packages mentioned here and in the main page https://github.com/scottdraves/electricsheep/wiki/Compiling

Current suspect is some of GL *.h file with extensions is implicitly not included, but I'm not a C/C++ developer.

Did anyone faced such issue? Was you able to fix it?

UPD: I found a workaround for this build issue From https://aur.archlinux.org/packages/electricsheep/ : add flag -DGL_GLEXT_PROTOTYPES during make.

kallisti5 commented 4 years ago

Oh wow, my Lua fix was never merged.... It's been over two years :-/

sftoolhk commented 4 years ago

Hi there, I'm facing multiple compile errors like ../DisplayOutput/OpenGL/ShaderGL.cpp:41:3: error: ‘glDeleteObjectARB’ was not declared in this scope during make on Fedora 31

compilation terminated. make[1]: [Makefile:779: ShaderGL.o] Error 1 make[1]: Leaving directory '/home/sftool/src/scottdraves/electricsheep/client_generic/Client' make: [Makefile:512: all-recursive] Error 1