I'm using Visual Studio 2013 and Windows7 64bit.
When I try to build a simple cpp-project I get this error:
error lnk1104 cannot open file 'kernel32.lib'
I think I have seen this problem somewhere else and it seems an SDK problem, just try to reinstall the windows SDK for windows7 from here: http://www.microsoft.com/en-us/download/details.aspx?id=8279
Restart your Visual studio and see. I hope it helps.
Related
I am getting a build error as "Cannot open include file: \TargetVersion\version.h, No such file or directory".
I am using the Visual Studio 2008 SP1 IDE, Windows 7 OS, Microsoft windows SDK 7.1.
Please suggest what I am missing.
Thanks in advance.
It was working fine a few hours ago , then I shut down my computer. Now when I re-open visual studio and build my solution again, I get this error :
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets(173,5): error MSB3061: Unable to delete file "x64\Debug\GEnx11.tlog\GEnx11.lastbuildstate". Access to the path 'G:\VS2015_PROJECTS\Projects\GEnx11\GEnx11\x64\Debug\GEnx11.tlog\GEnx11.lastbuildstate' is denied.
Please Help...Thanks..!!!
start Visual Studio as an administrator. may be this could help you.
I'm trying to update Visual Studio 2012 C++ projects so that I can compile them in Visual Studio 2015 (Update 3). I've gotten it narrowed down to just one error in one project that I'm completely stumped on:
LNK1104 cannot open file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib.obj'
I've installed all the C++ language options (they don't get installed by default) and even uninstalled and reinstalled Visual Studio.
That file doesn't exist in that directory, and it also doesn't exist in the Visual Studio 2012 directory either.
Anyone have any ideas on how to solve this?
The problem might be that you added something like "$(VC_LibraryPath_x86)xxxx.lib" to the Linker input additional dependencies. This goes wrong, resulting in the error. It should just be "xxxx.lib".
Check your path. If that's correct then make sure you've written xxx.lib rather than xxx
I am trying to use mongodb in visual studio and I am following this steps tutorial:
How I installed the Windows 7 64x C++ driver/mongoDB to work with Visual Studio 2010
But I receive the following error message:
Error: cannot open the source file: "mongo/client/dbclient.h"
Does anybody knows why I have this error?
*while running a program in Visual Studio 2010 I got an error Written "Unable to start program c:\users......... system cannot find specific file."
Please tell me solution of it*
your shortcut points to nowhere or you didnot install VS 2010 properly. reinstall it and try to open in Program Files folder.