www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Derelict+Tango

reply Kamil Dabrowski <nameczanin gmail.com> writes:
Well, I'm trying to compile Derelict with Tango and I see the following output
from dmd: 

warning - io.File functionality has migrated to static functions within
io.device.File 
buildme.d(176): Error: class buildme.Builder D compiler and phobos' object.d
are mismatched 
buildme.d(248): Error: class buildme.BudBuilder D compiler and phobos' object.d
are mismatched

I use it like that: 
dmd -run buildme.d

with the PATH set and sc.ini file with content: 
[Version] 
version=7.51 Build 020 

[Environment] 
LIB=% P%\..\..\tango\lib 
DFLAGS=-version=Tango  "-I% P%\..\..\tango\import"
-defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd-d.lib
-L+tango-user-dmd.lib 

My dmd1 folder lies near tango folder. DMD is the latest 1.047 version and
derelict r377 (also latest). 


I have also read that Tango environment can be compiled only using Rebuild. So
I do:

rebuild buildme.d

but results are similiar, in exception that these errors are in a larger number:

warning - io.File functionality has migrated to static functions within
io.device.File 
buildme.d(176): Error: class buildme.Builder D compiler and phobos' object.d
are mismatched 
buildme.d(248): Error: class buildme.BudBuilder D compiler and phobos'
object.dare mismatched 
warning - io.File functionality has migrated to static functions within
io.device.File 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\
ango\io\File.d(37): Error: class tango.io.File.File D compiler and phobos'
object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io
device\File.d(133): Error: class tango.io.device.File.File D compiler and
phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io\
evice\Device.d(29): Error: class tango.io.device.Device.Device D compiler and
phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io\d
vice\Conduit.d(39): Error: class tango.io.device.Conduit.Conduit D compiler and
phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io\de
ice\Conduit.d(293): Error: class tango.io.device.Conduit.InputFilter D compiler
and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io\de
ice\Conduit.d(409): Error: class tango.io.device.Conduit.OutputFilter D
compiler andphobos' object.d are mismatched 
Assertion failure: 'classinfo->structsize == CLASSINFO_SIZE' on line 859 in
file 'toobj.c' abnormal program termination 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango
sys\Process.d(148): Error: class tango.sys.Process.Process D compiler and
phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\
ys\Process.d(1949): Error: class tango.sys.Process.ProcessCreateException D
compiler and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\
ys\Process.d(1967): Error: class tango.sys.Process.ProcessForkException D
compiler and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\
ys\Process.d(1978): Error: class tango.sys.Process.ProcessKillException D
compiler and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\
ys\Process.d(1990): Error: class tango.sys.Process.ProcessWaitException D
compiler and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tan
o\io\Console.d(57): Error: class tango.io.Console.Console.Input D compiler and
phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tang
\io\Console.d(214): Error: class tango.io.Console.Console.Output D compiler and
phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tang
\io\Console.d(407): Error: class tango.io.Console.Console.Conduit D compiler
and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io\st
eam\Buffered.d(57): Error: class tango.io.stream.Buffered.BufferedInput D
compiler and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io\str
am\Buffered.d(835): Error: class tango.io.stream.Buffered.BufferedOutput D
compiler and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\t
ngo\sys\Pipe.d(32): Error: class tango.sys.Pipe.PipeConduit D compiler and
phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\ta
go\sys\Pipe.d(144): Error: class tango.sys.Pipe.Pipe D compiler and phobos'
object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tang
\io\FilePath.d(64): Error: class tango.io.FilePath.FilePath D compiler and
phobos' object.dare mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\text\c
nvert\Layout.d(70): Error: class tango.text.convert.Layout.Layout!(char).Layout
D compiler and phobos' object.d are mismatched 
E:\programming\DCIDE\DCIDE_package\dmd1\bin\..\..\tango\import\tango\io\
tream\Format.d(88): Error: class
tango.io.stream.Format.FormatOutput!(char).FormatOutput D compiler and phobos'
object.d are mismatched


Well, what's wrong? 
Sep 06 2009
next sibling parent reply Moritz Warning <moritzwarning web.de> writes:
On Sun, 06 Sep 2009 13:30:08 -0400, Kamil Dabrowski wrote:

 Well, I'm trying to compile Derelict with Tango and I see the following
 output from dmd:

I have also read that Tango environment can be compiled only using
Rebuild. So I do:
 rebuild buildme.d

I had a quick look. buildme.d isn't quite up-to-date. You need to apply some changes: Line 44, from import tango.io.File; to import tango.io.device.File; line 258, from scope f = new File(name); return cast(char[])f.read(); to return cast(char[]) File.get(name); Then you can compile it with: dmd buildme.d Line 474, from: scope f = new File(name); f.write(cast(void[])contents); to: File.set(name, contents); Now you can do: dmd buildme.d No rebuild rebuild required for this step.
Sep 06 2009
next sibling parent reply Moritz Warning <moritzwarning web.de> writes:
On Sun, 06 Sep 2009 18:54:06 +0000, Moritz Warning wrote:
[..]
 
 No rebuild rebuild required for this step.

On a second look, I see that buildme.d uses bud (some older build tool for D). I can tell you how I install derelict "by hand": - download the trunk (zip archive is at http://www.dsource.org/projects/ derelict/browser/trunk) - create an derelict directory - move the contents from all trunk/Derelict*/derelict/* directories into the new derelict directory we created before - put the derelict directory next to your main.d - add the code at the end of this post into your main.d - rebuild main.d or xfbuild main.d import derelict.sdl.sdl; import derelict.sdl.image; import derelict.opengl.gl; import derelict.opengl.glu; static this() { DerelictGL.load(); DerelictGLU.load(); DerelictSDL.load(); DerelictSDLImage.load(); if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { throw new Exception("Failed to initialize SDL: " ~ fromStringz(SDL_GetError())); } // Enable key repeat so the player can keep a key down for moving if (SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL)) { throw new Exception("Failed to set key repeat: " ~ fromStringz(SDL_GetError())); } } static ~this() { SDL_Quit(); // release GL, GLU and SDL's shared libs DerelictGLU.unload(); DerelictGL.unload(); DerelictSDL.unload(); }
Sep 06 2009
parent reply Jacob Carlborg <doob me.com> writes:
On 9/6/09 21:05, Moritz Warning wrote:
 On Sun, 06 Sep 2009 18:54:06 +0000, Moritz Warning wrote:
 [..]
 No rebuild rebuild required for this step.

On a second look, I see that buildme.d uses bud (some older build tool for D). I can tell you how I install derelict "by hand": - download the trunk (zip archive is at http://www.dsource.org/projects/ derelict/browser/trunk) - create an derelict directory - move the contents from all trunk/Derelict*/derelict/* directories into the new derelict directory we created before - put the derelict directory next to your main.d - add the code at the end of this post into your main.d - rebuild main.d or xfbuild main.d import derelict.sdl.sdl; import derelict.sdl.image; import derelict.opengl.gl; import derelict.opengl.glu; static this() { DerelictGL.load(); DerelictGLU.load(); DerelictSDL.load(); DerelictSDLImage.load(); if (SDL_Init(SDL_INIT_EVERYTHING)< 0) { throw new Exception("Failed to initialize SDL: " ~ fromStringz(SDL_GetError())); } // Enable key repeat so the player can keep a key down for moving if (SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL)) { throw new Exception("Failed to set key repeat: " ~ fromStringz(SDL_GetError())); } } static ~this() { SDL_Quit(); // release GL, GLU and SDL's shared libs DerelictGLU.unload(); DerelictGL.unload(); DerelictSDL.unload(); }

Or just using dsss: in the derelict directory run "dsss build && dsss install" /Jacob Carlborg
Sep 06 2009
parent reply Sam <samhudotsamhu gmail.com> writes:
To Jacob: 

Just wanna know whether you have upgraded your copy of DFL to dmd2032?If
yes,can I ask for a copy again?

Regards,
Sam
Sep 06 2009
next sibling parent Sam <samhudotsamhu gmail.com> writes:
Silly me.I asked another ppl here wrongly asked you,Sorry!
Sep 06 2009
prev sibling parent reply Sam <samhudotsamhu gmail.com> writes:
Hi Robert, 

Thank you so much!

I compiled the dfl.lib and dfl_debug.lib successfully just by ran makelib2.bat(
altered to my d path accordinly).Now the 2 lib files were there right in
dmd\windows\lib,the src files were in dmd\import.With below code snippet:
module d2;
//: -dfl
import dfl.all;

class MyForm : Form{
	
	this(){
		text	= "DFL form";
		auto btn	= new Button;
		with(btn){
			parent	= this;
			text		= "&Click";
			click		~= &click1;
		}
		auto box	= new TextBox;
		with(box){
			parent	= this;
		}
	}
	
	void click1(Object sender, EventArgs ea){
		msgBox("Form is cliked!");
	}
	
}

void main(){
	Application.run(new MyForm);
}

I built with 
dmd -O -release -L/exet/nt/su:windows:4.0 -L+dfl.lib d2.d
result in a lot of errors :
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(783): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(783): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(783): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(875): Error: mixin is
not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1123): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1123): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1123): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1135): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1135): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1135): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1150): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1150): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1172): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1172): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1172): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1178): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1178): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1323): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1323): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1323): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1343): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1343): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1358): Error:
identifier 'Size' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1358): Error: Size is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1364): Error:
identifier 'Size' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1364): Error: Size is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1364): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1411): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1411): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1411): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1418): Error:
identifier 'ContextMenu' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1418): Error:
ContextMenu is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1418): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1432): Error:
identifier 'ContextMenu' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1432): Error:
ContextMenu is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1486): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1486): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1486): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1543): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1543): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1550): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1550): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1556): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1556): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1556): Error: variable
dfl.control.Control._deffont voids have no value
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1559): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1559): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1565): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1565): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1592): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1592): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1645): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1645): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1645): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1653): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1653): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1666): Error:
identifier 'HCURSOR' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1666): Error: HCURSOR
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1666): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1704): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1704): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1712): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1712): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1712): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1903): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1903): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1903): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1917): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1917): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1959): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1959): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1959): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1971): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1971): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1971): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1985): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(1985): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2063): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2063): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2063): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2073): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2073): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2122): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2122): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2144): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2144): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2144): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2296): Error:
identifier 'HRGN' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2296): Error: HRGN is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2296): Error:
identifier 'HRGN' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2296): Error: HRGN is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2296): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2305): Error:
identifier 'Region' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2305): Error: Region
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2305): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2317): Error:
identifier 'Region' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2317): Error: Region
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2323): Error:
identifier 'Region' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2323): Error: Region
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2444): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2444): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2444): Error: variable
dfl.control.Control._FixAmbientOld.font voids have no value
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2446): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2446): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2446): Error: variable
dfl.control.Control._FixAmbientOld.backColor voids have no value
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2447): Error:
identifier 'Color' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2447): Error: Color is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2447): Error: variable
dfl.control.Control._FixAmbientOld.foreColor voids have no value
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2560): Error:
identifier 'Size' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2560): Error: Size is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2560): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2570): Error:
identifier 'Size' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2570): Error: Size is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2905): Error:
identifier 'Graphics' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2905): Error: Graphics
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2915): Error:
identifier 'DflComObject' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2915): Error:
DflComObject is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2915): Error:
identifier 'IDropTarget' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2915): Error:
IDropTarget is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2915): Error: class
dfl.control.Control.DropTarget base type must be class or interface, not void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2915): Error: class
dfl.control.Control.DropTarget base type must be interface, not void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2924): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2924): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2924): Error:
identifier 'IID' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2924): Error: IID is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2924): Error: function
dfl.control.Control.DropTarget.QueryInterface does not override any function
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error:
identifier 'POINTL' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error: POINTL
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2946): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error:
identifier 'POINTL' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error: POINTL
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2973): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2999): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(2999): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error:
identifier 'POINTL' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error: POINTL
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3022): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3053): Error:
identifier 'ComToDdataObject' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3053): Error:
ComToDdataObject is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3053): Error: variable
dfl.control.Control.DropTarget.dataObj voids have no value
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3075): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3075): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3075): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3102): Error:
identifier 'DflComObject' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3102): Error:
DflComObject is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3102): Error:
identifier 'IDropSource' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3102): Error:
IDropSource is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3102): Error: class
dfl.control.Control.DropSource base type must be class or interface, not void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3102): Error: class
dfl.control.Control.DropSource base type must be interface, not void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3112): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3112): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3112): Error:
identifier 'IID' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3112): Error: IID is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3112): Error: function
dfl.control.Control.DropSource.QueryInterface does not override any function
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error:
identifier 'BOOL' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error: BOOL is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3134): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3218): Error:
identifier 'HRESULT' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3218): Error: HRESULT
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3218): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3218): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3218): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3261): Error:
identifier 'data' of 'dfl.data.IDataObject' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3261): Error:
dfl.data.IDataObject is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3261): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3289): Error:
identifier 'Data' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3289): Error: Data is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3289): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3345): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3345): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3345): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3363): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3363): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3363): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3370): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3370): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3370): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3437): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3437): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3437): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3449): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3449): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3449): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3461): Error:
identifier 'Region' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3461): Error: Region
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3461): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3470): Error:
identifier 'Region' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3470): Error: Region
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3470): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3612): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3612): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3612): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3612): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3612): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3620): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3620): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3620): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3620): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3620): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3628): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3628): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3628): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3628): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3628): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3639): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3639): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3639): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3639): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3639): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3658): Error:
identifier 'Size' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3658): Error: Size is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3658): Error:
identifier 'Font' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3658): Error: Font is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3658): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3669): Error:
identifier 'Size' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3669): Error: Size is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3804): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3804): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3804): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3804): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3804): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3804): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3839): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3839): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3839): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3839): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3839): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3839): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3847): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3847): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3847): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3854): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3854): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3854): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3854): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3854): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3854): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(3858): Error: cannot
implicitly convert expression (null) of type void* to void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4061): Error:
identifier 'Rect' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4061): Error: Rect is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4072): Error:
identifier 'Size' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4072): Error: Size is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4094): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4094): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4094): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4110): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4110): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4110): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4205): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4205): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4205): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4212): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4212): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4212): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4219): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4219): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4219): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4262): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4262): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4262): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4269): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4269): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4269): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4276): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4276): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4276): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4312): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4312): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4312): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4324): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4324): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4324): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4336): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4336): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4336): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4377): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4377): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4377): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4389): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4389): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4389): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4425): Error:
identifier 'EventArgs' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4425): Error:
EventArgs is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4425): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4440): Error:
identifier 'WPARAM' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4440): Error: WPARAM
is used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4440): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4453): Error:
identifier 'HDC' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4453): Error: HDC is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4453): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4502): Error:
identifier 'HWND' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4502): Error: HWND is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4502): Error:
identifier 'Point' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4502): Error: Point is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4502): Error: cannot
have parameter of type void
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4526): Error:
identifier 'DWORD' is not defined
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4526): Error: DWORD is
used as a type
F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(4526): Error: variable
dfl.control.Control.ldlgcode voids have no value

