www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Can't compile DFL Program

reply ray96_28139 yahoo.com writes:
Hi, I have been trying to compile my first D program for days now and
I cannot get it to compile. My source code is from Entice, as follows:

import dfl.all;

class MyForm: dfl.form.Form
{
	// Do not modify or move this block of variables.
	//~Entice Designer variables begin here.
	Button button1;
	Label label1;
	//dfl.button.Button button1;
	//dfl.label.Label label1;
	//~Entice Designer variables end here.
	
	
	this()
	{
		initializeMyForm();
		
		//   Other MyForm initialization code here.
		
	}
	
	
	private void initializeMyForm()
	{
		// Do not manually modify this function.
		//~Entice Designer 0.8.5.02 code begins here.
		//~DFL Form
		text = "My Form";
		//clientSize = d.Size(284, 262);
		//~DFL dfl.button.Button=button1
		button1 = new dfl.button.Button();
		button1.name = "button1";
		button1.bounds = dfl.drawing.Rect(45, 46, 74, 22);
		button1.parent = this;
		//~DFL dfl.label.Label=label1
		label1 = new dfl.label.Label();
		label1.name = "label1";
		label1.bounds = dfl.drawing.Rect(61, 110, 94, 33);
		label1.parent = this;
		//~Entice Designer 0.8.5.02 code ends here.
	}
}


int main()
{
	int result = 0;
	
	try
	{
		Application.enableVisualStyles();
		
		//   Other application initialization code here.
		
		Application.run(new MyForm());
	}
	catch(Throwable o)
	{
		msgBox(o.toString(), "Fatal Error", MsgBoxButtons.OK,
MsgBoxIcon.ERROR);
		
		result = 1;
	}
	
	return result;
}

-------------
All I get are Error 42 errors:

