Skip to content

run examples ? #92

Description

@biocyberman

I am new to D and mgspack. I want to run the examples, like this:

% dmd -run ./example/register.d                                                         
./example/register.d(1): Error: module msgpack is in file 'msgpack.d' which cannot be read
import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import

Apparently the examples do not know where to look for msgpack. I don't want to actually install msgpack before I run the examples. How do I update the examples to source mgspack dependency from the examples parent directory, preferably with dub.json definitions?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions