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

Not building on Windows. Different problems

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
QueChatosComRegistos



Joined: 23 Nov 2006
Posts: 16

PostPosted: Thu Nov 23, 2006 11:47 am    Post subject: Not building on Windows. Different problems Reply with quote

Following the instructions of DMedia, I uncompressed everything on a ext\folder. I tried to compile my program and the error "Error 42: Symbol Undefined _D8derelict6opengl2gl10DerelictGL4loadFAaZv" poped out. So I thought maybe I should compile the libraries first...

Following the instructions on the derelict page:

Code:

C:\dmd\trunk>dmd -run buildme.d
object.d: module object cannot read file 'object.d'


Oops... let's put in the include folder...

Code:

C:\dmd\trunk>dmd -run -IC:\dmd\src\phobos buildme.d
-IC:\dmd\src\phobos.d: module phobos cannot read file '-IC:\dmd\src\phobos.d'


Hum.... I gave him a folder, not a file... I don't get it. But wait, the page says that it is a guide to build with bud... why is DMD on the examples?! So, new command:

Code:

C:\dmd\trunk>bud_win_3.04.dbg -IC:\dmd\src\phobos buildme.d
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Digital Mars Librarian complete.


Allright!!! It compiled...but wait.... .\lib should have files, right? Where did they go?

Code:

C:\dmd\trunk>dir
 O volume na unidade C não tem nome
 O número de série do volume é 685F-D0AC

 Directório de C:\dmd\trunk

23-11-2006  17:40    <DIR>          .
23-11-2006  17:40    <DIR>          ..
23-11-2006  17:26             7.680 buildme.bak
16-10-2006  19:35             6.072 buildme.d
23-11-2006  17:40                13 buildme.def
23-11-2006  17:40             7.680 buildme.lib
23-11-2006  17:40                36 buildme.lsp
23-11-2006  17:40             5.561 buildme.obj
23-11-2006  17:40                59 buildme.rsp


Hum... I thought that the buildme was a script to spit out other lib files...

By the way

Code:

C:\dmd\trunk>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programas\OrCAD\
tools\PSpice\Library;C:\Programas\OrCAD\tools\bin;C:\Programas\OrCAD\tools\fet\b
in;C:\Programas\OrCAD\tools\Capture;C:\Programas\Ficheiros comuns\GTK\2.0\bin;C:
\Programas\Microsoft Visual Studio\Common\Tools\WinNT;C:\Programas\Microsoft Vis
ual Studio\Common\MSDev98\Bin;C:\Programas\Microsoft Visual Studio\Common\Tools;
C:\Programas\Microsoft Visual Studio\VC98\bin;c:\dmd\bin;c:\dmd\lib;c:\dmd\src\p
hobos


Did I do something wrong?! Don't beat me up, I'm new to D and command line compilers....
Back to top
View user's profile Send private message
QueChatosComRegistos



Joined: 23 Nov 2006
Posts: 16

PostPosted: Thu Nov 23, 2006 11:54 am    Post subject: Advances! Reply with quote

I thought of changing the order in which I present the commands... it appears that it works!

Code:

C:\dmd\trunk>dmd -IC:\dmd\src\phobos\ -run buildme.d release

Scanning for buildable packages...


Preparing to build package DerelictAL in Release mode...
Reading build tool arguments...
Creating temporary build response file...
Building package...
object.d: module object cannot read file 'object.d'


 DerelictAL failed to build.

Prima qualquer tecla para continuar . . .


Maybe not....
Back to top
View user's profile Send private message
QueChatosComRegistos



Joined: 23 Nov 2006
Posts: 16

PostPosted: Thu Nov 23, 2006 2:27 pm    Post subject: Solved the problem Reply with quote

Well I copied everything inside the folder "phobos" of the DMD to the "trunk" and everything compiled no problem.

Thanks guys, your help was priceless!!!
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Sun Nov 26, 2006 5:55 pm    Post subject: Re: Solved the problem Reply with quote

QueChatosComRegistos wrote:
Well I copied everything inside the folder "phobos" of the DMD to the "trunk" and everything compiled no problem.

This sounds like a problem with Delelict rather than Build. Have you asked those guys for some help?

QueChatosComRegistos wrote:
Thanks guys, your help was priceless!!!

Your sarcasm is noted but not appreciated.

You first post arrived at 3:47AM and you had a workaround by 6:27AM - a total of 2h40m duration. Do you really expect that we are just sitting around 24x7 waiting for people to report such life-threatening problems?
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build 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