pfedick / openstopmotion

Tool to create stopmotion animations on Linux or FreeBSD
http://www.pfp.de/osm/
GNU General Public License v3.0
1 stars 0 forks source link

Compilation trouble / Fedora 22 #1

Open B-Laurent opened 8 years ago

B-Laurent commented 8 years ago

Hello,

I'm actually trying to build openstopmotion from source under Fedora 22, without success. I trying two ways :

the following script is used (http://www.pfp.de/osm/redhat.html):
script_OpenStopMotion-tarbz2.sh.txt

In this case, the compilation is cancelled with this message : /usr/lib64/qt4/bin/uic gui/arduinosketch.ui -o ui_arduinosketch.h g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -Igui -Isrc -I../include -Iinclude -I/usr/local/include -I/usr/X11R6/include -Irelease -I. -o release/FrameBuffer.o src/FrameBuffer.cpp g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -Igui -Isrc -I../include -Iinclude -I/usr/local/include -I/usr/X11R6/include -Irelease -I. -o release/arduino.o src/arduino.cpp Makefile.Release:307: recipe for target 'release/arduino.o' failed make[1]: Leaving directory '/home/laurent/Documents/999_BacASable/StopMotion/OpenStopMotion01/OpenStopMotion-0.6.3/osm' Makefile:34: recipe for target 'release' failed

The complete log file is here : install-osm-tarbz2.log.txt

By compiling source manually from the github source

the following script is used : script_OpenStopMotion-github.sh.txt

In this case, the compilation is cancelled with this message : /----/openstopmotion/release/../gui/selectscene.h:47: référence indéfinie vers « ppl7::String::~String() » release/moc_selectscene.o:(.data.rel.ro._ZTI11SelectScene[_ZTI11SelectScene]+0x28): référence indéfinie vers « typeinfo for ppl7::Thread » release/moc_ppl7imageviewer.o: dans la fonction « PPL7ImageViewer::~PPL7ImageViewer() »: /----/openstopmotion/release/../gui/ppl7imageviewer.h:35: référence indéfinie vers « ppl7::grafix::Image::~Image() » release/moc_ppl7imageviewer.o: dans la fonction « ~PPL7ImageViewer »: /----/openstopmotion/release/../gui/ppl7imageviewer.h:35: référence indéfinie vers « ppl7::grafix::Image::~Image() » collect2: erreur: ld a retourné 1 code d'état d'exécution make[1]: * [release/OpenStopMotion] Error 1 Makefile.Release:232: recipe for target 'release/OpenStopMotion' failed make[1]: Leaving directory '/----/openstopmotion' Makefile:38: recipe for target 'release' failed make: * [release] Error 2

The complete log file is here :

script_OpenStopMotion-github.sh.txt

I'm not smart enough to solve alone this. Thanks for help

B-Laurent commented 8 years ago

Hello, In fact, my problem was a missing path declaration. Here a fully working script for fedora : script_OpenStopMotion-qt4-github.sh.txt

And an incomplete list of needed packages :

libcurl-devel lame-devel lame libogg-devel SDL2-devel ImageMagick-c++-devel ImageMagick-devel ldns ldns-devel nasm postgresql-devel

I hope this will help

LAurent_B