Error 42: Symbol Undefined _D3dfl4form4Form6__ctorMFZC3dfl4form4Form
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl6button6Button6__ctorMFZC3dfl6button6Button
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl5label5Label6__ctorMFZC3dfl5label5Label
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl6button6Button7__ClassZ
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7drawing4Rect6opCallFiiiiZS3dfl7drawing4Rect
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control6boundsMFS3dfl7drawing4RectZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control6parentMFC3dfl7control7ControlZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control4nameMFAyaZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl5label5Label7__ClassZ
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl11application11Application3runFC3dfl4form4FormZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl11application11Application18enableVisualStylesFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl10messagebox6msgBoxFAyaAyaE3dfl10messagebox13MsgBoxButtonsE3dfl10messagebox10MsgBoxIconZE3dfl4base12DialogResult
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control14recreateHandleMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl4form4Form13destroyHandleMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control6cursorMFC3dfl4base6CursorZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control17onPaintBackgroundMFC3dfl4base14PaintEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control17ScrollableControl9calcScaleMFS3dfl7drawing4SizeS3dfl7drawing4SizeZS3dfl7drawing4Size
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control18onBackColorChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control13onInvalidatedMFC3dfl7control19InvalidateEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control25onCausesValidationChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control15onParentChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form8onResizeMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11rightToLeftMFE3dfl4base11RightToLeftZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl4form4Form12createHandleMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control9allowDropMFZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control15processMnemonicMFwZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control12onMouseHoverMFC3dfl4base14MouseEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control13onFontChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control13onDoubleClickMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control5opCmpMFC3dfl7control7ControlZi
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form12onDeactivateMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form9onClosingMFC3dfl4base15CancelEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control4fontMFC3dfl7drawing4FontZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl4form4Form17setClientSizeCoreMFiiZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11contextMenuMFZC3dfl4menu11ContextMenu
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control10onKeyPressMFC3dfl4base17KeyPressEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control21onSystemColorsChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control19onQueryContinueDragMFC3dfl7control26QueryContinueDragEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control8opEqualsMFC6ObjectZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form7wndProcMFKS3dfl4base7MessageZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control19processKeyEventArgsMFKS3dfl4base7MessageZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control7focusedMFZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11onMouseMoveMFC3dfl4base14MouseEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control9backColorMFS3dfl7drawing5ColorZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11onLostFocusMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control14resetForeColorMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control14resetBackColorMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control16resetRightToLeftMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control18onReflectedMessageMFKS3dfl4base7MessageZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control11resetCursorMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control9resetFontMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control6selectMFbbZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control17ScrollableControl12onMouseWheelMFC3dfl4base14MouseEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form12createParamsMFKS3dfl7control12CreateParamsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control16ContainerControl7__ClassZ
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11onMouseDownMFC3dfl4base14MouseEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form16onVisibleChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11onDragEnterMFC3dfl7control13DragEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control9resetTextMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control9foreColorMFS3dfl7drawing5ColorZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control15onCursorChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control7refreshMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control17onHandleDestroyedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control7disposeMFbZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control16ContainerControl13activeControlMFZC3dfl7control7Control
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control17ScrollableControl14onControlAddedMFC3dfl7control16ControlEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form15createMdiClientMFZC3dfl4form9MdiClient
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl4form4Form7__ClassZ
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control4textMFAyaZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control7disposeMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control17ScrollableControl10autoScrollMFbZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control7__ClassZ
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control6cursorMFZC3dfl4base6Cursor
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control13onTextChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control9setDFL095MFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control12onMouseEnterMFC3dfl4base14MouseEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control8onLayoutMFC3dfl7control15LayoutEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form7onPaintMFC3dfl4base14PaintEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control10onDragDropMFC3dfl7control13DragEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control6onMoveMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form8onClosedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl3all12__ModuleInfoZ
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control7onClickMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control10initLayoutMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control17ScrollableControl16displayRectangleMFZS3dfl7drawing4Rect
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control8opEqualsMFC3dfl7control7ControlZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11contextMenuMFC3dfl4menu11ContextMenuZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control4dockMFZE3dfl7control9DockStyle
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl4form4Form6_rtypeMFZi
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control4fontMFZC3dfl7drawing4Font
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control14invokeRequiredMFZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form11onActivatedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control17preProcessMessageMFKS3dfl4base7MessageZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11rightToLeftMFZE3dfl4base11RightToLeft
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl4form4Form11_destroyingMFZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control20onRightToLeftChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form6onLoadMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control11rightToLeftMFbZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control10onGotFocusMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control18onForeColorChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control4dockMFE3dfl7control9DockStyleZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control12onMouseLeaveMFC3dfl4base14MouseEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control15onNotifyMessageMFS3dfl4base7MessageZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control9allowDropMFbZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form11defaultSizeMFZS3dfl7drawing4Size
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control16ContainerControl13activeControlMFC3dfl7control7ControlZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control11onDragLeaveMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control7onKeyUpMFC3dfl4base12KeyEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control5opCmpMFC6ObjectZi
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form9backColorMFZS3dfl7drawing5Color
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control22createControlsInstanceMFZC3dfl7control7Control17ControlCollection
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control4textMFZAya
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control14onGiveFeedbackMFC3dfl7control21GiveFeedbackEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form15onHandleCreatedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control9onKeyDownMFC3dfl4base12KeyEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl4form4Form14setVisibleCoreMFbZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control8tabIndexMFZi
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control16onEnabledChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form13setBoundsCoreMFiiiiE3dfl7control15BoundsSpecifiedZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl4form4Form10defWndProcMFKS3dfl4base7MessageZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control20onContextMenuChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control18onHasLayoutChangedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control9foreColorMFZS3dfl7drawing5Color
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control10onDragOverMFC3dfl7control13DragEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control15onHelpRequestedMFC3dfl7control13HelpEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control17ScrollableControl10autoScrollMFZb
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined _D3dfl7control7Control8toStringMFZAya
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control9onMouseUpMFC3dfl4base14MouseEventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control10onDisposedMFC3dfl5event9EventArgsZv
obj\Module1.obj(Module1) 
 Error 42: Symbol Undefined
