Building DFL

SaltySugar Butkustomas777 at gmail.com
Fri Jan 25 01:48:40 PST 2013


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...


More information about the Digitalmars-d mailing list