D SFML2 with derelict

Hey guys, I am fairly new to the D language... and am trying to compile a small D SFML2 program. I installed derelict and such already...

Linux deskarch 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:59:47 CEST 2012 x86_64 GNU/Linux


1
2
3
4
5
6
import derelict.sfml2.system;

int main() {
        return 0;
}



hello.o:(.data+0x10): undefined reference to `_D8derelict5sfml26system12__ModuleInfoZ'
collect2: error: ld returned 1 exit status
--- errorlevel 1


It looks like it didn't link the libs properly or something.

compiled with:
dmd hello.d
Last edited on
Sorry, all I can suggest is that you repost here:
http://forum.dlang.org/

And if you find a solution, I'd like to know what it was.
Okie dokie, I will post back here if it could be solved.
Topic archived. No new replies allowed.