Console does not run because of fatal error

I am trying to run the simplest code in the console but it says i have fatal error
LNK1104 cannot open file "kernel32.lib’

I tried to delete and remake the project doing it exactly as it is done in the video but it still gives me this error. someone please help!

Can you post the code?

int main()
return 0;

I found this:

Maybe it has the solution for you. Stack Overflow has helped me countless times.

Thank you! I will try them tomorrow and see if any of the tips there help.

1 Like

I hope it works for you. The person who asked the question in Stack Overflow seems to have the exact same problem with you. Please let me know if you managed to fix it.

Privacy & Terms