Using D language binding for Xamarin Studio on Mac

172 views Asked by At

Following the instructions from here http://wiki.dlang.org/Mono-D to setup Xamarin Studio (5.9.3) on Mac for D Development. When trying to run a simple Hello World programm I get this error however:

Native error= Cannot find the specified file

I left the Defaults for the D environment settings except for the Toolchain bin path which is pointing to the bin of the dmd compiler on my system.
/usr/share/dmd/bin

The Program works fine when executed from the Command Line. Am I missing something?

1

There are 1 answers

0
AudioBubble On

Make sure to export dub onto your shell path. If I remember correctly (sorry, year or so since I left my MacBook) the default path for dub is just 'dub' in Xamarin so there is an expectation of it being on the path.