[x264-devel] Re: Unresolved external symbol found while using Visual Studio.NET

Måns Rullgård mru at inprovide.com
Fri Jul 29 17:02:00 CEST 2005


Jason Zhang said:
> Hi all:
>
>
>
> I am using Visual Studio.NET to compile the x264 solution, but encountered
> the following link error messages:
>
>
>
> x264.obj : error LNK2019: unresolved external symbol _mk_createWriter
> referenced in function _open_file_mkv
>
> x264.obj : error LNK2019: unresolved external symbol _mk_addFrameData
> referenced in function _write_nalu_mkv
>
> x264.obj : error LNK2019: unresolved external symbol _mk_startFrame
> referenced in function _write_nalu_mkv
>
> x264.obj : error LNK2019: unresolved external symbol _mk_writeHeader
> referenced in function _write_header_mkv
>
> x264.obj : error LNK2019: unresolved external symbol _mk_setFrameFlags
> referenced in function _set_eop_mkv
>
> x264.obj : error LNK2019: unresolved external symbol _mk_close referenced in
> function _close_file_mkv
>
> libx264.lib(encoder.obj) : error LNK2019: unresolved external symbol
> _x264_cqm_init referenced in function _x264_encoder_open
>
> libx264.lib(encoder.obj) : error LNK2019: unresolved external symbol
> _x264_cqm_parse_file referenced in function _x264_encoder_open
>
> bin/x264.exe : fatal error LNK1120: 8 unresolved externals
>
>
>
> That implies that the 8 external functions/variables are excluded in the
> software package. If you happen to know how to fix the problem, please let
> me know the solution.

Add matroska.c and common/set.c to the project.  Apparently, it hasn't been
updated after these files were introduced.  If you get it working, please
send a patch.

-- 
Måns Rullgård
mru at inprovide.com

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