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

Build and Duit

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Sun Apr 02, 2006 6:21 am    Post subject: Build and Duit Reply with quote

I'm trying to build Duit on linux using build, but the process fails because ../build/duit.d try to import ../lib/lib.d which is not in the repository. If I remove the import, ar seems to complete successfully, but I suspect that some object files will be missing.

Is lib.d missing, or is it an extranous line in duit.d?
Back to top
View user's profile Send private message
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Sun Apr 02, 2006 6:40 am    Post subject: Reply with quote

oh, and demos ain't linuxified... DUIT.LIB is referenced directly in demo.brf

Hmm, and for some reason only ../ is searched thus gtk/Version.d ain't found. TestWindow.a is built if -I.. is removed from demo.brf, but how is that one supposed to be used further?

Just wondering, I'll probably look into this myself later.
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sun Apr 02, 2006 9:29 am    Post subject: Re: Build and Duit Reply with quote

larsivi wrote:
I'm trying to build Duit on linux using build, but the process fails because ../build/duit.d try to import ../lib/lib.d which is not in the repository. If I remove the import, ar seems to complete successfully, but I suspect that some object files will be missing.

Is lib.d missing, or is it an extranous line in duit.d?

duit.d is build automatically but evidently poorly tested
(I use leds for all my D development).

lib/lib.d does NOT exist
missing in duit.d: lib.Loader and lib.paths (maybe built was smart enough to find these 2 modules by it self)

also lines:
"\n version (Windows) pragma (target, \"DUIT.lib\" );"
"\n version (linux) pragma (target, \"libDUIT.a\" );"
should contain "Duit" not "DUIT".

I just commited these changes to the svn repository (139).
(still not tested - I have yet to install build)

Ant
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sun Apr 02, 2006 9:42 am    Post subject: Reply with quote

larsivi wrote:
oh, and demos ain't linuxified... DUIT.LIB is referenced directly in demo.brf

Hmm, and for some reason only ../ is searched thus gtk/Version.d ain't found. TestWindow.a is built if -I.. is removed from demo.brf, but how is that one supposed to be used further?

Just wondering, I'll probably look into this myself later.

TestWindow is the main for DuitTests. it shuld be compiled to an exec renamed "DuitTests".

I'll see about providing a compilation script.

Ant
Back to top
View user's profile Send private message
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Sun Apr 02, 2006 1:33 pm    Post subject: Reply with quote

Hmm, you added an extranous d to the imports, so the compilation failed with a rather confusing error message Wink

If you dare giving me access to the repository, I might help you fix minor issues here and there.
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sun Apr 02, 2006 6:54 pm    Post subject: Reply with quote

larsivi wrote:
Hmm, you added an extranous d to the imports, so the compilation failed with a rather confusing error message Wink

If you dare giving me access to the repository, I might help you fix minor issues here and there.

Embarassed

Ok I'm going to install 'build' so I can test the build.d before releasing it.
I'm going to ask Brad to add you to the DUI members.
please notice (almost) every thing under the 'src' branch is generated automatically, there is not point changing things there.

Ant
Back to top
View user's profile Send private message
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Mon Apr 03, 2006 3:20 am    Post subject: Reply with quote

dmd v.0.150 removed the std.c.stdio dependency, so the debug version won't compile, the "import std.c.stdio" must be changed to "import std.stdio".

I don't really understand the conversion/wrapping stuff, so I don't see where this should be changed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD 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