D SFML2 derelict

strongdrink strongdrinkdev at gmail.com
Tue Jul 3 07:10:41 PDT 2012


(First, sorry for not using code tags.. please let me know how to 
do them) :)

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

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

Thanks for any help


More information about the Digitalmars-d mailing list