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

Search found 7 matches
Forum Index
Author Message
  Topic: Derelict2 building problems
NewbyProgrammer

Replies: 8
Views: 14572

PostForum: Derelict   Posted: Tue Apr 19, 2011 8:52 pm   Subject: Derelict2 building problems
Okay. Looks like dmd on linux wasn't doing well with linking. Using gdc I got it to compile with linker flags and without pragmas. Still have to include import derelict.util.loader though.

import d ...
  Topic: Derelict2 building problems
NewbyProgrammer

Replies: 8
Views: 14572

PostForum: Derelict   Posted: Mon Apr 18, 2011 10:11 pm   Subject: Derelict2 building problems
Sorry I should have been more careful with my wording. I don't get linker errors if I compile with the import. Without the import I get linker errors. Is that not strange?
  Topic: Derelict2 building problems
NewbyProgrammer

Replies: 8
Views: 14572

PostForum: Derelict   Posted: Mon Apr 18, 2011 10:01 pm   Subject: Derelict2 building problems
import derelict.openal.al;

void main() {
DerelictAL.load();
}

That one compiles fine when I add import derelict.util.loader;

$ dmd altest.d -L-lDerelict ...
  Topic: Derelict2 building problems
NewbyProgrammer

Replies: 8
Views: 14572

PostForum: Derelict   Posted: Mon Apr 18, 2011 7:18 pm   Subject: Derelict2 building problems
I've checked and rechecked and I'm sure that's not the problem. I compiled with

dmd gltest.d -L-L/usr/lib -L-L/usr/local/lib -L-lDerelictUtil -L-lDerelictGL -L-ldl

and it still won't work. My dm ...
  Topic: Derelict2 building problems
NewbyProgrammer

Replies: 8
Views: 14572

PostForum: Derelict   Posted: Mon Apr 18, 2011 2:32 pm   Subject: Derelict2 building problems
I looked at dgl.d and changed my code to this

pragma(lib, "dl");
pragma(lib, "/usr/lib/libDerelictGL.a");
pragma(lib, "/usr/lib/libDerelictUtil.a" ...
  Topic: Derelict2 building problems
NewbyProgrammer

Replies: 8
Views: 14572

PostForum: Derelict   Posted: Mon Apr 18, 2011 2:04 pm   Subject: Derelict2 building problems
I can't compile any opengl program on linux with Derelict2. But first, I want to ask questions about the documentation and building this:

import derelict.util.loader;
import derelict.open.al;

v ...
  Topic: Installing Derelict 2 with DSSS
NewbyProgrammer

Replies: 4
Views: 10250

PostForum: Derelict   Posted: Fri Apr 08, 2011 8:01 pm   Subject: Installing Derelict 2 with DSSS
Trying to install Derelict on arch linux 64-bits with dsss. I installed all the dsss folders to their respective places in /usr/local but I'm geting this weird error:

Creating imports for DerelictU ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group