I just have installed VS Ultimate 2013. When I compiled a simple code, it had an error LNK1104: cannot open file 'kernel32.lib'
I tried to follow instructions on internet but it didn't work.

My code

#include <iostream>
using namespace std;

void main()
{
    int x;
    cin>>x;
    cout<<x;
}

On my computer the file is here: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib

If you also have VS 2010 installed on the same computer there may be a conflict. See this related article

I have 2013 Pro edition installed on my computer and don't have that problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.