Linking error
When I try to compile my Win32 program I get
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Game.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
My program is big enough that I cant seem to isolate the problem.
Im using the source files from Lamothe''s Ticks book to see if I can get a DirectX app up and running. I have no other errors in the program. I have dinput.lib, ddraw.lib, dsound.lib, and winmm.lib included in so I cant figure out what Im missing. I know this isnt much to go on but if anyone can point me in the right direction Id be very appreciative, thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement