Daala and Cygwin: Difference between revisions
Jump to navigation
Jump to search
m (Minor writing change) |
m (Add code tags (I thought I did that already. Did I overwrite one of my edits?)) |
||
Line 7: | Line 7: | ||
===Install apt-cyg=== | ===Install apt-cyg=== | ||
wget rawgit.com/XadillaX/apt-cyg/master/apt-cyg | wget rawgit.com/XadillaX/apt-cyg/master/apt-cyg | ||
install apt-cyg /bin | |||
install apt-cyg /bin | |||
==Install Packages== | ==Install Packages== | ||
Line 15: | Line 14: | ||
Install packages necessary to build Daala: | Install packages necessary to build Daala: | ||
apt-cyg install gcc-core make pkg-config autoconf automake libtool libogg-devel libpng-devel libjpeg-devel check git | apt-cyg install gcc-core make pkg-config autoconf automake libtool libogg-devel libpng-devel libjpeg-devel check git | ||
==Compile Daala== | ==Compile Daala== | ||
git clone https://git.xiph.org/daala.git | git clone https://git.xiph.org/daala.git | ||
cd daala | |||
cd daala | ./autogen.sh | ||
./configure --disable-player | |||
./autogen.sh | make -j22 | ||
make tools | |||
./configure --disable-player | |||
make -j22 | |||
make tools | |||
If the compile fails, try commenting out these lines in configure.ac: | If the compile fails, try commenting out these lines in configure.ac: | ||
CFLAGS="-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long -Wno-overlength-strings $CFLAGS" | CFLAGS="-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long -Wno-overlength-strings $CFLAGS" | ||
CC_CHECK_CFLAGS_APPEND([-U__STRICT_ANSI__]) | CC_CHECK_CFLAGS_APPEND([-U__STRICT_ANSI__]) | ||
by putting a # on front of the lines in configure.ac file | by putting a # on front of the lines in configure.ac file |
Revision as of 16:24, 14 April 2015
This is a guide on how to build Daala on Windows with Cygwin. Here's a different guide about this, on which this one is based: Compiling Daala on Cygwin x64
Installing Cygwin
Download and run https://cygwin.com/setup-x86_64.exe.
Install apt-cyg
wget rawgit.com/XadillaX/apt-cyg/master/apt-cyg install apt-cyg /bin
Install Packages
Install packages necessary to build Daala:
apt-cyg install gcc-core make pkg-config autoconf automake libtool libogg-devel libpng-devel libjpeg-devel check git
Compile Daala
git clone https://git.xiph.org/daala.git cd daala ./autogen.sh ./configure --disable-player make -j22 make tools
If the compile fails, try commenting out these lines in configure.ac:
CFLAGS="-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long -Wno-overlength-strings $CFLAGS"
CC_CHECK_CFLAGS_APPEND([-U__STRICT_ANSI__])
by putting a # on front of the lines in configure.ac file
Note: make tools will fail if sdl is missing.