digitalmars.D - Question about Derelict
- Nils Hensel <nils.hensel web.de> Jun 25 2005
- clayasaurus <clayasaurus gmail.com> Jun 25 2005
- Nils Hensel <nils.hensel web.de> Jun 26 2005
- Mike Parker <aldacron71 yahoo.com> Jun 26 2005
- Nils Hensel <nils.hensel web.de> Jun 26 2005
- clayasaurus <clayasaurus gmail.com> Jun 26 2005
- Mike Parker <aldacron71 yahoo.com> Jun 26 2005
Hi, I finally decided to give Derelic a try to fool around a little in SDL. I downloaded Derelic 0.1 from DSource but when I try to import SDL I get following error message: C:\dmd\src\derelict\sdl\events.d(220): cannot implicitly convert expression (-1) of type int to ubyte I understand the problem but why was a constant with the value -1 declared to be an unsigned integer in the first place? Why is such an error in the sources? Everybody must have problems with this declaration so in fact Derelict is useless in this state. And what is the workaround? Regards, Nils
Jun 25 2005
Nils Hensel wrote:Hi, I finally decided to give Derelic a try to fool around a little in SDL. I downloaded Derelic 0.1 from DSource but when I try to import SDL I get following error message: C:\dmd\src\derelict\sdl\events.d(220): cannot implicitly convert expression (-1) of type int to ubyte I understand the problem but why was a constant with the value -1 declared to be an unsigned integer in the first place? Why is such an error in the sources? Everybody must have problems with this declaration so in fact Derelict is useless in this state. And what is the workaround? Regards, Nils
Hi. For future reference, please post questions about derelict here http://www.dsource.org/forums/viewforum.php?f=19&sid=9311bf5994b3 229dedb8a3d4bbf07ae if possible. If you did not realize, Derilict 0.1 is sorely outdated, roughly a year old. The D compiler has been evolving ever since that time, and the 0.1 release doesn't work with the current D compiler. Your best bet is to get a hold of SVN here http://subversion.tigris.org/ and download the latest version of derelict from its repository. (http://svn.dsource.org/projects/derelict) More instructions can be found here http://www.dsource.org/site/svnclient.php just remember that you use svn.dsource.org/projects instead of svn.dsource.org/svn/projects. Goodluck!
Jun 25 2005
clayasaurus schrieb:Hi. For future reference, please post questions about derelict here http://www.dsource.org/forums/viewforum.php?f=19&sid=9311bf5994b3 229dedb8a3d4bbf07ae if possible.
If you did not realize, Derilict 0.1 is sorely outdated, roughly a year old. The D compiler has been evolving ever since that time, and the 0.1 release doesn't work with the current D compiler.
by the ease downloading the archive on dsource ;-)Your best bet is to get a hold of SVN here http://subversion.tigris.org/ and download the latest version of derelict from its repository. (http://svn.dsource.org/projects/derelict)
Regards, Nils
Jun 26 2005
Nils Hensel wrote:Hi, I finally decided to give Derelic a try to fool around a little in SDL. I downloaded Derelic 0.1 from DSource but when I try to import SDL I get following error message: C:\dmd\src\derelict\sdl\events.d(220): cannot implicitly convert expression (-1) of type int to ubyte I understand the problem but why was a constant with the value -1 declared to be an unsigned integer in the first place? Why is such an error in the sources? Everybody must have problems with this declaration so in fact Derelict is useless in this state. And what is the workaround?
One of these days I'll get some new zip archives uploaded. Derelict has grown and evolved quite a bit since that 0.1 archive was posted. Until new release archives get posted (the only thing remaining to do before that happens is to implement the Linux scripts for the Build utility), the current version can always be checked out of svn. The "New Users" thread in the Derelict forums (http://www.dsource.org/forums/viewtopic.php?t=828) should go a long way toward getting you started.
Jun 26 2005
Mike Parker schrieb:One of these days I'll get some new zip archives uploaded. Derelict has grown and evolved quite a bit since that 0.1 archive was posted. Until new release archives get posted (the only thing remaining to do before that happens is to implement the Linux scripts for the Build utility), the current version can always be checked out of svn. The "New Users" thread in the Derelict forums (http://www.dsource.org/forums/viewtopic.php?t=828) should go a long way toward getting you started.
It did, thanks. And by the way: Great Work! It's a pity though that Python didn't make it into derelict since it's an awesome language and would be a wonderful addition to any D app in need of scripting support. But maybe someday ... Best regards, Nils
Jun 26 2005
Nils Hensel wrote:Mike Parker schrieb:One of these days I'll get some new zip archives uploaded. Derelict has grown and evolved quite a bit since that 0.1 archive was posted. Until new release archives get posted (the only thing remaining to do before that happens is to implement the Linux scripts for the Build utility), the current version can always be checked out of svn. The "New Users" thread in the Derelict forums (http://www.dsource.org/forums/viewtopic.php?t=828) should go a long way toward getting you started.
It did, thanks. And by the way: Great Work! It's a pity though that Python didn't make it into derelict since it's an awesome language and would be a wonderful addition to any D app in need of scripting support. But maybe someday ... Best regards, Nils
You can always try lua, it is in the bindings project at dsource, and a derelict like version of it is here http://svn.dsource.org/projects/warbots/trunk/current/derelict/lua/ Maybe not as great as python, but it is something.
Jun 26 2005
Nils Hensel wrote:It did, thanks. And by the way: Great Work!
Thanks!It's a pity though that Python didn't make it into derelict since it's an awesome language and would be a wonderful addition to any D app in need of scripting support. But maybe someday ...
It will be there eventually, as I really want to use it myself.
Jun 26 2005









Nils Hensel <nils.hensel web.de> 