www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Building DFL

reply "SaltySugar" <Butkustomas777 gmail.com> writes:
Hey guys. I have a problem when building DFL.
My Console:

C:\D\dmd2\packages\dfl\examples\d2>dfl hello.d
DFL lib files not found.
Would you like to build the DFL lib files now? [Y/n]

I press y.

Then:

Compiling debug DFL...

C:\D\dmd2\import\dfl>C:\D\dmd2\windows\bin\dmd -c -debug -g    
-I.. all.d base.d
  application.d internal/dlib.d internal/clib.d internal/utf.d 
internal/com.d con
trol.d form.d registry.d drawing.d menu.d notifyicon.d 
commondialog.d filedialog
.d folderdialog.d panel.d textbox.d richtextbox.d picturebox.d 
listbox.d groupbo
x.d splitter.d usercontrol.d button.d label.d collections.d 
internal/winapi.d in
ternal/wincom.d event.d socket.d timer.d environment.d 
messagebox.d tooltip.d co
mbobox.d treeview.d tabcontrol.d colordialog.d listview.d data.d 
clipboard.d fon
tdialog.d progressbar.d resources.d statusbar.d imagelist.d 
toolbar.d
application.d(1845): Deprecation: use of typedef is deprecated; 
use alias instea
d
application.d(1845): Deprecation: use of typedef is deprecated; 
use alias instea
d
internal\winapi.d(1726): Deprecation: use of typedef is 
deprecated; use alias in
stead
internal\winapi.d(1726): Deprecation: use of typedef is 
deprecated; use alias in
stead
socket.d(89): Error: module intrinsic is in file 
'std\intrinsic.d' which cannot
be read
import path[0] = ..
import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[2] = C:\D\dmd2\windows\bin\..\..\src\druntime\import

Failed.

Done.
Could Not Find C:\D\dmd2\import\dfl\*.obj

DFL lib files not found.
Error: dfl_debug.lib not found

