[x264-devel] how to build x264 with mp4_enable
xiaoweihuacom
xiaoweihuacom at 126.com
Wed Nov 7 11:01:51 CET 2007
Hello,everyone
first I build the gpac lib with MSVC6.0 and then build the x264 with mp4_output enable, but it reports many errors
--------------------Configuration: x264 - Win32 Debug--------------------
Linking...
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __assert already defined in LIBCD.lib(assert.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fclose already defined in LIBCD.lib(fclose.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fread already defined in LIBCD.lib(fread.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _ftell already defined in LIBCD.lib(ftell.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fseek already defined in LIBCD.lib(fseek.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fopen already defined in LIBCD.lib(fopen.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sprintf already defined in LIBCD.lib(sprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fgetc already defined in LIBCD.lib(fgetc.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fwrite already defined in LIBCD.lib(fwrite.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __isctype already defined in LIBCD.lib(isctype.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fflush already defined in LIBCD.lib(fflush.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strstr already defined in LIBCD.lib(strstr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fprintf already defined in LIBCD.lib(fprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _vfprintf already defined in LIBCD.lib(vfprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __ftime already defined in LIBCD.lib(ftime.obj)
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
libgpac_static.lib(os_divers.obj) : error LNK2001: unresolved external symbol __imp__timeGetTime at 0
libgpac_static.lib(os_divers.obj) : error LNK2001: unresolved external symbol __imp__timeBeginPeriod at 4
libgpac_static.lib(os_divers.obj) : error LNK2001: unresolved external symbol __imp__timeEndPeriod at 4
bin/x264.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
x264.exe - 23 error(s), 1 warning(s)
how to reslove this problem? thanks a lot!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20071107/7c2f4de9/attachment.htm
More information about the x264-devel
mailing list