FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SDL Linux fixes in SVN

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Sun Oct 31, 2004 9:19 pm    Post subject: SDL Linux fixes in SVN Reply with quote

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
View user's profile Send private message Send e-mail
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Nov 01, 2004 10:35 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Mon Nov 01, 2004 10:40 am    Post subject: Reply with quote

I should be able to start Linux testing in about a week.
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon Nov 01, 2004 5:31 pm    Post subject: Reply with quote

Thanks Smile

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
View user's profile Send private message Send e-mail
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Nov 08, 2004 11:21 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Mon Nov 08, 2004 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Tue Nov 09, 2004 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
ThomasK



Joined: 09 Nov 2004
Posts: 5
Location: Old Europe :)

PostPosted: Tue Nov 09, 2004 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Tue Nov 09, 2004 7:57 pm    Post subject: Reply with quote

ThomasK wrote:

mkdir -p somedir


Thank you!
Back to top
View user's profile Send private message Send e-mail
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Tue Nov 09, 2004 9:45 pm    Post subject: Reply with quote

The updated Makefile.linux is now in svn.
Back to top
View user's profile Send private message Send e-mail
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Nov 18, 2004 11:47 am    Post subject: Reply with quote

mixer.d needs the same treatment of image.d : )

module derelict.sdl.mixer;
Back to top
View user's profile Send private message AIM Address
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Thu Nov 18, 2004 7:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group