Sign in to follow this  
BlackIgloo

C++ and DirectX Linker error :o What does it mean!

Recommended Posts

Hey all just got this error on my compiler no source code errors just the linker :o Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup MSVCRTD.lib Any idea whats the matter?

Share this post


Link to post
Share on other sites
This kind of thing means that you have either incorrectly included a file or you have not linked to a library file. To link to a library file you go to properties->linker->input.

Share this post


Link to post
Share on other sites
Obviously, WinMain doesn't exist in your program or you haven't defined its parameters correctly (search the MSDN for the standart definition)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this