-
Notifications
You must be signed in to change notification settings - Fork 0
Build_UB14.04LTS_gcc
Kyle Medley edited this page May 19, 2014
·
19 revisions
Ubuntu 14.04 LTS
Last tested with commit bb134c6d94e568e890b7759b656c7b4d6f9f4803
- Install the requisite dependencies. Copy and paste this (very long) line into a terminal (triple-clicking in some browsers will select the whole line):
sudo apt-get -y install gcc build-essential cmake git zlib1g-dev libmagick++-dev libdv4-dev libavcodec-dev libavformat-dev libswscale-dev libavutil-dev libfreetype6-dev libfontconfig1-dev libopenexr-dev libglibmm-2.4-dev libxml++2.6-dev libcairomm-1.0-dev libpangomm-1.4-dev libboost-dev libboost-filesystem1.54-dev libboost-program-options1.54-dev libboost-system1.54-dev libpng12-dev libmng-dev libpoco-dev libgtkmm-2.4-dev
- (Optional, but recommended) Get the Synfig image assets. These are part of the Synfig master branch on Github, but for convenience they can be downloaded from here: http://sourceforge.net/projects/cynfig/files/synfig-images-0.64.1.tar.bz2/download. Extract these files:
mkdir -p ~/devel/synfig-assets/img cd !$ wget http://sourceforge.net/projects/cynfig/files/synfig-images-0.64.1.tar.bz2/download -O synfig-images-0.64.1.tar.bz2 tar -xvjf synfig-images-0.64.1.tar.bz2
- Create a directory for the project (substitute your own custom paths here if you like, but ensure that you use them consistently for the remainder of this guide):
mkdir -p ~/devel/cynfig cd !$
- Clone the sources from Github:
git clone https://github.com/0u812/cynfig.git .
- Create a build directory and run CMake (note: if you skipped the image assets step, then omit the -DSYNFIG_SOURCE_IMAGES_DIR=/synfig-assets/img and add -DGENERATE_IMAGES=0 instead):
mkdir -p ~/devel/cynfig-build cd !$ cmake -DCMAKE_INSTALL_PREFIX=~/devel/cynfig-install -DCMAKE_BUILD_TYPE=Release -DSYNFIG_SOURCE_IMAGES_DIR=~/devel/synfig-assets/img ~/devel/cynfig
- At this point, CMake should have finished with no errors. If so, start the build
make -j8 install
- If the build completes successfully, Synfig will be installed into ~/devel/cynfig-install. Try running Synfig Studio on one of the splashes:
~/devel/cynfig-install/bin/synfigstudio ~/devel/synfig-assets/img/splash_screen-0.62.02.sif
Results: