Created
December 10, 2013 14:43
-
-
Save rigibun/7891696 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dmd, libphobos and libgtkd2 were installed by apt-get with d-apt. | |
% ls | |
HelloWorld.d | |
% dmd HelloWorld.d -L-lgtkd2 -L-ldl | |
% ./HelloWorld | |
Fatal Error while loading '/usr/lib/x86_64-linux-gnu/libphobos2.so.0.64': | |
The module 'std.algorithm' is already defined in './HelloWorld'. | |
zsh: segmentation fault ./HelloWorld | |
# HelloWorld.d is here. https://github.com/gtkd-developers/GtkD/blob/master/demos/gtk/HelloWorld.d |
Ah, got it, you need to link libphobos2.so as well...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the same issue right now. Have you solved it?