[SDL] C++ Builder

Frank Ramsay fjramsay at erols.com
Sat Aug 7 09:26:54 PDT 1999


You'll probably have to tell it your building a console application so
that it doesn't try and include it's own winmain (you don't write the
winmain functon in C++ Builder, it does it for you) and then manually
add the windows libraries to the linker options.

		-fjr

Paulus Esterhazy wrote:
> 
> >> SDL and C++ builder...
> > Ok.but can someone tell me how?
> 
> You'll have to add src/stub/load.c and src/stub/win32/winmain.c
> to your project, add the SDL include path and compile. Maybe
> you'll have to set one macro telling the files it's Windows they're
> being compiled for (look it up in the .c files).
> 
> ~ Paulus



More information about the SDL mailing list