Derelict+Tango
Kamil Dabrowski
nameczanin at gmail.com
Sun Sep 6 10:30:08 PDT 2009
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\tango\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\device\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\device\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\device\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\device\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\sys\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\sys\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\sys\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\sys\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\tango\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\tango\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\tango\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\stream\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\stream\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\tango\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\tango\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\tango\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\convert\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\stream\Format.d(88): Error: class tango.io.stream.Format.FormatOutput!(char).FormatOutput D compiler and phobos' object.d are mismatched
Well, what's wrong?
More information about the Digitalmars-d
mailing list