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

Search found 12 matches
Forum Index
Author Message
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Fri Nov 28, 2008 6:54 am   Subject: Derelict crashes when compiled as shared library
Tried both static and shared.

with my own buildscript (included in the file i posted before) it crashes, with dsss build it doesnt crash, its very strange, even if i link it by hand later it doesnt ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Fri Nov 28, 2008 3:49 am   Subject: Derelict crashes when compiled as shared library
been testing some, strange thing is that the libs built with dsss and i compile my app with dsss doesnt crash on me even with the old way in there, but the libs libDerelictSDL.a etc has the SDL_Init e ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Fri Nov 28, 2008 3:33 am   Subject: Derelict crashes when compiled as shared library
According to the devs its behaving as it should be and the typedef way adds alot of bloat, this way also works


extern(C) {
alias int function(Uint32) pfSDL_Init;
}
p ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Fri Nov 28, 2008 3:10 am   Subject: Derelict crashes when compiled as shared library
but that will be a symbol that is supposed to be linked against the library right?

what the alias does if im not mistaking is defining int function(Uint32) pfSDL_Init to have a C calling conversion ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Thu Nov 27, 2008 4:07 am   Subject: Derelict crashes when compiled as shared library
I do not, but when i compile SDL_Init gets exported by the compiler, so there will be a SDL_Init symbol in the library. So even when ive loaded libSDL using DerelictSDL.load() it seems to point to bog ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Wed Nov 26, 2008 1:53 pm   Subject: changes
here is the changes that ive made, all files should be converted to using alias insted.

I need osmeone to test this stuff with more major applications then my test app Smile Also static builds etc mig ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Tue Nov 25, 2008 5:09 pm   Subject: Derelict crashes when compiled as shared library
According to the devs its behaving as it should be and the typedef way adds alot of bloat, this way also works


extern(C) {
alias int function(Uint32) pfSDL_Init;
}
p ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Tue Nov 25, 2008 4:09 pm   Subject: Derelict crashes when compiled as shared library
this can be a LDC related problem tho, gonna talk with the devs to see if its supposed to behave like this at all .. as long as its not a function it feels like it should not export it ... but i might ...
  Topic: Derelict crashes when compiled as shared library
MrSunshine

Replies: 12
Views: 6365

PostForum: Derelict   Posted: Tue Nov 25, 2008 3:59 pm   Subject: Derelict crashes when compiled as shared library
Been reasearching why for a while and got to thinking ...


extern (C) {
typedef int function(Uint32) pfSDL_Init;
pfSDL_Init SDL_Init;
}


then in libSDL.so there ...
  Topic: MD2 Has arived =)
MrSunshine

Replies: 0
Views: 7909

PostForum: Odin's Eye   Posted: Wed Jun 18, 2008 12:44 am   Subject: MD2 Has arived =)
MD2 models are now supported in Odin's Eye, Textures are set by using techniques in the material format.

It isnt that hard to load, this is subject to change tho as im planing some remaking of enti ...
  Topic: Welcome
MrSunshine

Replies: 5
Views: 6741

PostForum: Odin's Eye   Posted: Thu Jun 12, 2008 12:19 pm   Subject: Welcome
Sorry the project has been on hold for some time, atm im working on converting the material files to xml files insted of the current custom format as i see no loss on it and the parser gets updated wi ...
  Topic: Welcome
MrSunshine

Replies: 5
Views: 6741

PostForum: Odin's Eye   Posted: Mon Feb 25, 2008 2:54 pm   Subject: Welcome
Welcome to the forum Smile

So, as you might understand from the wiki page this is an engine inspired by Ogre.. its not the same engine but will be very similar Smile

As i also write on the wiki this i ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group