Thursday, 15 May 2014

c++ - VS2013 LINK1104 Cannot find winhttp.lib -



c++ - VS2013 LINK1104 Cannot find winhttp.lib -

i'm writing c++ code involves udp communication in 64-bit windows 8. having difficulty building x64 configuration, although win32 configuration works fine. problem lies @ top of code:

#include <windows.h> #pragma comment(lib, "ws2_32.lib")

when build in win32 configuration, works fine. when build in x64 configuration, next linker error:

fatal error lnk1104: cannot open file 'c:\program files\microsoft sdks\windows\v7.0\lib\x64\winhttp.lib'

i've set total path winhttp.lib in project properties > vc++ directories > library directories field, , i've included winhttp.lib in project directly, no luck.

any ideas?

edit:

i can build fine in x64 debug configuration, not x64 release. i'm working way through respective configuration properties, don't know why release works not debug.

i can vaguely remember having messed paths different visual studio versions / platform sdks installed. have multiple installations? maybe need prepare search paths manually.

and btw, vs2013 express on home computer, don't have v7.0, 7.0a.

c++ windows sockets visual-studio-2013 udp

No comments:

Post a Comment