c++.chat - DMC compatibility with SDL?
- Gregory Peet (8/8) May 27 2003 I was wondering if anyone has tried using SDL (http://www.libsdl.org) wi...
- =?iso-8859-15?Q?=22Robert_M._M=FCnch=22?= (9/11) May 30 2003 Hi, I once played around with TinyPTC and got it to work with DMC and DM...
- Wichetael (16/24) Jun 11 2003 I've been successfull in compiling an SDL program with DMC on a Win32
- Greg Peet (7/36) Jun 11 2003 Thanks!
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 27 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
May 30 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 ityourself."
Jun 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'llneedto 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 thelibrarysdl_main and OPTLINK only looks for entry points in the object files andnotin the libraries. Regards, Remko van der Vossen "Gregory Peet" <admin gregpeet.com> wrote in message news:bb11ml$22bd$1 digitaldaemon.com...withI was wondering if anyone has tried using SDL (http://www.libsdl.org)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 ityourself."
Jun 11 2003