So was I missing something again?
Thanks again for your help!

Regards,
Sam
Sep 06 2009
parent Sam Hu <samhudotsamhu gmail.com> writes:
Robert Jacques Wrote:
 Yes, checking against my copy of DFL, line 783 (the first error you  
 listed) is a blank line. 'HWND' is first mentioned on line 791. So I think  
 you are somehow importing the old DFL and not my patched version. Let me  
 know if checking your import statements doesn't help.

Thanks.It works.It is my fault. I don't know why it did not copy DFL src to /import folder automatically when execute makelib2.bat.So maybe I wrongly copied old DFL src to /import by hand. Really thanks. Regards, Sam
Sep 06 2009
prev sibling next sibling parent "Robert Jacques" <sandford jhu.edu> writes:
On Sun, 06 Sep 2009 20:36:22 -0400, Sam <samhudotsamhu gmail.com> wrote:

 To Jacob:

 Just wanna know whether you have upgraded your copy of DFL to dmd2032?If  
 yes,can I ask for a copy again?

 Regards,
 Sam

Hi Sam, I've upgraded my copy of DFL to DMD 2.032: Here's the patch https://jshare.johnshopkins.edu/xythoswfs/webui/_xy-3842113_1-t_VRRBqZAG Here's my copy of DFL https://jshare.johnshopkins.edu/xythoswfs/webui/_xy-3615403_1-t_VRRBqZAG I hope this helps.
Sep 06 2009
prev sibling next sibling parent "Robert Jacques" <sandford jhu.edu> writes:
On Sun, 06 Sep 2009 22:10:28 -0400, Sam <samhudotsamhu gmail.com> wrote:
 Hi Robert,

 Thank you so much!

 I compiled the dfl.lib and dfl_debug.lib successfully just by ran  
 makelib2.bat( altered to my d path accordinly).Now the 2 lib files were  
 there right in dmd\windows\lib,the src files were in dmd\import.With  
 below code snippet:
 module d2;
 //: -dfl
 import dfl.all;

 class MyForm : Form{
 	
 	this(){
 		text	= "DFL form";
 		auto btn	= new Button;
 		with(btn){
 			parent	= this;
 			text		= "&Click";
 			click		~= &click1;
 		}
 		auto box	= new TextBox;
 		with(box){
 			parent	= this;
 		}
 	}
 	
 	void click1(Object sender, EventArgs ea){
 		msgBox("Form is cliked!");
 	}
 	
 }

 void main(){
 	Application.run(new MyForm);
 }

 I built with
 dmd -O -release -L/exet/nt/su:windows:4.0 -L+dfl.lib d2.d
 result in a lot of errors :
 F:\DLang\Dtwo\dmd\windows\bin\..\..\import\dfl\control.d(783): Error:  
 identifier 'HWND' is not defined

 So was I missing something again?
 Thanks again for your help!

 Regards,
 Sam

