View previous topic :: View next topic |
Author |
Message |
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sun Oct 31, 2004 9:19 pm Post subject: SDL Linux fixes in SVN |
|
|
Okay, I've got the Linux fixes for SDL in the trunk, along with a linux make file. I ask that you Linux guys please checkout the latest and make sure it builds for you, at least. If you want to do any tests beyond that, I'll be grateful. |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Mon Nov 01, 2004 10:35 am Post subject: |
|
|
Ya, I got derelictSDL.a to build i just had to create the ../obj directory and add loader.o into it.
The readme should probably be updated now.
edit: the code is fine it builds and runs my project out of the box
Last edited by clayasaurus on Mon Nov 01, 2004 3:00 pm; edited 1 time in total |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Mon Nov 01, 2004 10:40 am Post subject: |
|
|
I should be able to start Linux testing in about a week. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Mon Nov 01, 2004 5:31 pm Post subject: |
|
|
Thanks
I need to do something about that object directory. On Windows, if the directory exists when mkdir is called, life goes on. On Linux, however, it craps out if the directory exists. I need to figure out how to script the Makefile so that mkdir isn't called if the obj directory already exists. That will eliminate the need to create a new obj dir manually. I'm a noob when it comes to shell scripting. |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Mon Nov 08, 2004 11:21 am Post subject: |
|
|
i think image.d needs a
module derelict.sdl.image;
declaration at the beginning of the file, otherwise i'm plauged with "module is in multiply defined" errors. |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Mon Nov 08, 2004 12:57 pm Post subject: |
|
|
clayasaurus wrote: | i think image.d needs a
module derelict.sdl.image;
declaration at the beginning of the file, otherwise i'm plauged with "module is in multiply defined" errors. |
This is probably true in order to specify which package image is in (especially if there are multiple image files in the project). I believe that leaving out the module statement causes the module name to default to the file name, ie...
module image;
Later,
John |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Tue Nov 09, 2004 5:47 am Post subject: |
|
|
clayasaurus wrote: | i think image.d needs a
module derelict.sdl.image;
declaration at the beginning of the file, otherwise i'm plauged with "module is in multiply defined" errors. |
Thanks. The fix is now in svn. |
|
Back to top |
|
|
ThomasK
Joined: 09 Nov 2004 Posts: 5 Location: Old Europe :)
|
Posted: Tue Nov 09, 2004 6:21 am Post subject: |
|
|
aldacron wrote: | On Linux, however, it craps out if the directory exists. I need to figure out how to script the Makefile so that mkdir isn't called if the obj directory already exists. That will eliminate the need to create a new obj dir manually. |
mkdir -p somedir |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Tue Nov 09, 2004 7:57 pm Post subject: |
|
|
ThomasK wrote: |
mkdir -p somedir |
Thank you! |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Tue Nov 09, 2004 9:45 pm Post subject: |
|
|
The updated Makefile.linux is now in svn. |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Thu Nov 18, 2004 11:47 am Post subject: |
|
|
mixer.d needs the same treatment of image.d : )
module derelict.sdl.mixer; |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Thu Nov 18, 2004 7:15 pm Post subject: |
|
|
clayasaurus wrote: | mixer.d needs the same treatment of image.d : )
module derelict.sdl.mixer; |
Grrr. I could have sworn I checked that when I fixed image.d. Must have looked at audio.d instead. Fixed and committed. |
|
Back to top |
|
|
|