Difference between revisions of "Daala and Cygwin"

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...")
 
m (Added Category:Daala)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
CC-BY [http://nwgat.ninja/compiling-daala-on-cygwin/ nwgat]
+
This is a guide on how to build Daala on Windows with [https://cygwin.com/ Cygwin]. Here's a different guide about this, on which this one is based: [http://nwgat.ninja/compiling-daala-on-cygwin/ Compiling Daala on Cygwin x64]
  
 +
==Installing Cygwin==
  
'''Install Cygwin x64 with wget'''
+
Download and run [https://cygwin.com/setup-x86_64.exe 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
 +
install apt-cyg /bin
  
wget rawgit.com/XadillaX/apt-cyg/master/apt-cyg
+
==Install Packages==
  
install apt-cyg /bin
+
Install packages necessary to build Daala:
  
'''Install Packages'''
+
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
 +
cd daala
 +
./autogen.sh
 +
./configure --disable-player
 +
make -j22
 +
make tools
  
git clone https://git.xiph.org/daala.git
 
  
cd daala
+
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"
  
./autogen.sh
+
CC_CHECK_CFLAGS_APPEND([-U__STRICT_ANSI__])
  
./configure --disable-player
+
by putting a # on front of the lines in configure.ac file
  
make -j22
+
Note: make tools will fail if sdl is missing.
  
make tools
+
[[Category:Daala]]
 
 
 
 
'''if the compile fail try commenting out'''
 
 
 
CFLAGS="-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long -Wno-overlength-strings $CFLAGS"
 
 
 
CC_CHECK_CFLAGS_APPEND([-U__STRICT_ANSI__])
 
 
 
with # on front of the lines in configure.ac file
 
 
 
 
 
Note: make tools will fail, sdl is missing
 

Latest revision as of 08:46, 15 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.