Yes, checking against my copy of DFL, line 783 (the first error you listed) is a blank line. 'HWND' is first mentioned on line 791. So I think you are somehow importing the old DFL and not my patched version. Let me know if checking your import statements doesn't help.
Sep 06 2009
prev sibling parent "Robert Jacques" <sandford jhu.edu> writes:
On Mon, 07 Sep 2009 02:56:09 -0400, Sam Hu <samhudotsamhu gmail.com> wrote:

 Robert Jacques Wrote:
 Yes, checking against my copy of DFL, line 783 (the first error you
 listed) is a blank line. 'HWND' is first mentioned on line 791. So I  
 think
 you are somehow importing the old DFL and not my patched version. Let me
 know if checking your import statements doesn't help.

Thanks.It works.It is my fault. I don't know why it did not copy DFL src to /import folder automatically when execute makelib2.bat.So maybe I wrongly copied old DFL src to /import by hand. Really thanks. Regards, Sam

No problem. Both makelib and my makelib2 only build DFL. It's the DFL installer that copies it to the /import folder. I only made makelib2 in order to support DMD new directory structure. Makelib has now been updated and produces smaller lib files to boot.
Sep 07 2009
prev sibling parent reply Daniel Keep <daniel.keep.lists gmail.com> writes:
Kamil Dabrowski wrote:
 Well, I'm trying to compile Derelict with Tango and I see the following output
