www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Latest versions of Entice Designer and DFL?

reply "vmars316" <vmars316 live.com> writes:
Win7:
Greetings,
Ok, I got the command line for dmd2 running (Hello World). :)

Now I would like to install a Visual GUI Builder.
Not knowing any better, think I'll try "Entice Designer and DFL".
The most current versions I can find are for 2008.
Are there more current versions? Url please.
Is there a combined *.zip install for them?
Also, is "Entice Designer and DFL" a reasonable choice?
I am always oopen for a better option.

Thanks...Vernon
Apr 08 2012
next sibling parent Kevin Cox <kevincox.ca gmail.com> writes:
--0015175cfa8e1c0b6504bd31eeee
Content-Type: text/plain; charset=UTF-8

On Apr 8, 2012 4:49 PM, "vmars316" <vmars316 live.com> wrote:
 Win7:
 Greetings,
 Ok, I got the command line for dmd2 running (Hello World). :)

 Now I would like to install a Visual GUI Builder.
 Not knowing any better, think I'll try "Entice Designer and DFL".
 The most current versions I can find are for 2008.
 Are there more current versions? Url please.
 Is there a combined *.zip install for them?
 Also, is "Entice Designer and DFL" a reasonable choice?
 I am always oopen for a better option.

 Thanks...Vernon

If you want to use QtD you can use QtDesigner and I think QtD has a moc for D. Worst case you can dynamically load the "forum" from the xml file QtDesigner spits out. --0015175cfa8e1c0b6504bd31eeee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p><br> On Apr 8, 2012 4:49 PM, &quot;vmars316&quot; &lt;<a href=3D"mailto:vmars316= live.com">vmars316 live.com</a>&gt; wrote:<br> &gt;<br> &gt; Win7:<br> &gt; Greetings,<br> &gt; Ok, I got the command line for dmd2 running (Hello World). :)<br> &gt;<br> &gt; Now I would like to install a Visual GUI Builder.<br> &gt; Not knowing any better, think I&#39;ll try &quot;Entice Designer and D= FL&quot;.<br> &gt; The most current versions I can find are for 2008.<br> &gt; Are there more current versions? Url please.<br> &gt; Is there a combined *.zip install for them?<br> &gt; Also, is &quot;Entice Designer and DFL&quot; a reasonable choice?<br> &gt; I am always oopen for a better option.<br> &gt;<br> &gt; Thanks...Vernon</p> <p>If you want to use QtD you can use QtDesigner and I think QtD has a moc = for D.=C2=A0 Worst case you can dynamically load the &quot;forum&quot; from= the xml file QtDesigner spits out.<br> </p> --0015175cfa8e1c0b6504bd31eeee--
Apr 08 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
On Sunday, 8 April 2012 at 21:54:22 UTC, Kevin Cox wrote:
 If you want to use QtD you can use QtDesigner and I think QtD 
 has a moc for
 D.  Worst case you can dynamically load the "forum" from the 
 xml file
 QtDesigner spits out.

Thanks. I can't find where it is actually working yet. Or what else needs to be installed for it to work. There is a download for it though: http://code.google.com/p/qtd/downloads/list But yes I would surely be interested if it works well. ...Vernon
Apr 08 2012
prev sibling next sibling parent "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Sunday, 8 April 2012 at 20:45:12 UTC, vmars316 wrote:
 Win7:
 Greetings,
 Ok, I got the command line for dmd2 running (Hello World). :)

 Now I would like to install a Visual GUI Builder.
 Not knowing any better, think I'll try "Entice Designer and 
 DFL".
 The most current versions I can find are for 2008.
 Are there more current versions? Url please.
 Is there a combined *.zip install for them?
 Also, is "Entice Designer and DFL" a reasonable choice?
 I am always oopen for a better option.

 Thanks...Vernon

You can find the latest code for DFL here: https://github.com/Rayerd/dfl Entice designer won't be as friendly as other GUI Builders you might have used, but it is nice. I don't know of any updates to the code. I'd say the choice is reasonable, but maybe not what you'd expect, there isn't a whole lot of choice on this front.
Apr 08 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
Greets,
I will set up a new thread for "How to set up QTD?".

What i would like to continue with here is
to Get DFL and Entice up and running.

I set things up like this:

C:\D\dmd2\Entice
C:\D\dmd2\windows\bin\DFL

Is this correct?

I found some docs that said:

Example commands:
    dfl -gui helloworld.d
    dmd helloworld.d dfl_debug.lib -debug -L/exet:nt/su:windows:4.0

Does that mean I need to make a .bat for each .d file I want to 
compile with?
And that I need to fire up DFL first, then dmd

Also, I don't see any docs for Entice.
Please, aim me where I need to go.

Thanks...Vernon
Apr 08 2012
prev sibling next sibling parent "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Monday, 9 April 2012 at 02:42:27 UTC, vmars316 wrote:
 Greets,
 I will set up a new thread for "How to set up QTD?".

 What i would like to continue with here is
 to Get DFL and Entice up and running.

 I set things up like this:

 C:\D\dmd2\Entice
 C:\D\dmd2\windows\bin\DFL

The zip file from the main website http://www.dprogramming.com/dfl.php is structured such that, I believe you just extract in into dmd2, or dmd2/windows don't what it looks like.
 Is this correct?

 I found some docs that said:

 Example commands:
    dfl -gui helloworld.d
    dmd helloworld.d dfl_debug.lib -debug 
 -L/exet:nt/su:windows:4.0

Those are 2 separate examples, you can either use dfl.exe (found in the zip), or you can call dmd directly as shown.
 Also, I don't see any docs for Entice.
 Please, aim me where I need to go.

The main page is http://www.dprogramming.com/entice.php and I think that is all you will find.
Apr 08 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
On Monday, 9 April 2012 at 03:23:52 UTC, Jesse Phillips wrote:
Thanks,
I have DFL here: C:\D\dmd2\windows\bin\DFL
and Entice here: C:\D\dmd2\windows\bin\Entice

I decided to take the BUD route from here:
http://www.dsource.org/projects/build

And I installed it here: C:\D\dmd2\vmPrograms\BUDsrc

and my Bud.Bat looks like this:

bud myForm.d -info -gui -version=gui -run -V
pause

But what happens,
is that the the .bat goes into an endless loop.
It never gets to the "pause" statement.
I did a search in C:\D\dmd2\vmPrograms\ and sub folders
for *.exe . There are none.
I was expecting Bud.exe but found none.

Can someone help me with this?
Surely, I can't be the only one trying this.

Thanks...vm


Here are the BUD Commonly Used Switches:

-cleanup      Ensures that all working files created during the 
run are removed.
-full         Causes all source files, except ignored modules, to 
be compiled.
-info         Displays the version and path of the Bud application
-names        Displays the names of the files used in building 
the target.
-noautoimport Prevents source file paths from being added to the 
list of Import Roots
-obj          Just creates object files. No linker or librarian 
is launched.
-od           Nominates the temporary file directory.
-run          Runs the application after successful linking.
-silent       Prevents unnecessary messages being displayed.
-T<name>      Identifies the target name to Bud.
-test         Does a test run only. No compiling, linking or 
library work is done.
-V            Set verbose mode on for just Bud and not for the 
compiler
-X<name>      Identifies a module or package to ignore
Apr 09 2012
prev sibling next sibling parent "Jesse Phillips" <Jessekphillips+D gmail.com> writes:
On Monday, 9 April 2012 at 17:35:41 UTC, vmars316 wrote:

 and my Bud.Bat looks like this:

 bud myForm.d -info -gui -version=gui -run -V
 pause

Well, now you've added a level of indirection, which just makes identifying an issue even harder. You're going to need to step back from the build system for a moment and either use dfl.exe or the dmd command suggested. If your program is more than one file, make a program that is only one file. My only observation is -gui is not a command for bud.
Apr 09 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
On Monday, 9 April 2012 at 18:34:36 UTC, Jesse Phillips wrote:
  You're going to need to step
 back from the build system for a moment and either use dfl.exe 
 or the dmd command suggested. If your program is more than one 
 file, make a program that is only one file.

 My only observation is -gui is not a command for bud.

