You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am still new to Dlang, so it's possible this is user error. I am using:
$dmd -v
DMD64 D Compiler v2.065
I tried including dunit in a project I am building and I get these errors when I just have the dependency in dub.json & the import statement in my app.d:
Running dmd...
../../../.dub/packages/d-unit-0.7.2/src/dunit/framework.d(57): Error: undefined identifier GetoptResult
../../../.dub/packages/d-unit-0.7.2/src/dunit/framework.d(71): Error: undefined identifier GetOptException
../../../.dub/packages/d-unit-0.7.2/src/dunit/framework.d(73): Error: undefined identifier exception, did you mean class Exception?
../../../.dub/packages/d-unit-0.7.2/src/dunit/framework.d(81): Error: undefined identifier defaultGetoptPrinter
I believe the getopt interface has changed because I can build the following, which uses getopt pretty differently to how dunit uses it:
Consider updating your compiler: DMD 2.065 was released in February, 2014. For D programmers, that's ages ago. The latest release is 2.068.2. The green "passing" has been determined with 2.067.0, and the missing getopt behavior was introduced in this release. You need at least 2.067.0 to use v0.7.2 of dunit.
I am still new to Dlang, so it's possible this is user error. I am using:
I tried including dunit in a project I am building and I get these errors when I just have the dependency in
dub.json
& the import statement in myapp.d
:I believe the getopt interface has changed because I can build the following, which uses getopt pretty differently to how dunit uses it:
The text was updated successfully, but these errors were encountered: