<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-2" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19120">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>Hello,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I try to compile <EM>player_example.c</EM> from <A
href="">http://downloads.xiph.org/releases/theora/libtheora-1.1.1.zip</A> in
Visual Studio 2008 on Windows XP.<BR>I built and added to the project
libogg-1.3.0, libtheora-1.1.1, libvorbis-1.3.2 (<A
href="">http://www.xiph.org/downloads/</A>) and SDL-1.2.15 (<A
href="">http://www.libsdl.org/release/SDL-devel-1.2.15-VC.zip</A>).<BR>When I
compile <EM>player_example.c</EM> Visual Studio shows:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>fatal error C1083: Cannot open include file:
'unistd.h': No such file or directory<BR>fatal error C1083: Cannot open include
file: 'sys/soundcard.h': No such file or directory<BR>fatal error C1083: Cannot
open include file: 'sys/ioctl.h': No such file or directory</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I found out that these files are part of Linux, not
Windows. Are there equivalents of these files for Windows?<BR>How can I change
<EM>player_example.c</EM>, so that it compile on Windows?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Best regards,<BR>Maciej
M±czyński</FONT></DIV></FONT></DIV></BODY></HTML>