Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mono-D DMD compiler issues

Tags:

monodevelop

d

dmd

With features like Code Completion and simple refactoring, writing D in Mono-D is almost as productive as writing C# in Visual Studios. Everything works great on Linux, just install Mono Develop, add the Mono-D repository, and build; but on Windows I can't even get the Hello World to compile.

At first It seems DMD can't find Phobos, but after following instructions on the Getting Started Page I get 21 errors in the Object.di file. Errors like "found 'char' when expecting ')'" and "no identifier for declarator immutable".

I'm using Mono Develop 2.8.5 on Windows 7 64bit.

Anyone have a clue as to how I can get this working?

like image 394
F i L Avatar asked Oct 10 '22 03:10

F i L


1 Answers

My mistake. It looks like DMD wasn't installed correctly. I uninstalled DMD, then re-installed it (without D1) and everything works now.

like image 154
F i L Avatar answered Nov 17 '22 11:11

F i L