No prob stepping back. D/DFL/Entice was my original goal, got side tracked. Installing D/DFL/Entice is very frustrating. There seems to be no roadmap, so many links, some meaningful. I can't tell which are uptodate, which are not. For instance, right now i am searching for DFL KEYWORDS. I searched this forum, and straight google, but got nowhere. I wish there was a webPage that says "These are the most up to date DOCS for installing D, DFL, Entice. Last Updated: 04/09/2012". Anyways, I tried the following .bat to get dflKeywords: C:\D\dmd2\windows\bin\dfl.exe -help pause But no go. I tried this to run dfl.exe: C:\D\dmd2\windows\bin\dfl.exe -gui C:\D\dmd2\windows\bin\vmPrograms\myForm\myForm.d (the above is all one line) pause I got the following results: C:\D\dmd2\windows\bin\vmPrograms\myForm>C:\D\dmd2\windows\bin\dfl.exe -gui C:\D\ dmd2\windows\bin\vmPrograms\myForm\myForm.d DFL lib files not found. Would you like to build the DFL lib files now? [Y/n] y Error: DFL import directory not found C:\D\dmd2\windows\bin\vmPrograms\myForm>pause Press any key to continue . . . How can I link DFL/Entice/LIBS up? Is there a Envvironmental.variables that I should be setting? Or should I Dump dfl.exe into the LIBs Directory? Thanks...vm
Apr 09 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
Greetings,

I went to a second computer,
and reDownloded & Installed D/Dfl/Entice:
  dinstaller.exe , dfl098-installer.exe , entice08502.exe

The following are A few more things that confuses
and frustrates us newbies.

1) dinstall.exe creates 'C:\D\dmd2\'.

2) But Dfl-installer(dfl098.exe) looks for this 'C:\D\dmd\'
and wont install without it. At least is said so.
I don't know if dfl installed or not. Confusing.

3) Entice-installer(entice08502) installs here
==> C:\Program Files (x86)\Entice

Trial and error, isn't my favorite MO.

BTW: How can I see if things are installed correctly.

I can edit myForm.d (from Entice Tutorial) with Entice,
but can't yet compile. I am having trouble with
the Compile Command.
Entice keeps asking me for 'Compile Commands'.

I tried a whole bunch of dmd.exe 'Keyword Options'
like 'dmd.exe -D -quiet -Dddocdir -H',
and even just 'dmd.exe' .
But the best I could squeeze out of it was
a list of Keyword Options.

Can anyone help me with this?

This is my fourth day of trying to get D/Dfl/Entice working 
correctly.

Thanks...vm
Apr 10 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
I have been up all nite,trying to figure this out (6:21am).
Well, I have gotten this far with compile myForm.d .

C:\D\dmd2\windows\vmPrograms\myForm>call dmd.exe 
C:\D\dmd2\windows\vmPrograms\my
Form\myForm.d -D -quiet -Dddocdir -H
C:\D\dmd2\windows\vmPrograms\myForm\myForm.d(1): Error: module 
all is in file 'dfl\all.d' which cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import

Press any key to continue . . .

I have searched my entire computer,
but there is no file named: dfl.all .
There is an all.d ,
but i think it is saying above, that all.d is corrupt.
Can anyone help me compile this puppy?

Here is the code:

import dfl.all;

int main()
{
    Form myForm;
    Label myLabel;

    myForm = new Form;
    myForm.text = "DFL Example";

    myLabel = new Label;
    myLabel.font = new Font("Verdana", 14f);
    myLabel.text = "Hello, DFL World!";
    myLabel.location = Point(15, 15);
    myLabel.autoSize = true;
    myLabel.parent = myForm;

    Application.run(myForm);

    return 0;
    }

Thanks...vm
Apr 10 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
I have been up all nite,trying to figure this out (6:21am).
Well, I have gotten this far with compile myForm.d .

C:\D\dmd2\windows\vmPrograms\myForm>call dmd.exe
C:\D\dmd2\windows\vmPrograms\my
Form\myForm.d -D -quiet -Dddocdir -H
C:\D\dmd2\windows\vmPrograms\myForm\myForm.d(1): Error: module
all is in file 'dfl\all.d' which cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import

Press any key to continue . . .

I have searched my entire computer,
but there is no file named: dfl.all .
There is an all.d ,
but i think it is saying above, that all.d is corrupt.
Can anyone help me compile this puppy?

Here is the code:

import dfl.all;

int main()
{
      Form myForm;
      Label myLabel;

      myForm = new Form;
      myForm.text = "DFL Example";

      myLabel = new Label;
      myLabel.font = new Font("Verdana", 14f);
      myLabel.text = "Hello, DFL World!";
      myLabel.location = Point(15, 15);
      myLabel.autoSize = true;
      myLabel.parent = myForm;

      Application.run(myForm);

      return 0;
      }