_D3dfl7control7Control16onControlRemovedMFC3dfl7control16ControlEventArgsZv
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl12commondialog12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl8splitter12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl9imagelist12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl6socket12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl9statusbar12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl7control12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl11collections12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl10picturebox12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl5label12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl7drawing12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl10messagebox12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl11application12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl7tooltip12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl9clipboard12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl9resources12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl7listbox12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl5timer12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl8listview12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl10notifyicon12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl4base12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl11usercontrol12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl8treeview12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl5panel12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl8groupbox12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl7toolbar12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl11richtextbox12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl6button12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl11progressbar12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl11environment12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl4data12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl7textbox12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl4menu12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl10tabcontrol12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl8registry12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl4form12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl5event12__ModuleInfoZ
C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.obj(Win32App1) 
 Error 42: Symbol Undefined _D3dfl8combobox12__ModuleInfoZ

---------------------

DFL and D are both installed properly. How do I fix this?

Thanks.
Rayburn
Jul 21 2011
next sibling parent reply Trass3r <un known.com> writes:
How do you compile it?
Jul 21 2011
parent reply ray96_28139 yahoo.com writes:
I've compiled it many ways. I've added the DFL lib folders to the
sc.ini file too. D-IDE compiles it with this command: 

C:\D\dmd2\windows\bin\dmd.exe "obj\Module1.obj" "C:\dmd\import\dfl"
"C:\dmd\lib" "C:\Users\Rayburn\Downloads\dwt-win-importlibs\libs"
-L/su:windows -L/exet:nt -of"C:\Users\Rayburn\Documents\D
Projects\Win32App1\Win32App1\bin\Win32App1.exe" -gc -debug

All of the folders are valid paths. This seems like a VERY promising
language for me but I just can't seem to get it going. Thanks for your
reply.


On Fri, 22 Jul 2011 00:29:05 +0200, Trass3r <un known.com> wrote:

How do you compile it?
Jul 21 2011
next sibling parent reply Jesse Phillips <jessekphillips+D gmail.com> writes:
ray96_28139 yahoo.com Wrote:

 I've compiled it many ways. I've added the DFL lib folders to the
 sc.ini file too. D-IDE compiles it with this command: 
 
 C:\D\dmd2\windows\bin\dmd.exe "obj\Module1.obj" "C:\dmd\import\dfl"
 "C:\dmd\lib" "C:\Users\Rayburn\Downloads\dwt-win-importlibs\libs"
 -L/su:windows -L/exet:nt -of"C:\Users\Rayburn\Documents\D
 Projects\Win32App1\Win32App1\bin\Win32App1.exe" -gc -debug
 
 All of the folders are valid paths. This seems like a VERY promising
 language for me but I just can't seem to get it going. Thanks for your
 reply.
 
 
 On Fri, 22 Jul 2011 00:29:05 +0200, Trass3r <un known.com> wrote:
 
How do you compile it?
Did you compile the DFL libraries? I use the dfl.exe myself.
Jul 21 2011
next sibling parent reply ray96_28139 yahoo.com writes:
Thanks for that. I had thought about that, I remember doing it when I
installed it but the console flashed too quickly to see if it had
succeeded. I went to the command line and did it myself. I got an
error from DFL saying the installation was bad and to run a command to
redo it. I did that and then tried to rebuild the libraries, then I
got all kinds of errors (like missing default statements in switch
statements were deprecated). I added the necessary syntax and got
through most errors till I got an error from imagelist.d saying that
the "add" function was unknown. I couldn't get past that so I decided
to try and compile the libraries with DMD 1. That worked first try.
But still no change with the Error 42's.

On Fri, 22 Jul 2011 00:46:04 -0400, Jesse Phillips
<jessekphillips+D gmail.com> wrote:

ray96_28139 yahoo.com Wrote:

 I've compiled it many ways. I've added the DFL lib folders to the
 sc.ini file too. D-IDE compiles it with this command: 
 
 C:\D\dmd2\windows\bin\dmd.exe "obj\Module1.obj" "C:\dmd\import\dfl"
 "C:\dmd\lib" "C:\Users\Rayburn\Downloads\dwt-win-importlibs\libs"
 -L/su:windows -L/exet:nt -of"C:\Users\Rayburn\Documents\D
 Projects\Win32App1\Win32App1\bin\Win32App1.exe" -gc -debug
 
 All of the folders are valid paths. This seems like a VERY promising
 language for me but I just can't seem to get it going. Thanks for your
 reply.
 
 
 On Fri, 22 Jul 2011 00:29:05 +0200, Trass3r <un known.com> wrote:
 
