Thread overview
DMC compatibility with SDL?
May 28, 2003
Gregory Peet
May 30, 2003
Robert M. Münch
Jun 11, 2003
Wichetael
Jun 11, 2003
Greg Peet
May 28, 2003
I was wondering if anyone has tried using SDL (http://www.libsdl.org) with DMC? Any success, fixes, comments?

-- 
-Gregory Peet

STLSoft FAQ:
http://stlsoft.gregpeet.com

Golden Rule of Open-Source Programming:
"Don't whine about something unless you are going to implement it yourself."


May 30, 2003
Am Tue, 27 May 2003 18:04:16 -0700 hat Gregory Peet <admin@gregpeet.com> geschrieben:

> I was wondering if anyone has tried using SDL (http://www.libsdl.org) with DMC? Any success, fixes, comments?

Hi, I once played around with TinyPTC and got it to work with DMC and DMD. Same with SDL for DMD. Can't remember for DMC but I don' see why there should be big problems.

--
Robert M. Münch
IT & Management Freelancer
http://www.robertmuench.de
June 11, 2003
I've been successfull in compiling an SDL program with DMC on a Win32 platform the other day, you need to do a couple of things though:

When compiling for Win32:
1) for sdl.lib you can simply use the sdl.lib for Borland distributed with
the SDL developer library, you could of couse always make your own.
2) for sdl_main.lib you need to make your own version with DMC, you'll need
to do a little bit of make file modifying.
3) Then when linking you need to include the /ENTRY:_WinMain@16 switch for
the linker. That because of the fact that the entry point is in the library
sdl_main and OPTLINK only looks for entry points in the object files and not
in the libraries.

Regards,
Remko van der Vossen

"Gregory Peet" <admin@gregpeet.com> wrote in message news:bb11ml$22bd$1@digitaldaemon.com...
> I was wondering if anyone has tried using SDL (http://www.libsdl.org) with DMC? Any success, fixes, comments?
>
> --
> -Gregory Peet
>
> STLSoft FAQ:
> http://stlsoft.gregpeet.com
>
> Golden Rule of Open-Source Programming:
> "Don't whine about something unless you are going to implement it
yourself."
>
>


June 11, 2003
Thanks!

"Wichetael" <wichetael@gmx.net> wrote in message news:bc7feg$28n7$1@digitaldaemon.com...
> I've been successfull in compiling an SDL program with DMC on a Win32 platform the other day, you need to do a couple of things though:
>
> When compiling for Win32:
> 1) for sdl.lib you can simply use the sdl.lib for Borland distributed with
> the SDL developer library, you could of couse always make your own.
> 2) for sdl_main.lib you need to make your own version with DMC, you'll
need
> to do a little bit of make file modifying.
> 3) Then when linking you need to include the /ENTRY:_WinMain@16 switch for
> the linker. That because of the fact that the entry point is in the
library
> sdl_main and OPTLINK only looks for entry points in the object files and
not
> in the libraries.
>
> Regards,
> Remko van der Vossen
>
> "Gregory Peet" <admin@gregpeet.com> wrote in message news:bb11ml$22bd$1@digitaldaemon.com...
> > I was wondering if anyone has tried using SDL (http://www.libsdl.org)
with
> > DMC? Any success, fixes, comments?
> >
> > --
> > -Gregory Peet
> >
> > STLSoft FAQ:
> > http://stlsoft.gregpeet.com
> >
> > Golden Rule of Open-Source Programming:
> > "Don't whine about something unless you are going to implement it
> yourself."
> >
> >
>
>