0

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;
}
2
Contributors
1
Reply
9
Views
3 Years
Discussion Span
Last Post by Ancient Dragon
0

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.

Edited by Ancient Dragon

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.