Skip to content

run examples ? #92

@biocyberman

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?

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