Skip to main content
gamedev.net
🔒 Locked

linking error please help

Started by GDEMW 0 replies 150+ views
Original Post
GDEMW
GDEMW
when i compile my program i get this linking error could someone tell me why and how to fix it LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/Evil.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
There are no stupid questions just stupid people
sjelkjd
sjelkjd
you need to either 1) add a winmain, or 2) if you are writing a console app(uses int main()), change the app type from win32 app to console app.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.