digitalmars.D - Question about Derelict
- Nils Hensel (12/12) Jun 25 2005 Hi,
- clayasaurus (14/30) Jun 25 2005 Hi. For future reference, please post questions about derelict here
- Nils Hensel (7/16) Jun 26 2005 I thought so, but I was puzzled by the lack of information and tempted
- Mike Parker (9/22) Jun 26 2005 One of these days I'll get some new zip archives uploaded. Derelict has
- Nils Hensel (7/15) Jun 26 2005 It did, thanks. And by the way: Great Work!
- clayasaurus (5/25) Jun 26 2005 You can always try lua, it is in the bindings project at dsource, and a
- Mike Parker (3/9) Jun 26 2005 It will be there eventually, as I really want to use it myself.
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, NilsHi. 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.Sorry, I will do so in the future.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.I thought so, but I was puzzled by the lack of information and tempted 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)Did as proposed and everything works like a charm now, thanks! 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: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.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: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