How to fix It? :(
Jan 25 2013
parent reply "SaltySugar" <Butkustomas777 gmail.com> writes:
On Friday, 25 January 2013 at 09:06:30 UTC, SaltySugar wrote:
 Hey guys. I have a problem when building DFL.
 My Console:

 C:\D\dmd2\packages\dfl\examples\d2>dfl hello.d
 DFL lib files not found.
 Would you like to build the DFL lib files now? [Y/n]

 I press y.

 Then:

 Compiling debug DFL...

 C:\D\dmd2\import\dfl>C:\D\dmd2\windows\bin\dmd -c -debug -g    
 -I.. all.d base.d
  application.d internal/dlib.d internal/clib.d internal/utf.d 
 internal/com.d con
 trol.d form.d registry.d drawing.d menu.d notifyicon.d 
 commondialog.d filedialog
 .d folderdialog.d panel.d textbox.d richtextbox.d picturebox.d 
 listbox.d groupbo
 x.d splitter.d usercontrol.d button.d label.d collections.d 
 internal/winapi.d in
 ternal/wincom.d event.d socket.d timer.d environment.d 
 messagebox.d tooltip.d co
 mbobox.d treeview.d tabcontrol.d colordialog.d listview.d 
 data.d clipboard.d fon
 tdialog.d progressbar.d resources.d statusbar.d imagelist.d 
 toolbar.d
 application.d(1845): Deprecation: use of typedef is deprecated; 
 use alias instea
 d
 application.d(1845): Deprecation: use of typedef is deprecated; 
 use alias instea
 d
 internal\winapi.d(1726): Deprecation: use of typedef is 
 deprecated; use alias in
 stead
 internal\winapi.d(1726): Deprecation: use of typedef is 
 deprecated; use alias in
 stead
 socket.d(89): Error: module intrinsic is in file 
 'std\intrinsic.d' which cannot
 be read
 import path[0] = ..
 import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos
 import path[2] = C:\D\dmd2\windows\bin\..\..\src\druntime\import

 Failed.

 Done.
 Could Not Find C:\D\dmd2\import\dfl\*.obj

 DFL lib files not found.
 Error: dfl_debug.lib not found

 How to fix It? :( I'm using dmd 2.061
Jan 25 2013
parent reply "Zhenya" <zheny list.ru> writes:
On Friday, 25 January 2013 at 09:07:44 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 09:06:30 UTC, SaltySugar wrote:
 Hey guys. I have a problem when building DFL.
 My Console:

 C:\D\dmd2\packages\dfl\examples\d2>dfl hello.d
 DFL lib files not found.
 Would you like to build the DFL lib files now? [Y/n]

 I press y.

 Then:

 Compiling debug DFL...

 C:\D\dmd2\import\dfl>C:\D\dmd2\windows\bin\dmd -c -debug -g    
 -I.. all.d base.d
 application.d internal/dlib.d internal/clib.d internal/utf.d 
 internal/com.d con
 trol.d form.d registry.d drawing.d menu.d notifyicon.d 
 commondialog.d filedialog
 .d folderdialog.d panel.d textbox.d richtextbox.d picturebox.d 
 listbox.d groupbo
 x.d splitter.d usercontrol.d button.d label.d collections.d 
 internal/winapi.d in
 ternal/wincom.d event.d socket.d timer.d environment.d 
 messagebox.d tooltip.d co
 mbobox.d treeview.d tabcontrol.d colordialog.d listview.d 
 data.d clipboard.d fon
 tdialog.d progressbar.d resources.d statusbar.d imagelist.d 
 toolbar.d
 application.d(1845): Deprecation: use of typedef is 
 deprecated; use alias instea
 d
 application.d(1845): Deprecation: use of typedef is 
 deprecated; use alias instea
 d
 internal\winapi.d(1726): Deprecation: use of typedef is 
 deprecated; use alias in
 stead
 internal\winapi.d(1726): Deprecation: use of typedef is 
 deprecated; use alias in
 stead
 socket.d(89): Error: module intrinsic is in file 
 'std\intrinsic.d' which cannot
 be read
 import path[0] = ..
 import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos
 import path[2] = 
 C:\D\dmd2\windows\bin\..\..\src\druntime\import

 Failed.

 Done.
 Could Not Find C:\D\dmd2\import\dfl\*.obj

 DFL lib files not found.
 Error: dfl_debug.lib not found

 How to fix It? :( I'm using dmd 2.061
Maybe you tried to compile an old version of dfl.If yes,try this: https://github.com/Rayerd/dfl
Jan 25 2013
parent reply "SaltySugar" <Butkustomas777 gmail.com> writes:
On Friday, 25 January 2013 at 09:28:47 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 09:07:44 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 09:06:30 UTC, SaltySugar wrote:
 Hey guys. I have a problem when building DFL.
 My Console:

 C:\D\dmd2\packages\dfl\examples\d2>dfl hello.d
 DFL lib files not found.
 Would you like to build the DFL lib files now? [Y/n]

 I press y.

 Then:

 Compiling debug DFL...

 C:\D\dmd2\import\dfl>C:\D\dmd2\windows\bin\dmd -c -debug -g
  -I.. all.d base.d
 application.d internal/dlib.d internal/clib.d internal/utf.d 
 internal/com.d con
 trol.d form.d registry.d drawing.d menu.d notifyicon.d 
 commondialog.d filedialog
 .d folderdialog.d panel.d textbox.d richtextbox.d 
 picturebox.d listbox.d groupbo
 x.d splitter.d usercontrol.d button.d label.d collections.d 
 internal/winapi.d in
 ternal/wincom.d event.d socket.d timer.d environment.d 
 messagebox.d tooltip.d co
 mbobox.d treeview.d tabcontrol.d colordialog.d listview.d 
 data.d clipboard.d fon
 tdialog.d progressbar.d resources.d statusbar.d imagelist.d 
 toolbar.d
 application.d(1845): Deprecation: use of typedef is 
 deprecated; use alias instea
 d
 application.d(1845): Deprecation: use of typedef is 
 deprecated; use alias instea
 d
 internal\winapi.d(1726): Deprecation: use of typedef is 
 deprecated; use alias in
 stead
 internal\winapi.d(1726): Deprecation: use of typedef is 
 deprecated; use alias in
 stead
 socket.d(89): Error: module intrinsic is in file 
 'std\intrinsic.d' which cannot
 be read
 import path[0] = ..
 import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos
 import path[2] = 
 C:\D\dmd2\windows\bin\..\..\src\druntime\import

 Failed.

 Done.
 Could Not Find C:\D\dmd2\import\dfl\*.obj

 DFL lib files not found.
 Error: dfl_debug.lib not found

 How to fix It? :( I'm using dmd 2.061
Maybe you tried to compile an old version of dfl.If yes,try this: https://github.com/Rayerd/dfl
Now it says: Compiling debug DFL... C:\D\dmd2\import\dfl>C:\D\dmd2\windows\bin\dmd -c -debug -g -version=DFL_NO_DRAG _DROP -version=DFL_NO_MENUS -version=DFL_NO_RESOURCES -version=DFL_NO_IMAGELIST -version=NO_MDI -version=DFL_NO_COMPAT -version=DFL_NO_MULTIPLE_SCREENS -wi -I. . all.d base.d application.d internal/dlib.d internal/clib.d internal/utf.d inte rnal/com.d control.d clippingform.d form.d registry.d drawing.d menu.d notifyico n.d commondialog.d filedialog.d folderdialog.d panel.d textbox.d richtextbox.d p icturebox.d listbox.d groupbox.d splitter.d usercontrol.d button.d label.d colle ctions.d internal/winapi.d internal/wincom.d event.d socket.d timer.d environmen t.d messagebox.d tooltip.d combobox.d treeview.d tabcontrol.d colordialog.d list view.d data.d clipboard.d fontdialog.d progressbar.d resources.d statusbar.d ima gelist.d toolbar.d environment.d(536): Error: switch case fallthrough - use 'goto case;' if intende d environment.d(538): Error: switch case fallthrough - use 'goto case;' if intende d environment.d(541): Error: switch case fallthrough - use 'goto default;' if inte nded environment.d(527): Warning: statement is not reachable Failed. Done. Could Not Find C:\D\dmd2\import\dfl\*.obj C:\D\dmd2\import\dflexe>dmd -debug -ofbin\dfl.exe dflexe.d -Ic:\dmd\import dfl_d ebug.lib -L/exet:nt/su:console:4.0 -version=DFL_NO_DRAG_DROP -version=DFL_NO_MEN US -version=DFL_NO_RESOURCES -version=DFL_NO_IMAGELIST -version=NO_MDI -version= DFL_NO_COMPAT -version=DFL_NO_MULTIPLE_SCREENS dflexe.d(27): Error: module all is in file 'dfl\all.d' which cannot be read import path[0] = c:\dmd\import import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos import path[2] = C:\D\dmd2\windows\bin\..\..\src\druntime\import About to rebuild dfl libs again to reset the compile flags...
Jan 25 2013
parent reply "Zhenya" <zheny list.ru> writes:
Which version of dmd are you using?
Jan 25 2013
parent reply "SaltySugar" <Butkustomas777 gmail.com> writes:
On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
Jan 25 2013
parent reply "Zhenya" <zheny list.ru> writes:
On Friday, 25 January 2013 at 10:17:48 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
I am using dmd 2.060. I just have built it. Try to open ...\dfl-master\win32\dfl\makelib.bat
Jan 25 2013
next sibling parent "Zhenya" <zheny list.ru> writes:
On Friday, 25 January 2013 at 10:21:27 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:17:48 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
I am using dmd 2.060. I just have built it. Try to open ...\dfl-master\win32\dfl\makelib.bat
If the same error occur,you should edit the file "environment.d"
Jan 25 2013
prev sibling parent reply "SaltySugar" <Butkustomas777 gmail.com> writes:
On Friday, 25 January 2013 at 10:21:27 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:17:48 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
I am using dmd 2.060. I just have built it. Try to open ...\dfl-master\win32\dfl\makelib.bat
Maybe I don't know how to install it? I replaced C:\D\dmd2\import\dfl with dfl_master\win_32\dfl Then copied dfl_master\win_32\dflexe to C:\D\dmd2\import I installed it correctly?
Jan 25 2013
next sibling parent "SaltySugar" <Butkustomas777 gmail.com> writes:
On Friday, 25 January 2013 at 10:28:26 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:21:27 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:17:48 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
I am using dmd 2.060. I just have built it. Try to open ...\dfl-master\win32\dfl\makelib.bat
Maybe I don't know how to install it? I replaced C:\D\dmd2\import\dfl with dfl_master\win_32\dfl Then copied dfl_master\win_32\dflexe to C:\D\dmd2\import Have I installed it correctly?
Jan 25 2013
prev sibling parent reply "Zhenya" <zheny list.ru> writes:
On Friday, 25 January 2013 at 10:28:26 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:21:27 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:17:48 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
I am using dmd 2.060. I just have built it. Try to open ...\dfl-master\win32\dfl\makelib.bat
Maybe I don't know how to install it? I replaced C:\D\dmd2\import\dfl with dfl_master\win_32\dfl Then copied dfl_master\win_32\dflexe to C:\D\dmd2\import I installed it correctly?
Sorry I am not very familiar with that. But I build it succefuly by only executing ...\dfl-master\win32\dfl\makelib.bat. Your errors may be caused by new dmd In that case you should manually change the file environment.d and everything will be allright.
Jan 25 2013
parent reply "SaltySugar" <Butkustomas777 gmail.com> writes:
On Friday, 25 January 2013 at 10:33:42 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:28:26 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:21:27 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:17:48 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
I am using dmd 2.060. I just have built it. Try to open ...\dfl-master\win32\dfl\makelib.bat
Maybe I don't know how to install it? I replaced C:\D\dmd2\import\dfl with dfl_master\win_32\dfl Then copied dfl_master\win_32\dflexe to C:\D\dmd2\import I installed it correctly?
Sorry I am not very familiar with that. But I build it succefuly by only executing ...\dfl-master\win32\dfl\makelib.bat. Your errors may be caused by new dmd In that case you should manually change the file environment.d and everything will be allright.
maybe you can send me yours environment.d file?
Jan 25 2013
parent reply "Zhenya" <zheny list.ru> writes:
On Friday, 25 January 2013 at 10:37:00 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:33:42 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:28:26 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:21:27 UTC, Zhenya wrote:
 On Friday, 25 January 2013 at 10:17:48 UTC, SaltySugar wrote:
 On Friday, 25 January 2013 at 10:15:33 UTC, Zhenya wrote:
 Which version of dmd are you using?
dmd 2.061. I tried building DFL on dmd 2.059 too.
I am using dmd 2.060. I just have built it. Try to open ...\dfl-master\win32\dfl\makelib.bat
Maybe I don't know how to install it? I replaced C:\D\dmd2\import\dfl with dfl_master\win_32\dfl Then copied dfl_master\win_32\dflexe to C:\D\dmd2\import I installed it correctly?
Sorry I am not very familiar with that. But I build it succefuly by only executing ...\dfl-master\win32\dfl\makelib.bat. Your errors may be caused by new dmd In that case you should manually change the file environment.d and everything will be allright.
maybe you can send me yours environment.d file?
My is the same.I just use dmd 2.060. But it is quite simple to edit it. I think you should just add goto statements: int a = 1; switch(a) { case 1: goto case 2; case 2: {} goto default; default: {} } Sorry if I am useless(
Jan 25 2013
parent " FrankLike" <1150015857 qq.com> writes:
  DFL CAN USING D2.065 FOR WIN
You can get it by
   git clone http://github.com/FrankLIKE


Christopher E. Miller,thank you.
Mar 26 2014