Orange not working?

JN 666total at wp.pl
Thu Jul 12 20:44:43 UTC 2018


I am trying to make use of the Orange package, I added the latest 
version from dub to my project: "orange": "~>1.0.0" and copy 
pasted the "simple usage" code from 
https://github.com/jacob-carlborg/orange , but I am getting a 
long list of errors:

..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(714,21): Error: undefined identifier typedef
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(714,21): Error: undefined identifier typedef
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(925,42): Error: template instance `orange.serialization.Serializer.Serializer.serializeInternal!int` error instantiating
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1543,37):        instantiated from here: serializePointer!(int*)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(799,56):        instantiated from here: objectStructSerializeHelper!(Foo)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(718,28):        instantiated from here: serializeObject!(Foo)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(665,26):        instantiated from here: serializeInternal!(Foo)
source\app.d(19,22):        instantiated from here: 
serialize!(Foo)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\util\Traits.d(135,27): Error: undefined identifier typedef
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1121,20): Error: template instance `orange.util.Traits.isTypedef!(Foo)` error instantiating
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1114,44):        instantiated from here: deserializeInternal!(Foo, string)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(995,45):        instantiated from here: deserializeInternal!(Foo, string)
source\app.d(22,39):        instantiated from here: 
deserialize!(Foo)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\util\Traits.d(135,27): Error: undefined identifier typedef
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1121,20): Error: template instance `orange.util.Traits.isTypedef!int` error instantiating
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1616,63):        instantiated from here: deserializeInternal!(int, string)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1220,58):        instantiated from here: objectStructDeserializeHelper!(Foo)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1125,41):        instantiated from here: deserializeObject!(Foo, string)
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(1114,44):        ... (1 instantiations, -v to show) ...
..\..\AppData\Local\dub\packages\orange-1.0.0\orange\orange\serialization\Serializer.d(995,45):        instantiated from here: deserializeInternal!(Foo, string)
source\app.d(22,39):        instantiated from here: 
deserialize!(Foo)
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

Anyone has the library working?

my DMD version is:

>dmd --version
DMD32 D Compiler v2.080.0

Copyright (C) 1999-2018 by The D Language Foundation, All Rights 
Reserved written by Walter Bright



More information about the Digitalmars-d-learn mailing list