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

Got build error and things are overwhelming. Need help :(

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



Joined: 09 May 2009
Posts: 8

PostPosted: Sat May 09, 2009 8:23 am    Post subject: Got build error and things are overwhelming. Need help :( Reply with quote

Hello everyone. I've been interested in D programming language for a while now but never got my hand on it. I'd like to try game programming with D+Derelict. However, when I tried to compile the program according to DMedia tutorial, I got this error.

Code:
 Error 42: Symbol Undefined _D8derelict6opengl2gl10DerelictGL4loadFAaZv


I've been trying to search for tutorial and similar questions. However, it seems to confuse me more and more with dsss and all the other stuffs.

I use dmd1.03 which I think come with Phobos as a standard library. I can compile .d just fine though. Also, my OS is XP. I'm using Code::Blocks as an IDE.


Thank you in advance for your help. If you need anymore information please ask.
Back to top
View user's profile Send private message
aldacron



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

PostPosted: Sat May 09, 2009 8:02 pm    Post subject: Reply with quote

Have you built and linked the Derelict libs? When you aren't using a build tool like Rebuild or Bud, which compile and link all imported modules automatically, you need to build the libraries yourself and link the ones you are using. You'll also need to link with DerelictUtil.lib, as all of the other Derelict packages depend on it.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
hima



Joined: 09 May 2009
Posts: 8

PostPosted: Sun May 10, 2009 12:48 am    Post subject: Reply with quote

aldacron, thank you for your answer.
I believed I've successfully built derelict with dsss. However, I do not know how to link it like you suggested. I'll try looking into into myself first then Smile

Anyway, should I be using Rebuild or Bud instead? Is DSSS considered as a build tool also?

EDIT: I got it to work now, by linking all the libraries like you said in the Code::Blocks IDE. Thank you very much Smile
Back to top
View user's profile Send private message
exploder



Joined: 15 Jul 2008
Posts: 3

PostPosted: Sat May 16, 2009 4:26 am    Post subject: how to built derelict Reply with quote

can anyone show the correct detail steps??
I build derelict failed!
Back to top
View user's profile Send private message
hima



Joined: 09 May 2009
Posts: 8

PostPosted: Fri May 22, 2009 11:30 pm    Post subject: Reply with quote

What IDE are you using? And by failing to build, you mean failing to build using DSSS or dmd? It would be nice if you post the error message as well.


As for what I did, I built the library with dsss, and copy all the source files and .lib file to dmd include folder. I then configure Code::Blocks digital mars d compiler to look for library and include files in those folders.
Back to top
View user's profile Send private message
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