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

Search found 19 matches
Forum Index
Author Message
  Topic: Segmentation Fault in DerelictSDL
tbone

Replies: 21
Views: 13066

PostForum: Derelict   Posted: Tue Jan 11, 2011 3:18 pm   Subject: Segmentation Fault in DerelictSDL
Now the same issue is popping up for me with certain compiler optimizations turned on.

Its the same issue, SFML trying to call the glXGetConfig() defined in my binary rather than the one that it's ...
  Topic: Segmentation Fault in DerelictSDL
tbone

Replies: 21
Views: 13066

PostForum: Derelict   Posted: Mon Jan 10, 2011 3:35 pm   Subject: Segmentation Fault in DerelictSDL
Might be something in dmd then, because it is working fine for me with gdc
  Topic: Segmentation Fault in DerelictSDL
tbone

Replies: 21
Views: 13066

PostForum: Derelict   Posted: Mon Jan 10, 2011 1:27 pm   Subject: Segmentation Fault in DerelictSDL
Try *NOT* linking with --export-dynamic or -rdynamic
  Topic: Derelict SFML bindings compatible with 1.6?
tbone

Replies: 5
Views: 4154

PostForum: Derelict   Posted: Mon Jan 10, 2011 1:12 pm   Subject: Derelict SFML bindings compatible with 1.6?
I am having the same issue, I think it has to do with libcsfml-window.so and libcsfml-graphics.so being linked to libGL and the X libraries.

When compiled with derelict.opengl.gl, glXGetConfig is a ...
  Topic: Container/Box API Suggestion
tbone

Replies: 1
Views: 2623

PostForum: gtkD   Posted: Mon Dec 28, 2009 7:18 am   Subject: Container/Box API Suggestion
A pattern I have noticed when building GUIs with containers is this:


VBox vb = new VBox(false, false);
add(vb);
with(vb) {
// create and add stuff in the VBox
...
  Topic: Compiling Problem : identifier 'DerelictGLContext'
tbone

Replies: 12
Views: 6182

PostForum: Derelict   Posted: Sun Nov 08, 2009 9:49 pm   Subject: Compiling Problem : identifier 'DerelictGLContext'
The example I am trying to compile is from http://dmedia.dprogramming.com/?n=Tutorials.SdlGlTutorial3?action=sourceblock&ref=3
  Topic: Compiling Problem : identifier 'DerelictGLContext'
tbone

Replies: 12
Views: 6182

PostForum: Derelict   Posted: Sun Nov 08, 2009 9:47 pm   Subject: Compiling Problem : identifier 'DerelictGLContext'
A quick patch to make stuff compile & link properly:


Index: DerelictUtil/derelict/util/loader.d
===================================================================
--- DerelictUtil/dere ...
  Topic: Compiling Problem : identifier 'DerelictGLContext'
tbone

Replies: 12
Views: 6182

PostForum: Derelict   Posted: Sun Nov 08, 2009 7:28 pm   Subject: Compiling Problem : identifier 'DerelictGLContext'
Yeah, FreeBSD does link in libc automaticly, so the pragma isn't needed.

I haven't had a chance to test Derelict yet, I can only confirm it'll compile, which is half the problem of porting most of ...
  Topic: Compiling Problem : identifier 'DerelictGLContext'
tbone

Replies: 12
Views: 6182

PostForum: Derelict   Posted: Sun Nov 08, 2009 6:00 pm   Subject: Compiling Problem : identifier 'DerelictGLContext'
Sweet, that compiles now
  Topic: Compiling Problem : identifier 'DerelictGLContext'
tbone

Replies: 12
Views: 6182

PostForum: Derelict   Posted: Sun Nov 08, 2009 2:12 pm   Subject: Compiling Problem : identifier 'DerelictGLContext'
No, it doesn't.

That is why I was trying to figure out where D gets the symbols at compile time.
  Topic: Compiling Problem : undefined identifier importLibs
tbone

Replies: 9
Views: 5378

PostForum: gtkD   Posted: Sun Nov 08, 2009 11:58 am   Subject: Compiling Problem : undefined identifier importLibs
Sweet! Works from a fresh check out now. The only thing it is complaining about now is sed syntax in demoselect, which doesn't cause a build error just doesn't update the dsss.conf file properly.

...
  Topic: Compiling Problem : identifier 'DerelictGLContext'
tbone

Replies: 12
Views: 6182

PostForum: Derelict   Posted: Sun Nov 08, 2009 11:43 am   Subject: Compiling Problem : identifier 'DerelictGLContext'
hmm, its still bitching about GLXContext

It is in the headers, but isn't a symbol in the library, so I don't understand how D is suppose to find it (it works on my linux box which has (nearly) the ...
  Topic: Compiling Problem : undefined identifier importLibs
tbone

Replies: 9
Views: 5378

PostForum: gtkD   Posted: Sat Nov 07, 2009 11:04 am   Subject: Compiling Problem : undefined identifier importLibs
-ldl keeps creeping in from somewhere and I can't figure out where. I have even removed all occurrences of it from the gtkd tree.

However when manually compiling some of the demos, most (some) of ...
  Topic: Compiling Problem : undefined identifier importLibs
tbone

Replies: 9
Views: 5378

PostForum: gtkD   Posted: Sat Nov 07, 2009 10:44 am   Subject: Compiling Problem : undefined identifier importLibs
It doesn't seem to like an else block for version without curly brackets.

Changing it to:

version (freebsd) {

} else {

}

works, although I think linking against libdl is a corner case f ...
  Topic: Compiling Problem : identifier 'DerelictGLContext'
tbone

Replies: 12
Views: 6182

PostForum: Derelict   Posted: Sat Nov 07, 2009 10:37 am   Subject: Compiling Problem : identifier 'DerelictGLContext'
Yeah, GLXContext should work.

I can't find that symbol directly in libGL.so, but it might dlopen another library.

Another note for FreeBSD that we ran into in gtkd was linking against -ldl, whic ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group