Advertisement

Linking error

Started by October 20, 2000 02:16 PM
1 comment, last by Fender148 24 years, 3 months ago
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
It sounds like that when you created the project for the program you created a console app when you wanted to create a Win32 Application. Recreate the project and re-import the source files.
Advertisement
That did the trick! thanks a lot

This topic is closed to new replies.

Advertisement