On Friday, 13 July 2018 at 05:29:58 UTC, Timoses wrote:
On Thursday, 12 July 2018 at 20:44:43 UTC, JN wrote:
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
[...]
Hm, v1.0.0 is from 2016 and meanwhile typedef was deprecated
https://dlang.org/deprecate.html#typedef .
Perhaps use
"orange": "~master"
to use the latest code.
Looks better, but still doesn't compile:
C:\Users\jacek\Desktop\test_orange>dub run
Package orange can be upgraded from ~master to 1.0.0.
Use "dub upgrade" to perform those changes.
WARNING: A deprecated branch based version specification is used
for the dependency orange. Please use numbered versions instead.
Also note that you can still use the dub.selections.json file to
override a certain dependency to use a branch instead.
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for
x86.
orange ~master: target for configuration "" is up to date.
test_orange ~master: building configuration "application"...
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1313,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\archives\Archive.d(1348,9):
Warning: statement is not reachable
..\sertest\orange-master\orange\serialization\Serializer.d(1215,9): Warning:
statement is not reachable
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.