On 4/10/12, vmars316 <vmars316@live.com> wrote:
> This is day 4 of me trying to Compile a (tutorial) myForm.d
> program with D/Dfl/Entice.
Almost a year ago a newbie had the same issue. I gave him some short instructions but apparently this post isn't in the archives for some reason. Anyway the instructions were:
msysgit:
$ git clone https://github.com/Rayerd/dfl.git
cmd.exe (set these paths to where DM and DMD are installed)
$ set dmc_path=C:\dm
$ set dmd_path=C:\DMD\dmd2
$ cd dfl\win32\dfl
$ makelib.bat
Wait for it to build, then:
$ set dfl_lib=%cd%\dfl.lib
$ cd..
$ set dfl_import=%cd%
$ cd ../..
$ mkdir testdfl
$ cd testdfl
Copy this example to a test.d file: http://wiki.dprogramming.com/Dfl/Tutorial2
And then run:
$ dmd test.d -I%dfl_import% %dfl_lib%
$ test.exe
Ultimately you would use the dfl_import and dfl_lib variables in a build script of some sort, maybe a batch file. E.g. if you've cloned the DFL repository to C:\git\dfl you could use this build.bat batch file:
@echo off
setlocal EnableDelayedExpansion
set "DFL_LIB=C:\git\dfl\win32\dfl\dfl.lib"
set "DFL_IMPORT=C:\git\dfl\win32"
dmd -I%DFL_IMPORT% %DFL_LIB% test.d
and this would build test.d to test.exe.

On Tuesday, 10 April 2012 at 20:07:41 UTC, Andrej Mitrovic wrote:
> On 4/10/12, vmars316 <vmars316@live.com> wrote:
Ah, this looks thorough.
It'll probably be a while before I respond,
because GIT is all new to me.
I am starting here: http://help.github.com/win-set-up-git/
Thanks...vm

On 4/10/12, vmars316 <vmars316@live.com> wrote:
> On Tuesday, 10 April 2012 at 20:07:41 UTC, Andrej Mitrovic wrote:
>> On 4/10/12, vmars316 <vmars316@live.com> wrote:
>> Ah, this looks thorough.
> It'll probably be a while before I respond,
> because GIT is all new to me.
> I am starting here: http://help.github.com/win-set-up-git/> Thanks...vm
>
You can use the zip download: https://github.com/Rayerd/dfl/zipball/master

On Tuesday, 10 April 2012 at 22:31:44 UTC, Andrej Mitrovic wrote:
> On 4/10/12, vmars316 <vmars316@live.com> wrote:
>> On Tuesday, 10 April 2012 at 20:07:41 UTC, Andrej Mitrovic
> You can use the zip download: https://github.com/Rayerd/dfl/zipball/master
A couple years ago i learned HotBasic. An awesome language.
(www.vmars316.com has some freeware programs, with source.)
Quick to write, and tiny executables. But no workem on MAC.
No HotBasic GUI, so I built my own blockStyle GUI.
This year I started on a DIY EECP (external heart pump),
which led me to Arduino, for which I have to learn "C".
Also. This year i decided to leard a language
that IS crossplatform, like "D". So I Bought the "D" book.
I used to program on IBM mainframes.
I am a retired senior citizen.
My vocation became my vacation. :)
But this GitHub seems to be a horrendous chore.
It looks like at least a weeks worth of asking questions.
Is there any way of downloading an already built
DFL_LIB & DFL_IMPORT
Or if git is the only way to build these,
is there a portable version available.
Thanks...Vernon

On Tuesday, 10 April 2012 at 22:31:44 UTC, Andrej Mitrovic wrote:
> You can use the zip download: https://github.com/Rayerd/dfl/zipball/master
...ok, i downloaded PortableGit-1.7.10-preview20120409.7z
and i put it here:
C:\D\dmd2\windows\Dfl\import\dfl\win32\dflexe
I am not sure if i need GTK (for D DFL and Entice),
but i put it here:
C:\D\dmd2\windows\Dfl\import\dfl\gtk\dfl
and i ran the following:
Start configuring git with your personal settings:
git config --global user.name "..................."
git config --global user.name ...................
and ran git --help
How do I build the dfl.lib (DFL_LIB & DFL_IMPORT),
and whatever else i need to run D DFL and Entice ?
Thanks..vm

On 4/11/12, vmars316 <vmars316@live.com> wrote:
> How do I build the dfl.lib (DFL_LIB & DFL_IMPORT),
Didn't you get this message:
msysgit:
$ git clone https://github.com/Rayerd/dfl.git
cmd.exe (set these paths to where DM and DMD are installed)
$ set dmc_path=C:\dm
$ set dmd_path=C:\DMD\dmd2
$ cd dfl\win32\dfl
$ makelib.bat
Wait for it to build, then:
$ set dfl_lib=%cd%\dfl.lib
$ cd..
$ set dfl_import=%cd%
$ cd ../..
$ mkdir testdfl
$ cd testdfl
Copy this example to a test.d file: http://wiki.dprogramming.com/Dfl/Tutorial2
And then run:
$ dmd test.d -I%dfl_import% %dfl_lib%
$ test.exe
Ultimately you would use the dfl_import and dfl_lib variables in a build script of some sort, maybe a batch file. E.g. if you've cloned the DFL repository to C:\git\dfl you could use this build.bat batch file:
@echo off
setlocal EnableDelayedExpansion
set "DFL_LIB=C:\git\dfl\win32\dfl\dfl.lib"
set "DFL_IMPORT=C:\git\dfl\win32"
dmd -I%DFL_IMPORT% %DFL_LIB% test.d
and this would build test.d to test.exe.

On Thursday, 12 April 2012 at 05:18:22 UTC, Andrej Mitrovic wrote:
> On 4/12/12, vmars316 <vmars316@live.com> wrote:
>> What is looking for? *import* something?
>> Remove the space between '-I' and the import path.
Ah, Thank you very much, works perfectly.
Ok, so that's Dmd with Dfl.
The myForm.exe is 743K large.
That doesn't seem right.
Now, I would like to compile/run the myForm.d program
with Dmd, Entice, and Dfl .
My Run-Entice-myForm.bat file looks like this:
pause START of Run-Entice-myForm.bat
setlocal EnableDelayedExpansion
set "DFL_LIB=C:\D\dmd2\windows\Dfl\import\dfl\win32\dfl\dfl.lib"
set "DFL_IMPORT=C:\D\dmd2\windows\Dfl\import\dfl\win32\"
Entice.exe C:\D\dmd2\windows\Entice\vmPrograms\myForm\myForm.d -I%DFL_IMPORT% %DFL_LIB%
If i have a -gui switch in there, i get an "Unrecognized Switch -gui" error.
How can I get Entice to show GUI mode?
Also, Entice reads in the entire dfl.lib into a separate Tab. Is that normal?
I need some help with the "Compile Command" that Entice asks for.
Nothng I try works.
Thanks..vm