[x264-devel] VS2008 compilation error (need of replacement __WIN32__ with _WIN32)
Jon Farhat
j at jfi.net
Sun Dec 30 20:36:54 CET 2007
I am looking for someone who can consult with me, regarding the
development of simple player for h.264 encoded Mp4's.
Thank you in advance for your response
j.
On Dec 30, 2007, at 8:52 PM, Guillaume POIRIER wrote:
> Hello,
>
> BugMaster a écrit :
>> I try to compile x264 in VS2008 and get the error:
>> error LNK2019: unresolved external symbol _strtok_r referenced in
>> function _parse_zones
>>
>> For fixing this error I replace __WIN32__ with _WIN32 in osdep.h
>> and it compiles
>> successfully. So here is my patch which make that changes and also
>> replace WIN32 with _WIN32 in cpu.c (I think this would be more
>> correct)
>
> Do you know if this patch is only valid for VS2008, or is it valid for
> all VC++ versions?
>
> How about mingw? Does it define _WIN32 too? Does it need it?
>
> short of knowing this, I'm afraid that this patch will break other
> development environments.
>
> Guillaume
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
______________________________
Jon Farhat
The Fraternity LTD - Wanted (EU)
Wanted Productions, LLC (US)
Moscow Cell: +7 903 222 8626
wanted at jfi.net
Skype: farufon
In Moscow:
Jon Farhat, Wanted
c/o Bazelevs Production
6/1 Pudovkina Street, 119285
Moscow, Russia
Tel. +7 495 223 0400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20071230/e7ecb798/attachment.htm
More information about the x264-devel
mailing list