[SDL] SDL in Microsoft Visual Studio C++ .NET (dot net) (version 7)
Mike at unicornvalley.org.uk
Fri Nov 21 22:27:20 PST 2003
You want to make it a 'Win 32 Project', then in the Win 32 Application
Wizard, click on 'Application Settings' on the left hand side and then
select the 'Empty Project' checkbox. Managed C++ programs use the .NET
common language runtime - probably not what you really want.
Lars Englund wrote:
> I can't get SDL to work with Visual C++ .NET.
> I've used SDL with Visual C++ 6.0 and under linux for a year without
> but now it won't work.
> I've followed the instructions in VisualC.html that comes with the
> latest SDL
> dev package for win.
> I've added the include and lib paths and I've told it to use SDL.lib and
> SDLmain.lib. I've told it to be Multi-threaded DLL.
> I have a main.cpp as the only file in my "New Project -> Visual C++
> Projects ->
> Managed C++ Empty Project" ("Win 32 Project" creates a lot of files, I
> want to
> start with a empty project) which containes the following:
> #include "SDL.h"
> int main( int argc, char* argv )
> // Body of the program goes here.
> return 0;
> I get the following when I try to build the solution:
> fatal error LNK1561: entry point must be defined
> Any help would be much appreciated.
> Lars Englund - first post to the list :)
> SDL mailing list
> SDL at libsdl.org
More information about the SDL