How do you compile it?
Did you compile the DFL libraries? I use the dfl.exe myself.
Jul 21 2011
parent Jesse Phillips <jessekphillips+D gmail.com> writes:
ray96_28139 yahoo.com Wrote:

 Thanks for that. I had thought about that, I remember doing it when I
 installed it but the console flashed too quickly to see if it had
 succeeded. I went to the command line and did it myself. I got an
 error from DFL saying the installation was bad and to run a command to
 redo it. I did that and then tried to rebuild the libraries, then I
 got all kinds of errors (like missing default statements in switch
 statements were deprecated). I added the necessary syntax and got
 through most errors till I got an error from imagelist.d saying that
 the "add" function was unknown. I couldn't get past that so I decided
 to try and compile the libraries with DMD 1. That worked first try.
 But still no change with the Error 42's.
Unfortunately you are trying to use it in a different manner than me. If you are getting missing symbols, the linker isn't finding the libraries. You should be able to place them as part of your compile arguments instead of relying on the import path. I use a modified version of https://github.com/Rayerd/dfl It compiles with D2.052 without modification or need to deprecate. Good luck.
Jul 22 2011
prev sibling parent ray96_28139 yahoo.com writes:
Ok, I started with a fresh install of D and DFL on another computer.
Got compiler errors when building the lib files because of deprecation
issues. I then edited the makelib.bat file to include the -d option to
allow deprecated functions. After that it succeeded to compile some of
DFL but not all of it because there must be an issue with the paths to
D in the registry. I don't know. It just complained of not being able
to find certain source files and lib files related to DFL and the
paths were wrong. Anyway after changing the paths to absolute paths in
the makelib.bat, I finally got the lib files to compile successfully.
I'm only supposed to have 3 files right? dfl.lib, dfl_debug.lib and
dfl_build.lib?

I went to D-IDE and tried to compile, same problems, error 42's. I
looked for some of the missing references in the lib files, and found
them. It's like the linker doesn't see the lib files. I've made sure
that the folder where the libs are located are set up in Project
Settings of D-IDE, but still no change. Very frustrating. Out of the
box I've had nothing but issues.

What can I do to make this work?

On Fri, 22 Jul 2011 00:46:04 -0400, Jesse Phillips
<jessekphillips+D gmail.com> wrote:

ray96_28139 yahoo.com Wrote:

 I've compiled it many ways. I've added the DFL lib folders to the
 sc.ini file too. D-IDE compiles it with this command: 
 
 C:\D\dmd2\windows\bin\dmd.exe "obj\Module1.obj" "C:\dmd\import\dfl"
 "C:\dmd\lib" "C:\Users\Rayburn\Downloads\dwt-win-importlibs\libs"
 -L/su:windows -L/exet:nt -of"C:\Users\Rayburn\Documents\D
 Projects\Win32App1\Win32App1\bin\Win32App1.exe" -gc -debug
 
 All of the folders are valid paths. This seems like a VERY promising
 language for me but I just can't seem to get it going. Thanks for your
 reply.
 
 
 On Fri, 22 Jul 2011 00:29:05 +0200, Trass3r <un known.com> wrote:
 
How do you compile it?
Did you compile the DFL libraries? I use the dfl.exe myself.
Jul 22 2011
prev sibling parent reply Kagamin <spam here.lot> writes:
ray96_28139 yahoo.com Wrote:

 I've compiled it many ways. I've added the DFL lib folders to the
 sc.ini file too. D-IDE compiles it with this command: 
 
 C:\D\dmd2\windows\bin\dmd.exe "obj\Module1.obj" "C:\dmd\import\dfl"
 "C:\dmd\lib" "C:\Users\Rayburn\Downloads\dwt-win-importlibs\libs"
 -L/su:windows -L/exet:nt -of"C:\Users\Rayburn\Documents\D
 Projects\Win32App1\Win32App1\bin\Win32App1.exe" -gc -debug
