• Advertisement
Sign in to follow this  

Linking Problem---SDL

This topic is 3930 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Here is a small excerpt of my code: #include <SDL.h> #include <iostream> #include <string> using namespace std; int main() { cout << "Thank You For Your Purchase!" << endl; I am getting the following error: LINK : fatal error LNK1561: entry point must be defined (I am using Visual Studio 2005 (C++) Thanks

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by MaGaIn
Here is a small excerpt of my code:

#include <SDL.h>
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout << "Thank You For Your Purchase!" << endl;

I am getting the following error:

LINK : fatal error LNK1561: entry point must be defined

(I am using Visual Studio 2005 (C++)

Thanks


Try adding a } to the end of your code.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement