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

Me (newbie) experience with Visual D

 
Post new topic   Reply to topic     Forum Index -> Visual D
View previous topic :: View next topic  
Author Message
lloyd



Joined: 16 May 2011
Posts: 18
Location: Australia

PostPosted: Fri May 20, 2011 6:11 am    Post subject: Me (newbie) experience with Visual D Reply with quote

I blogged about it there!
http://www.galador.net/codeblog/post/2011/05/20/D-for-NET-programmer.aspx

I find out one problem, I reckon (toward the bottom, when linking) the Libraries path seems not to work!
Back to top
View user's profile Send private message AIM Address
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Fri May 20, 2011 10:54 am    Post subject: Reply with quote

Nice introduction and interesting report.

One comment: DFL is not only D1, maybe you did not get hold of the latest version. But the designer might not generate D2 code, I don't know.

There is also a global options page for Visual D, where you can setup system wide import and library paths. This avoids adding absolute paths to the project configuration.

So what could be done to improve the experience?

- the error message emitted by dmd when it does not find an import is one of the least comprehensible of the compiler. But I don't think Visual D is the place to fix it.

- the symbol names in linker errors can be intimidating. Visual D could try to translate the output to readable names, but this might make it more difficult to investigate problems on the object file level.

- The library search path option in the project configuration page at least needs some hint that more needs to be done to make the option work.
Back to top
View user's profile Send private message
lloyd



Joined: 16 May 2011
Posts: 18
Location: Australia

PostPosted: Fri May 20, 2011 11:22 am    Post subject: Reply with quote

Indeed I have to give a new try at DFL now that I can compile something!
Although.. DGUI looks good too! Smile
Back to top
View user's profile Send private message AIM Address
lloyd



Joined: 16 May 2011
Posts: 18
Location: Australia

PostPosted: Mon May 23, 2011 7:59 am    Post subject: Reply with quote

I posted some more!
http://galador.net/codeblog/post/2011/05/23/Discovering-D-and-Visual-Studio-(continued%E2%80%A6).aspx

This time I build DGui myself and linked my test project to "my" DGui project.
Worked a treat, yoohoo!!

Next time I will actually write some code hopefully! Smile
Back to top
View user's profile Send private message AIM Address
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Mon May 23, 2011 3:59 pm    Post subject: Reply with quote

Nice blog. I'm thinking about putting a link somewhere on the Visual D page to help beginners get going. Sounds good for you?

BTW: if you have a dependency on a library project, you don't need to add the library and its path to the configuration of the depndent project. The library is automatically added to the link.
Back to top
View user's profile Send private message
lloyd



Joined: 16 May 2011
Posts: 18
Location: Australia

PostPosted: Mon May 23, 2011 8:01 pm    Post subject: Reply with quote

Thanks! Smile you are very welcome to link to it hey!
BTW, you can use the 'D' category to filter to ... D!
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Visual D 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