Log in

View Full Version : X264 compiler problem


eqi013
28th November 2005, 05:19
I down the X264 code ,I can build the libx264, and get the lib, but while I build the project, there is the result"Linking...
IPO Error: unresolved : _x264_quant_init
Referenced in libx264.lib(encoder.obj)
IPO Error: unresolved : _x264_cqm_init
Referenced in libx264.lib(encoder.obj)
IPO Error: unresolved : _x264_cqm_parse_file
Referenced in libx264.lib(encoder.obj)
IPO Error: unresolved : _x264_deblock_v8_luma_mmxext
Referenced in libx264.lib(frame.obj)
IPO Error: unresolved : _x264_deblock_v_chroma_mmxext
Referenced in libx264.lib(frame.obj)
IPO Error: unresolved : _x264_deblock_h_chroma_mmxext
Referenced in libx264.lib(frame.obj)
IPO Error: unresolved : _x264_deblock_v_chroma_intra_mmxext
Referenced in libx264.lib(frame.obj)
IPO Error: unresolved : _x264_deblock_h_chroma_intra_mmxext
Referenced in libx264.lib(frame.obj)
IPO Error: unresolved : _x264_deblock_h_luma_mmxext
Referenced in libx264.lib(frame.obj)
IPO Error: unresolved : _x264_mb_dequant_4x4_dc
Referenced in libx264.lib(macroblock.obj)
IPO Error: unresolved : _x264_mb_dequant_2x2_dc
Referenced in libx264.lib(macroblock.obj)
xilink6: executing 'D:\PROGRA~1\MICROS~1\VC98\Bin\link.exe'
libx264.lib(encoder.obj) : error LNK2001: unresolved external symbol _x264_quant_init
libx264.lib(encoder.obj) : error LNK2001: unresolved external symbol _x264_cqm_init
libx264.lib(encoder.obj) : error LNK2001: unresolved external symbol _x264_cqm_parse_file
libx264.lib(frame.obj) : error LNK2001: unresolved external symbol _x264_deblock_v8_luma_mmxext
libx264.lib(frame.obj) : error LNK2001: unresolved external symbol _x264_deblock_v_chroma_mmxext
libx264.lib(frame.obj) : error LNK2001: unresolved external symbol _x264_deblock_h_chroma_mmxext
libx264.lib(frame.obj) : error LNK2001: unresolved external symbol _x264_deblock_v_chroma_intra_mmxext
libx264.lib(frame.obj) : error LNK2001: unresolved external symbol _x264_deblock_h_chroma_intra_mmxext
libx264.lib(frame.obj) : error LNK2001: unresolved external symbol _x264_deblock_h_luma_mmxext
libx264.lib(macroblock.obj) : error LNK2001: unresolved external symbol _x264_mb_dequant_4x4_dc
libx264.lib(macroblock.obj) : error LNK2001: unresolved external symbol _x264_mb_dequant_2x2_dc
bin/x264.exe : fatal error LNK1120: 11 unresolved externals"

How can I do now????

Sharktooth
28th November 2005, 05:21
Use MSYS/MinGW. VC project files may be outdated.
More info here: http://forum.doom9.org/showthread.php?t=92726

eqi013
28th November 2005, 11:13
when I build the libx264, tell me "can't find the #include <inttypes.h>",and I replace the "#include <stdint.h>", I alse change the cabac.c,I chage the{} with the {0} for complie , and I then get the the libx264,but I think the libx264 don't work. so how can I build the libx264

berrinam
28th November 2005, 11:51
As Sharktooth said, use MSYS/MinGW. A step-by-step guide is available on the 9th page of Sharktooth's link, namely, here (http://forum.doom9.org/showthread.php?p=723782#post723782).

eqi013
29th November 2005, 10:01
Thank Sharktooth and berrinam.:)