MJPeg compiling

Hi!
I’m trying to compile the mjpeg encoder with visual c++ under
windows, but the compiler asks for a include file called
"unistd.h". This file can’t be found on my computer, so is that
something non standard (or something M$ doesn’t see as
standard ;-)? What is it used for originally?

Thanks in advance,
Andreas Podgurski

Hi!

/*

  •  POSIX Standard: 2.10 Symbolic Constants         <unistd.h>
    

*/

says unistd.h. Glorious functions like fork() and chroot() are here declared.
Like the name already says (UNIxSTandarD) it is a unix specific header.

Sorry, but I don’t know why you can’t compile libsmjpeg. Maybe a C++ compiler
setting? Please help this lost soul ;-).

Ciao
Thomas

On Fri Oct 20, 2000 at 01:29:06AM +0200, the boisterous
Andreas Podgurski <Andreas.Podgurski at Ruhr-Uni-Bochum.de>
wrote to me:> Hi!

I’m trying to compile the mjpeg encoder with visual c++ under
windows, but the compiler asks for a include file called
"unistd.h". This file can’t be found on my computer, so is that
something non standard (or something M$ doesn’t see as
standard ;-)? What is it used for originally?

Thanks in advance,
Andreas Podgurski


/\ Zuhaus’ ist dort wo man sich so fuehlt, nicht wo man herkommt,
( ^ > zuhaus’, wo das Kaffeewasser kocht und es im PC summt.
/ \ Dendemann, 1999
(
/)

Hi!
I’m trying to compile the mjpeg encoder with visual c++ under
windows, but the compiler asks for a include file called
"unistd.h". This file can’t be found on my computer, so is that
something non standard (or something M$ doesn’t see as
standard ;-)? What is it used for originally?

It’s a UNIX header, you might try to remove it and see if the code
compiles properly. Let me know if that works! :slight_smile:

Thanks,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software