Thanks...vm
Apr 10 2012
prev sibling next sibling parent "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Monday, 9 April 2012 at 20:18:06 UTC, vmars316 wrote:

 C:\D\dmd2\windows\bin\dfl.exe -gui 
 C:\D\dmd2\windows\bin\vmPrograms\myForm\myForm.d
 (the above is all one line)
 pause

 I got the following results:

 C:\D\dmd2\windows\bin\vmPrograms\myForm>C:\D\dmd2\windows\bin\dfl.exe 
 -gui C:\D\
 dmd2\windows\bin\vmPrograms\myForm\myForm.d
 DFL lib files not found.
 Would you like to build the DFL lib files now? [Y/n] y
 Error: DFL import directory not found

I suggest trying to get this method to work. DFL.exe is very picky about the directory structure. I'll have to double check the exact relationship I have (at work), but the source files for dfl are in an import folder. To get a working intsall I just extracted the zip from the main site into what I think will be your c:\D\dmd2\ then I copied the github source for win32 on top of that. The zip file ended up just being a way to install dfl.exe and know where things need to go.
Apr 10 2012
prev sibling next sibling parent "Jesse Phillips" <Jessekphillips+D gmail.com> writes:
On Tuesday, 10 April 2012 at 14:21:35 UTC, Jesse Phillips wrote:
 I suggest trying to get this method to work.

 DFL.exe is very picky about the directory structure. I'll have 
 to double check the exact relationship I have (at work), but 
 the source files for dfl are in an import folder. To get a 
 working intsall I just extracted the zip from the main site 
 into what I think will be your c:\D\dmd2\ then I copied the 
 github source for win32 on top of that.

 The zip file ended up just being a way to install dfl.exe and 
 know where things need to go.

My structure is: C:\opt\dmd\import\dfl\ (source files) C:\opt\dmd\bin\dfl.exe So if you place dfl.exe in dmd2\windows\bin then it stands to reason import\ should be in windows\ Oh, and in one of your other replies you mention dfl.all, that is not what the message said, it was dfl/all.d which is the file you found. Hopefully that will get you off the ground.
Apr 10 2012
prev sibling next sibling parent "vmars316" <vmars316 live.com> writes:
On Tuesday, 10 April 2012 at 15:19:40 UTC, Jesse Phillips wrote:
 On Tuesday, 10 April 2012 at 14:21:35 UTC, Jesse Phillips wrote:

I deleted all of "D" files and started over: OK, yes, I used the dfl098.zip structure you recommended: My install structure now looks like this: C:\D\dmd2\windows\bin C:\D\dmd2\windows\Dfl\bin (dfl.exe) C:\D\dmd2\windows\Dfl\import\dfl (dfl.exe) C:\D\dmd2\windows\Entice C:\D\dmd2\windows\Entice\vmPrograms (myForm.d) * 'myForm.d' is the Tutorial-program I am trying to Compile.
To get a
 working intsall I just extracted the zip from the main site 
 into what I think will be your c:\D\dmd2\ then I copied the 
 github source for win32 on top of that. So if you place 
 dfl.exe in dmd2\windows\bin then it stands to reason import\ 
 should be in windows\


I don't understand what "copied the github source for win32 on top of that" is all about. Do I need to Build something from this source? I sure hope I can get this compile working before day 5. Thanks...vm
Apr 10 2012
prev sibling parent "vmars316" <vmars316 live.com> writes:
* I tried to compile myForm.d   like this:
When Entice asks for a CommandLine, I enter the following:

C:\D\dmd2\windows\Entice\vmPrograms\myForm>call 
C:\D\dmd2\windows\bin\dfl.exe -g
ui C:\D\dmd2\windows\Entice\vmPrograms\myForm\myForm.d 
C:\D\dmd2\windows\Dfl\lib

DFL lib files not found.
Would you like to build the DFL lib files now? [Y/n] y
Error: DFL import directory not found

Press any key to continue . . .

Other than a commandLine,
How can I connect up Entice/dfl  ?
C:\D\dmd2\windows\Dfl\lib
C:\D\dmd2\windows\Dfl\import

Thanks...vm
Apr 10 2012