DFL library is not specified in the command. dmd can't guess it on its own, because DFL is not a standard part of dmd package, so dmd knows nothing about it out of the box, you should be more explicit and tell the compiler what you want, it won't think for you.
Jul 22 2011
parent reply Rayburn Davis <ray96_28139 yahoo.com> writes:
Kagamin wrote:
 ray96_28139 yahoo.com Wrote:

 I've compiled it many ways. I've added the DFL lib folders to the
 sc.ini file too. D-IDE compiles it with this command:

 C:\D\dmd2\windows\bin\dmd.exe "obj\Module1.obj" "C:\dmd\import\dfl"
 "C:\dmd\lib" "C:\Users\Rayburn\Downloads\dwt-win-importlibs\libs"
 -L/su:windows -L/exet:nt -of"C:\Users\Rayburn\Documents\D
 Projects\Win32App1\Win32App1\bin\Win32App1.exe" -gc -debug
DFL library is not specified in the command. dmd can't guess it on its own, because DFL is not a standard part of dmd package, so dmd knows nothing about it out of the box, you should be more explicit and tell the compiler what you want, it won't think for you.
I thought C:\dmd\import\dfl was the DFL library? Or do I need to reference it some other way?
Jul 22 2011
parent reply Trass3r <un known.com> writes:
 I thought C:\dmd\import\dfl was the DFL library? Or do I need to  
 reference it some other way?
Just the files. The library isn't automatically compiled. You might want to try a build tool like rdmd (included in dmd package) or xfBuild. But note that rdmd might currently not work due to a nasty bug, hopefully fixed soon.
Jul 22 2011
next sibling parent reply Rayburn Davis <ray96_28139 yahoo.com> writes:
Trass3r wrote:
 I thought C:\dmd\import\dfl was the DFL library? Or do I need to
 reference it some other way?
Just the files. The library isn't automatically compiled. You might want to try a build tool like rdmd (included in dmd package) or xfBuild. But note that rdmd might currently not work due to a nasty bug, hopefully fixed soon.
Ok I tried rdmd, it crashed. xfBuild crashed too with: object.Exception: module 'Module1.d' needs module header. I'm fixing to give up.
Jul 22 2011
parent Trass3r <un known.com> writes:
 Ok I tried rdmd, it crashed. xfBuild crashed too with: object.Exception:  
 module 'Module1.d' needs module header.
The message says it all. xfBuild requires you to add a module declaration.
Jul 24 2011
prev sibling parent Rayburn Davis <ray96_28139 yahoo.com> writes:
Trass3r wrote:
 I thought C:\dmd\import\dfl was the DFL library? Or do I need to
 reference it some other way?
Just the files. The library isn't automatically compiled. You might want to try a build tool like rdmd (included in dmd package) or xfBuild. But note that rdmd might currently not work due to a nasty bug, hopefully fixed soon.
I installed DWT and got a few samples to compile using dsss. Now I need to figure out how to compile a DWT program of my own.
Jul 22 2011
prev sibling next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/21/2011 3:21 PM, ray96_28139 yahoo.com wrote:
 DFL and D are both installed properly. How do I fix this?
I'd first test that you can compile, link, and run a simple "hello world" program: import std.stdio; void main() { writeln("hello world"); } This means at least the compiler is installed correctly. Next, the problem you're having is undefined symbols from the linker. I don't know dfl, but this is most likely because the dfl library is not listed on the command line to dmd. For example, one of the undefined symbols is: Error 42: Symbol Undefined _D3dfl9statusbar12__ModuleInfoZ ^^^ ^^^^^^^^^ means that the .obj file resulting from compiling dfl\statusbar.d is not specified to the linker. Such a .obj file is probably part of a dfl library, probably named dfl.lib. To specify linking with a library file such as dfl.lib: dmd foo.d dfl.lib where foo.d is your source file, and dfl.lib is the library needed to link against.
Jul 22 2011
parent reply Rayburn Davis <ray96_28139 yahoo.com> writes:
Hey Walter thanks for the reply. Hello world works perfectly. I can 
compile it all day without problems.

I tried your suggestion on specifying lib files to the compiler on the 
command line. I did this:

