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 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
repeatedly commentedon Dec 17, 2016
See compiler option
-I.https://dlang.org/dmd-osx.html#switches