[x264-devel] Re: Problems with building x264 using Visual Studio 2005

Alex Izvorski aizvorski at gmail.com
Thu Feb 22 00:19:10 CET 2007


On Wed, 2007-02-21 at 10:52 +0100, Armin Krieg wrote:
> Hi!
> 
>  I'm using Visual Studio 2005 Professional and get the following
>  error-message while linking x264:
> 
> Linking...
> x264.obj : error LNK2019: unresolved external symbol _getopt_long 
> referenced in function _Parse
> bin/x264.exe : fatal error LNK1120: 1 unresolved externals
> 
>  My VS2005 doesn't seem to know getopt_long ?
>  Is this a standard function ?
> 
> wkr,
> 
> Armin

Hello,

Just change  HAVE_GETOPT_LONG=1 to HAVE_GETOPT_LONG=0 in config.mak

Alternately (since you're probably not using the makefile either), just
compile and link x264/extras/getopt.c

Could you contribute your VS project once you have it working?

Thanks,
--Alex


-- 
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