Tag Archives: tutorial

Strange issue when running D programs in MonoDevelop [fixed]

Hi everyone, this is just a future-note to myself or probably to others who experience a strange problem: After having built your console project with Mono-D successfully, MD somehow spit out a “File name has not been set” exception – though all execution parameters have been set. The simple solution to solve this problem under read more »

[Archive] Install monodevelop-latest

Note: If there is no mono/gtk# release available for your Linux distribution, head to the lower section! Currently you can’t install the latest beta of MonoDevelop, but luckily there is a ppa (ppa:keks9n/monodevelop-latest) that provides it: Open up the terminal and install it via the following: “sudo add-apt-repository ppa:keks9n/monodevelop-latest” “sudo apt-get update” “sudo apt-get install monodevelop-latest” read more »

What about those build argument variables?

So yeah, what build argument variables are there? For compiler arguments: $src Absolute path to the source file that shall be compiled /usr/…/MyProject/module.d $obj Absolute output path to the intermediate file (usually object file) $includes The included paths -I”/usr/include/d/dmd/druntime/import” -I”/usr/include/d/dmd/phobos” For linker arguments: $objs Relative paths to the built object files “obj/Debug/a.o” “obj/Debug/b.o” “obj/Debug/modC.o” $libs The read more »

What is UFCS?

The so called Uniform function call syntax is a new kind of call syntax. To keep things short: Instead of having to write writeln(“Hello World”); it’s possible to write “Hello World”.writeln(); now. So this enables the programmer to add pseudo-member functions to theoretically inaccessible class types, like string, int or a class from a third-party read more »

How to install the latest MonoDevelop on Linux

Note: If there is no mono/gtk# release available for your Linux distribution, head to the lower section! You can open up the terminal and install it via the following: sudo add-apt-repository ppa:keks9n/monodevelop-latest sudo apt-get update sudo apt-get install monodevelop-latest If you wish to compile MonoDevelop from source, try the following in the terminal: “sudo apt-get install read more »

Where’s MonoDevelop 2.8.2 for Linux?

Mono-D is currently using MonoDevelop 2.8.2 – but there’s one thing which isn’t good at all: Packages for MonoDevelop 2.8.2 not yet available. The latest available version is MonoDevelop 2.6.0.1 So, what to do then for solving this problem? Since Mono-D especially is made for Linux users (For Mac there already is the latest version available), read more »

Resource scripts (*.rc)

can be compiled now – on Windows platforms. But: There’s an extra download required in order to enable that feature! With resource scripts, it’ll be possible to embed e.g. manifest files in your application. Here’s the code provided in the Win32 project template by default: <?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?> <assembly xmlns=”urn:schemas-microsoft-com:asm.v1″ manifestVersion=”1.0″> <assemblyIdentity version=”1.0.0.0″ processorArchitecture=”*” read more »

Incomplete documentation

is primarily awful. That’s why I took a break from going on with developing. Anyway, now I know how to put in my D_Parser.dll into the .mpack file which will be the installer file for the Mono-D addin (It’s a zip archive with an ‘.mpack’ extension, nothing special ) Just in the case there are read more »