dmd -d "C:\Users\Rayburn\Documents\D Projects\Win32App1\Wi
n32App1\Module1.d" C:\D\dmd2\src\dfl\WS2_32.LIB 
C:\D\dmd2\src\dfl\wsock32.lib C:
\D\dmd2\src\dfl\advapi32.lib C:\D\dmd2\src\dfl\COMCTL32.LIB 
C:\D\dmd2\src\dfl\co
mdlg32.lib C:\D\dmd2\src\dfl\CTL3D32.LIB C:\D\dmd2\src\dfl\dfl.lib 
C:\D\dmd2\src
\dfl\dfl_build.lib C:\D\dmd2\src\dfl\dfl_debug.lib 
C:\D\dmd2\src\dfl\gdi32.lib C
:\D\dmd2\src\dfl\kernel32.lib C:\D\dmd2\src\dfl\ODBC32.LIB 
C:\D\dmd2\src\dfl\ole
32.lib C:\D\dmd2\src\dfl\OLEAUT32.LIB C:\D\dmd2\src\dfl\olepro32_dfl.lib 
C:\D\dm
d2\src\dfl\phobos.lib C:\D\dmd2\src\dfl\rpcrt4.lib 
C:\D\dmd2\src\dfl\shell32.lib
  C:\D\dmd2\src\dfl\shell32_dfl.lib C:\D\dmd2\src\dfl\snn.lib 
C:\D\dmd2\src\dfl\u
ser32.lib C:\D\dmd2\src\dfl\user32_dfl.lib C:\D\dmd2\src\dfl\uuid.lib 
C:\D\dmd2\
src\dfl\winmm.lib C:\D\dmd2\src\dfl\winspool.lib

Module1.d is the simple D program by the way.

Same unresolved reference errors, but they're different now:

OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
Module1.obj(Module1)
  Error 42: Symbol Undefined _D3dfl4form4Form6__ctorMFZC3dfl4form4Form
Module1.obj(Module1)
  Error 42: Symbol Undefined _D3dfl5label5Label6__ctorMFZC3dfl5label5Label
Module1.obj(Module1)
  Error 42: Symbol Undefined 
_D3dfl6button6Button6__ctorMFZC3dfl6button6Button
Module1.obj(Module1)
  Error 42: Symbol Undefined _D3dfl7control7Control4nameMFAyaZv
Module1.obj(Module1)
  Error 42: Symbol Undefined 
_D3dfl10messagebox6msgBoxFAyaAyaE3dfl10messagebox13M
sgBoxButtonsE3dfl10messagebox10MsgBoxIconZE3dfl4base12DialogResult
Module1.obj(Module1)
  Error 42: Symbol Undefined _D3dfl7control7Control4textMFZAya
Module1.obj(Module1)
  Error 42: Symbol Undefined _D3dfl7control7Control8opEqualsMFC6ObjectZb
Module1.obj(Module1)
  Error 42: Symbol Undefined 
_D3dfl7control7Control8opEqualsMFC3dfl7control7Contr
olZb
Module1.obj(Module1)
  Error 42: Symbol Undefined _D3dfl7control7Control8toStringMFZAya
Module1.obj(Module1)
  Error 42: Symbol Undefined _D3dfl7control7Control4textMFAyaZv
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D3std3utf7toUTF16FAaZAu
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _HIWORD 4
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _LOWORD 4
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined 
_D3std11outofmemory20OutOfMemoryException7__ClassZ
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined 
_D3std11outofmemory20OutOfMemoryException5_ctorMFZC3
std11outofmemory20OutOfMemoryException
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D6object9Exception8toStringMFZAa
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D9ClassInfo6__vtblZ
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined __d_throw 4
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D6object9Exception5printMFZv
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZi
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D6object6Object8toStringMFZAa
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D6object6Object5printMFZv
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D3std3uni10toUniLowerFwZw
C:\D\dmd2\src\dfl\dfl.lib(control)
  Error 42: Symbol Undefined _D3std3utf6decodeFAaKkZw
C:\D\dmd2\src\dfl\dfl.lib(application)
  Error 42: Symbol Undefined _D3std2gc11fullCollectFZv
C:\D\dmd2\src\dfl\dfl.lib(utf)
  Error 42: Symbol Undefined _D3std6string8toStringFiZAa
C:\D\dmd2\src\dfl\dfl.lib(utf)
  Error 42: Symbol Undefined _D6object9Exception5_ctorMFAaZC9Exception
