View previous topic :: View next topic |
Author |
Message |
hima
Joined: 09 May 2009 Posts: 8
|
Posted: Sat May 09, 2009 8:23 am Post subject: Got build error and things are overwhelming. Need help :( |
|
|
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 |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sat May 09, 2009 8:02 pm Post subject: |
|
|
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 |
|
|
hima
Joined: 09 May 2009 Posts: 8
|
Posted: Sun May 10, 2009 12:48 am Post subject: |
|
|
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
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 |
|
Back to top |
|
|
exploder
Joined: 15 Jul 2008 Posts: 3
|
Posted: Sat May 16, 2009 4:26 am Post subject: how to built derelict |
|
|
can anyone show the correct detail steps??
I build derelict failed! |
|
Back to top |
|
|
hima
Joined: 09 May 2009 Posts: 8
|
Posted: Fri May 22, 2009 11:30 pm Post subject: |
|
|
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 |
|
|
|