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

can arclib output the SDL errors?

 
Post new topic   Reply to topic     Forum Index -> ArcLib
View previous topic :: View next topic  
Author Message
qseft



Joined: 08 Jun 2007
Posts: 4

PostPosted: Thu Sep 13, 2007 3:08 pm    Post subject: can arclib output the SDL errors? Reply with quote

Code:
throw new Exception("Failed to load image for texture " ~ texFileName);

It has told us here there is a error, but it has not told us why the error is here.
Back to top
View user's profile Send private message
ChristianK



Joined: 26 Sep 2006
Posts: 159
Location: Berlin, Germany

PostPosted: Fri Sep 14, 2007 2:44 am    Post subject: Reply with quote

In short: No, Arc can't do it yet. In fact, our error handling is pretty poor all around. Mostly, we do just throw a generic exception if something doesn't work.

However, this is an area in which we definitely want to improve. If you have written error handling code for IMG_Load to figure out your error, we'd be delighted to incorporate it into Arc.
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Fri Sep 14, 2007 9:15 am    Post subject: Reply with quote

Where did you get that code from? I've updated the tango branches to include a little bit more information. I'd recommend to use DSSS to get arclib, as well.

~ Clay
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> ArcLib 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