Daala and Cygwin: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
(Created page with "CC-BY [http://nwgat.ninja/compiling-daala-on-cygwin/ nwgat] '''Install Cygwin x64 with wget''' https://cygwin.com/setup-x86_64.exe '''Install apt-cyg''' wget rawgit.com/Xa...")
 
(General cleanup, wikifying)
Line 1: Line 1:
This is a guide on how to build Daala on Windows with [https://cygwin.com/ Cygwin].
CC-BY [http://nwgat.ninja/compiling-daala-on-cygwin/ nwgat]
CC-BY [http://nwgat.ninja/compiling-daala-on-cygwin/ nwgat]


==Installing Cygwin==


'''Install Cygwin x64 with wget'''
Download and run [https://cygwin.com/setup-x86_64.exe].


https://cygwin.com/setup-x86_64.exe
===Install apt-cyg===
 
'''Install apt-cyg'''


wget rawgit.com/XadillaX/apt-cyg/master/apt-cyg
wget rawgit.com/XadillaX/apt-cyg/master/apt-cyg
Line 12: Line 12:
install apt-cyg /bin
install apt-cyg /bin


'''Install Packages'''
==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
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
Line 31: Line 33:




'''if the compile fail try commenting out'''
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__])


with # on front of the lines in configure.ac file
by putting a # on front of the lines in configure.ac file




Note: make tools will fail, sdl is missing
Note: make tools will fail if sdl is missing.

Revision as of 15:49, 14 April 2015

This is a guide on how to build Daala on Windows with Cygwin. CC-BY nwgat

Installing Cygwin

Download and run [1].

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.