[x264-devel] Re: VC8 compilation
Hao Shen
william.shen at gmail.com
Mon Mar 12 09:58:25 CET 2007
Yes, I found these kinds of problem also. Though it's not hard to
solve, we should make some modification and update the Visual Studio
project files.
Hao SHEN
On 3/7/07, Gabriel Bouvigne <bouvigne at mp3-tech.org> wrote:
> While compiling x264 under VC8, I noticed the following things:
>
> *in getopt.c:
>
> # if HAVE_STRING_H
> # include <string.h>
> # else
> # include <strings.h>
> # endif
>
> but in frame.c:
> #include <string.h>
>
> Either unconditionnaly include string.h in getopt.c or use a
> preprocessor test inside frame.c, but right now this is not coherent.
>
> *VC8 does not know about unistd.h, thus producing errors untill those
> includes are removed.
>
>
> *getopt:
> in x264.c:
> int c = getopt_long( argc, argv, "8A:B:b:f:hI:i:m:o:p:q:r:t:Vvw",
> long_options, &long_options_index);
>
> but VC8 doesn't know about getopt_long. Fortunately you provided
> getopt.c, so the call to getopt_long can be replaced by getopt.
>
> Regards,
>
> --
> Gabriel Bouvigne
> www.mp3-tech.org
> personal page: http://gabriel.mp3-tech.org
>
> --
> This is the x264-devel mailing-list
> To unsubscribe, go to: http://developers.videolan.org/lists.html
>
>
--
Hao Shen
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list