LNK1181:Can not open input file vpxmd.lib

661 views
Skip to first unread message

Vaibhav Khandelwal

unread,
Jun 17, 2011, 5:13:55 AM6/17/11
to Application Developers
Hi

I am trying to compile UDPSAMPLE project from the webmproject site.
In Visual Studio 2005, it is showing this linking error;

LNK1181:Can not open input file vpxmd.lib

What is this vpxmd library file and what is it used for?

The visual studio project itself seem to contain settings to include
this library by default.

I tried searching for it but could not find much information about it
and could not remove this error.

I have only vpxmtd.lib and vpxmt.lib in my lib folder in Win32 but no
vpxmd.lib.

where can i get this library from to remove the linker error?


Thanks and regards,
Vaibhav

sandeep pasala

unread,
Jun 17, 2011, 5:29:20 AM6/17/11
to apps-...@webmproject.org

Use VS2008 and above.. This may solve ur problem..


--
You received this message because you are subscribed to the Google Groups "Application Developers" group.
To post to this group, send email to apps-...@webmproject.org.
To unsubscribe from this group, send email to apps-devel+...@webmproject.org.
For more options, visit this group at http://groups.google.com/a/webmproject.org/group/apps-devel/?hl=en.


Vaibhav Khandelwal

unread,
Jun 17, 2011, 6:19:30 AM6/17/11
to Application Developers
Hi Sandeep

Thanks for your reply.
I am using visual studio 2005, isn't there any other way out of this
problem ?
Also, I am still not clear as to what exactly is the reason behind
this error :(


On Jun 17, 2:29 pm, sandeep pasala <sandeep.pas...@gmail.com> wrote:
> Use VS2008 and above.. This may solve ur problem..
>
> On Fri, Jun 17, 2011 at 2:43 PM, Vaibhav Khandelwal <
>
>
>
>
>
>
>
> forvaibhav.khandel...@gmail.com> wrote:
> > Hi
>
> > I am trying to compile UDPSAMPLE project from the webmproject site.
> > In Visual Studio 2005, it is showing this linking error;
>
> > LNK1181:Can not open input file vpxmd.lib
>
> > What is this vpxmd library file and what is it used for?
>
> > The visual studio project itself seem to contain settings to include
> > this library by default.
>
> > I tried searching for it but could not find much information about it
> > and could not remove this error.
>
> > I have only vpxmtd.lib and vpxmt.lib in my lib folder in Win32 but no
> > vpxmd.lib.
>
> > where can i get this library from to remove the linker error?
>
> > Thanks and regards,
> > Vaibhav
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Application Developers" group.
> > To post to this group, send email to apps-de...@webmproject.org.
> > To unsubscribe from this group, send email to
> > apps-devel+unsubscr...@webmproject.org.

sandeep pasala

unread,
Jun 17, 2011, 8:36:17 AM6/17/11
to apps-...@webmproject.org
Follow link

http://code.google.com/p/webm/downloads/list

vpx-vp8-debug-src-x86-win32mt-VS9-v0.9.6.1.zip

vs9 stands for Visual Studio 2009 ..

Build is also possilbe on VS2008.

U need to Yasm.exe for windows versions as some part of the code is in Assembly.

How can u build & run a higher version(vs2009) on a lower version (VS2005)..

Lets wait and see if any others give a better answer fro this..


To post to this group, send email to apps-...@webmproject.org.
To unsubscribe from this group, send email to apps-devel+...@webmproject.org.

John Koleszar

unread,
Jun 17, 2011, 9:05:59 AM6/17/11
to apps-...@webmproject.org

Hi Vaibhav,

I think you can just modify the udpsample projects to link to
vpxmt.lib instead. They're the same library, the mt one uses the
static c runtime so it is easier to distribute. We should probably
update the udpsample projects to use that by default, so you can just
download the binary build for windows and plug it in.

Vaibhav Khandelwal

unread,
Jun 20, 2011, 5:27:24 AM6/20/11
to Application Developers
Hi Sandeep and John.

Both of you have my monday morning quite wonderful!!(quite a rare
feat)
I have been able to compile the project successfully and am just
starting to work ahead on this.

Thanks a lot for your timely help :)



Vaibhav

Hans Anderson

unread,
Jan 5, 2013, 10:32:53 AM1/5/13
to apps-...@webmproject.org
hello, gentlemen, and thank you for your helpful hints! I am trying to link udpsample project to vpxmt.lib and cannot get rid of these errors:
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_img_alloc referenced in function _main
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_img_free referenced in function _main
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_codec_error referenced in function "void __cdecl ctx_exit_on_error(struct vpx_codec_ctx *,char const *)" (?ctx_exit_on_error@@YAXPAUvpx_codec_ctx@@PBD@Z)
1>receivedecompressandplay.obj : error LNK2001: unresolved external symbol _vpx_codec_error
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_codec_destroy referenced in function _main
1>receivedecompressandplay.obj : error LNK2001: unresolved external symbol _vpx_codec_destroy
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_codec_control_ referenced in function _main
1>receivedecompressandplay.obj : error LNK2001: unresolved external symbol _vpx_codec_control_
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_codec_enc_init_ver referenced in function _main
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_codec_enc_config_default referenced in function _main
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_codec_encode referenced in function _main
1>grabcompressandsend.obj : error LNK2019: unresolved external symbol _vpx_codec_get_cx_data referenced in function _main
1>grabcompressandsend.obj : error LNK2001: unresolved external symbol _vpx_codec_vp8_cx_algo
1>receivedecompressandplay.obj : error LNK2019: unresolved external symbol __imp__GetStockObject@4 referenced in function "void __cdecl display_win_main(void *)" (?display_win_main@@YAXPAX@Z)
1>receivedecompressandplay.obj : error LNK2019: unresolved external symbol _vpx_codec_dec_init_ver referenced in function _main
1>receivedecompressandplay.obj : error LNK2019: unresolved external symbol _vpx_codec_decode referenced in function _main
1>receivedecompressandplay.obj : error LNK2019: unresolved external symbol _vpx_codec_get_frame referenced in function _main
1>receivedecompressandplay.obj : error LNK2019: unresolved external symbol _DirectDrawCreateEx@16 referenced in function "void __cdecl setup_surface(void)" (?setup_surface@@YAXXZ)
1>receivedecompressandplay.obj : error LNK2001: unresolved external symbol _vpx_codec_vp8_dx_algo
1>receivedecompressandplay.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7

You refer to a windows binary build of vpxmt.lib... where is this and which version should work for udpsample? Thanks so much in advance!
H
Reply all
Reply to author
Forward
0 new messages