from dmd: 
 
 warning - io.File functionality has migrated to static functions within
io.device.File 
 buildme.d(176): Error: class buildme.Builder D compiler and phobos' object.d
are mismatched 
 buildme.d(248): Error: class buildme.BudBuilder D compiler and phobos'
object.d are mismatched
 
 ...
 
 Well, what's wrong? 

Well, since Moritz and Jacob have already covered io.File (which isn't actually a compilation error; just a warning), let's look at the actual error here: you're trying to use either the current stable or an old trunk version of Tango. This doesn't work. If you're using DMD 1.045+ you need a recent Tango trunk that you'll have to build yourself OR you'll have to patch and build Tango 0.99.8 from source. That or downgrade to pre DMD 1.045.
Sep 06 2009
parent reply Kamil Dabrowski <nameczanin gmail.com> writes:
Daniel Keep Wrote:

 If you're using DMD 1.045+ you need a
 recent Tango trunk that you'll have to build yourself OR you'll have to
 patch and build Tango 0.99.8 from source.
 
 That or downgrade to pre DMD 1.045.

Well, I thought that the Tango 0.99.8 is the latest library version and now I can see http://www.dsource.org/projects/tango/browser/trunk has a newer code. I will try to compile that 'cause I want to use the latest DMD (1.047). Thank you for advice.
Sep 07 2009
parent reply Kamil Dabrowski <nameczanin gmail.com> writes:
Kamil Dabrowski Wrote:

 Daniel Keep Wrote:
 
 If you're using DMD 1.045+ you need a
 recent Tango trunk that you'll have to build yourself OR you'll have to
 patch and build Tango 0.99.8 from source.
 
 That or downgrade to pre DMD 1.045.

Well, I thought that the Tango 0.99.8 is the latest library version and now I can see http://www.dsource.org/projects/tango/browser/trunk has a newer code. I will try to compile that 'cause I want to use the latest DMD (1.047). Thank you for advice.

I have one more question. Do you think that Derelict libraries compiled using older version of DMD will work properly with the projects using newest DMD? A moment ago I wanted to rebuild Tango from the trunk but now I think it won't change anything - author of Derelict should repair it to work with the latest Tango+DMD. Thanks in advance.
Sep 07 2009
parent Mike Parker <aldacron gmail.com> writes:
Kamil Dabrowski wrote:
 Kamil Dabrowski Wrote:
 
 Daniel Keep Wrote:

 If you're using DMD 1.045+ you need a
 recent Tango trunk that you'll have to build yourself OR you'll have to
 patch and build Tango 0.99.8 from source.

 That or downgrade to pre DMD 1.045.

Well, I thought that the Tango 0.99.8 is the latest library version and now I can see http://www.dsource.org/projects/tango/browser/trunk has a newer code. I will try to compile that 'cause I want to use the latest DMD (1.047). Thank you for advice.

I have one more question. Do you think that Derelict libraries compiled using older version of DMD will work properly with the projects using newest DMD? A moment ago I wanted to rebuild Tango from the trunk but now I think it won't change anything - author of Derelict should repair it to work with the latest Tango+DMD. Thanks in advance.

I'm not presently working on Derelict, but when I do come back to it buildme.d will eventually be dropped. The recommended way to build the Derelict libraries currently is via DSSS. Eventually, there will be more options for compiling the libraries, but I make no promises as to when that will be.
Sep 07 2009