Skip to content
Kyle Medley edited this page May 21, 2014 · 31 revisions

Building Instructions

Cygwin

  • Choose direct connection / install from the internet
  • When given the opportunity to choose a mirror, choose one close to you. We'll use http://mirrors.kernel.org
  • Install the following packages (most under Devel, wget under Web):
gcc-c++ cmake git wget subversion xinit
  • Finish the installation, accepting default options
  • Open Cygwin64 Terminal
  • Install apt-cyg (copy & paste these lines in the Cygwin64 terminal):
svn --force export http://apt-cyg.googlecode.com/svn/trunk/ /bin/
chmod +x /bin/apt-cyg
  • Install the Synfig dependencies (triple-clicking in some browsers will select the whole line):
apt-cyg -m http://mirrors.kernel.org/sources.redhat.com/cygwin/ install pkg-config libglibmm2.4-devel libjpeg-devel libpng-devel libmng-devel libpoco-devel libfreetype-devel libfontconfig-devel libxml2-devel libcairomm1.0-devel libcairo-devel libpangomm1.4-devel libpango1.0-devel libgtkmm2.4-devel
apt-cyg -m ftp://ftp.cygwinports.org/pub/cygwinports install make libboost-devel zlib-devel libxml++2.6-devel libav-devel ffmpeg
  • 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:
mkdir -p ~/devel/cynfig-build
cd !$
cmake -DCMAKE_INSTALL_PREFIX=~/devel/cynfig-install -DCMAKE_BUILD_TYPE=Release -DGENERATE_IMAGES=0 ~/devel/cynfig
  • At this point, CMake should have finished with no errors. If so, start the build
make -j8 install
  • Start the X Server
startxwin
  • Copy and paste this into the newly created terminal to Start Synfig Studio
~/devel/cynfig-install/bin/synfigstudio.exe
Clone this wiki locally