SFML community forums
Bindings - other languages => D => Topic started by: XKY on February 16, 2014, 09:20:57 am
-
Hello!
When i did this tutorial(https://github.com/Jebbs/DSFML/wiki/Building-Your-First-DSFML-Program%28DUB%29 (https://github.com/Jebbs/DSFML/wiki/Building-Your-First-DSFML-Program%28DUB%29)), i got some errors.
/home/xky/project/D/SFML//libdsfml-graphics.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >::seekg(long, std::_Ios_Seekdir)'
/home/xky/project/D/SFML//libdsfml-graphics.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::seekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode)'
/home/xky/project/D/SFML//libdsfml-graphics.so: undefined reference to `clock_gettime@GLIBC_2.17'
collect2: ld returned 1 exit status
--- errorlevel 1
Error: Link command failed with exit code 1
and package.json is here.
{
"name": "dsfml-test",
"description": "A minimal D application.",
"copyright": "Copyright © 2014, xky",
"authors": ["xky"],
"lflags" : ["-L/home/xky/project/D/SFML/"],
"dependencies": {
"dsfml:graphics": "~master",
}
}
I used Xubuntu12 x86.. Did I make a mistake?
Thanks.
-
Hi there!
It looks like there might be an issue or two with the 32bit pre-built binaries I put up. Try building from scratch, or wait a couple of days for me to get some newer ones while I get back into the groove of working on the library again.
-
Hi there!
It looks like there might be an issue or two with the 32bit pre-built binaries I put up. Try building from scratch, or wait a couple of days for me to get some newer ones while I get back into the groove of working on the library again.
Thanks for answer! I will try compile it. :)
Regards,