C:\D\dmd2\src\dfl\dfl.lib(utf)
  Error 42: Symbol Undefined _D3std3utf6toUTF8FAuZAa
C:\D\dmd2\src\dfl\dfl.lib(utf)
  Error 42: Symbol Undefined _D3std6string9toStringzFAaZPa
C:\D\dmd2\src\dfl\dfl.lib(utf)
  Error 42: Symbol Undefined _D3std4file9useWfuncsi
C:\D\dmd2\src\dfl\dfl.lib(utf)
  Error 42: Symbol Undefined _D3std3utf8toUTF16zFAaZPu
C:\D\dmd2\src\dfl\dfl.lib(data)
  Error 42: Symbol Undefined _D3std6string4icmpFAaAaZi
C:\D\dmd2\src\dfl\dfl.lib(dlib)
  Error 42: Symbol Undefined _D3std11outofmemory12__ModuleInfoZ
C:\D\dmd2\src\dfl\dfl.lib(com)
  Error 42: Symbol Undefined 
__D3std1c7windows3com9ComObject14QueryInterfaceMWPS3
std1c7windows3com4GUIDPPvZi 8
C:\D\dmd2\src\dfl\dfl.lib(registry)
  Error 42: Symbol Undefined _D3std6string6formatFYAa
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined 
_D3std6socket6Socket5_ctorMFE3std6socket13AddressFam
ilyE3std6socket10SocketTypeE3std6socket12ProtocolTypeZC3std6socket6Socket
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined 
_D3std6socket12InternetHost13getHostByAddrMFAaZb
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined 
_D3std6socket12InternetHost13getHostByNameMFAaZb
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined 
_D3std6socket6Socket6sendToMFAvE3std6socket11SocketF
lagsC3std6socket7AddressZi
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined _D3std6socket6Socket6sendToMFAvZi
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined 
_D3std6socket6Socket6sendToMFAvE3std6socket11SocketF
lagsZi
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined 
_D3std6socket6Socket6sendToMFAvC3std6socket7AddressZ
i
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined _D3std6socket6Socket4sendMFAvZi
C:\D\dmd2\src\dfl\dfl.lib(socket)
  Error 42: Symbol Undefined 
_D3std6socket6Socket4sendMFAvE3std6socket11SocketFla
gsZi
C:\D\dmd2\src\dfl\dfl.lib(listbox)
  Error 42: Symbol Undefined _D17TypeInfo_C6Object6__initZ
C:\D\dmd2\src\dfl\dfl.lib(filedialog)
  Error 42: Symbol Undefined _D3std4path4joinFAaAaZAa
--- errorlevel 46

Some of the errors reference the dfl lib library I included in the 
command line. Keep in mind that I searched the dfl.lib library with a 
hex editor and found some of the "undefined symbols" there in plain sight.

If I give the compiler the paths of all of the libraries in the folder, 
it should work, right? I don't understand why it's not.

Thanks for your help.
Jul 22 2011
next sibling parent Mike Parker <aldacron gmail.com> writes:
On 7/23/2011 1:43 PM, Rayburn Davis wrote:

 If I give the compiler the paths of all of the libraries in the folder,
 it should work, right? I don't understand why it's not.
The compiler does not automatically link any libraries at all. You have to specify which libraries you want to link with. Passing the path on the command line will have no effect. You do need to pass the path to the library's source modules with the -I switch (if they aren't on the global path) so that they can be parsed, but they will not be compiled and linked to the executable.
Jul 22 2011
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/22/2011 9:43 PM, Rayburn Davis wrote:
 Some of the errors reference the dfl lib library I included in the command
line.
 Keep in mind that I searched the dfl.lib library with a hex editor and found
 some of the "undefined symbols" there in plain sight.

 If I give the compiler the paths of all of the libraries in the folder, it
 should work, right? I don't understand why it's not.

 Thanks for your help.
Try copying those libraries to your current working directory so they can be specified without a path.
Jul 22 2011
prev sibling parent Rayburn Davis <ray96_28139 yahoo.com> writes:
I followed Andrej's suggestions and successfully got it to compile. :D
Jul 23 2011