digitalmars.D - dfl help.
- slash (17/17) Dec 16 2005 I am trying to compile an executible using DFL from the samples/ directo...
- Chris Miller (6/28) Dec 16 2005 Either recompile DFL to generate a dfl.lib compatible with your version ...
- HienTau (2/29) Dec 20 2005 Although it's not official, DFL 0.9 compiles with DMD up to 0.138...
I am trying to compile an executible using DFL from the samples/ directory, and when I do, it prints this: C:\DOCUME~1\OWNER\DESKTOP\D>c:\dmd\bin\dfl -gui client.d c:\dmd\bin\dmd.exe client.d -Ic:\dmd\src\phobos -L/exet:nt/su:windows:4.0 c:\dmd \lib\dfl.lib c:\dmd\bin\..\..\dm\bin\link.exe client,,,c:\dmd\lib\dfl.lib+user32+kernel32/noi /exet:nt/su:windows:4.0; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved client.obj(client) Error 42: Symbol Undefined _D3dfl5event10__T5EventZ5Event11opCatAssignFDFC6Obje ctC3dfl5event9EventArgsZvZv --- errorlevel 1 Returned status code 1 and when I execute the client.exe, it says "client.exe is not a valid Win32 Application" any suggestions on how to solve this?
Dec 16 2005
On Fri, 16 Dec 2005 16:44:59 -0500, slash <slash_member pathlink.com> wrote:I am trying to compile an executible using DFL from the samples/ directory, and when I do, it prints this: C:\DOCUME~1\OWNER\DESKTOP\D>c:\dmd\bin\dfl -gui client.d c:\dmd\bin\dmd.exe client.d -Ic:\dmd\src\phobos -L/exet:nt/su:windows:4.0 c:\dmd \lib\dfl.lib c:\dmd\bin\..\..\dm\bin\link.exe client,,,c:\dmd\lib\dfl.lib+user32+kernel32/noi /exet:nt/su:windows:4.0; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved client.obj(client) Error 42: Symbol Undefined _D3dfl5event10__T5EventZ5Event11opCatAssignFDFC6Obje ctC3dfl5event9EventArgsZvZv --- errorlevel 1 Returned status code 1 and when I execute the client.exe, it says "client.exe is not a valid Win32 Application" any suggestions on how to solve this?Either recompile DFL to generate a dfl.lib compatible with your version of DMD, or get the dfl*.zip version associated with your DMD version. If you have the current DMD 0.141 it is recommended you get the current DFL snapshot 20051204 from http://wiki.dprogramming.com/Dfl/Snapshots
Dec 16 2005
slash schrieb:I am trying to compile an executible using DFL from the samples/ directory, and when I do, it prints this: C:\DOCUME~1\OWNER\DESKTOP\D>c:\dmd\bin\dfl -gui client.d c:\dmd\bin\dmd.exe client.d -Ic:\dmd\src\phobos -L/exet:nt/su:windows:4.0 c:\dmd \lib\dfl.lib c:\dmd\bin\..\..\dm\bin\link.exe client,,,c:\dmd\lib\dfl.lib+user32+kernel32/noi /exet:nt/su:windows:4.0; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved client.obj(client) Error 42: Symbol Undefined _D3dfl5event10__T5EventZ5Event11opCatAssignFDFC6Obje ctC3dfl5event9EventArgsZvZv --- errorlevel 1 Returned status code 1 and when I execute the client.exe, it says "client.exe is not a valid Win32 Application" any suggestions on how to solve this?Although it's not official, DFL 0.9 compiles with DMD up to 0.138...
Dec 20 2005