C++ Builder

Hi all,

Can i use SDL in the Borland C++ Builder (Compiler 5.02)

Bert Berrevoets.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: Bert Berrevoets.vcf
Type: text/x-vcard
Size: 388 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/19990804/9d2372d7/attachment.vcf

Hi all,

Can i use SDL in the Borland C++ Builder (Compiler 5.02)

I’ve never tried it, but there’s no reason why not…

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Hi all,

Can i use SDL in the Borland C++ Builder (Compiler 5.02)

I’ve never tried it, but there’s no reason why not…

-Sam Lantinga (slouken at devolution.com)

Ok.but can someone tell me how?

I don’t have much experience on a pc so please can some one help me.

----- Original Message -----
From: slouken@devolution.com (Sam Lantinga)
To:
Sent: Wednesday, August 04, 1999 8:22 PM
Subject: Re: [SDL] C++ Builder

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

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