www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Getting DAllegro 5 to work in Windows

reply "Joel" <joelcnz gmail.com> writes:
I can't get implib.exe (http://ftp.digitalmars.com/bup.zip) to 
produce .lib files from dlls (https://www.allegro.cc/files/). I 
think it works for other people.

Thanks for any help.
Dec 23 2014
next sibling parent reply "Kagamin" <spam here.lot> writes:
Works for me on allegro-5.0.10-mt.dll, produced 391kb lib file.
Dec 24 2014
parent reply "Joel" <joelcnz gmail.com> writes:
On Wednesday, 24 December 2014 at 09:57:31 UTC, Kagamin wrote:
 Works for me on allegro-5.0.10-mt.dll, produced 391kb lib file.
I think my Windows 7 on my Mac has system damage - I used a doggy flash drive. I plan to install Window 8.1, and hopefully that will fix the problem.
Dec 26 2014
parent reply "Joel" <joelcnz gmail.com> writes:
On Friday, 26 December 2014 at 08:43:24 UTC, Joel wrote:
 On Wednesday, 24 December 2014 at 09:57:31 UTC, Kagamin wrote:
 Works for me on allegro-5.0.10-mt.dll, produced 391kb lib file.
I think my Windows 7 on my Mac has system damage - I used a doggy flash drive. I plan to install Window 8.1, and hopefully that will fix the problem.
Update. What happens is, that I run the script file (in DAllegro folder) and it is suppose to create lib files from the DLL ones. On my system, it says its done it but no lib files pop up! It happens on another computer too. (maybe from my dodgy flash drive). The guy at the computer shop said he didn't think it was a virus. There's an idea that the files get wiped off as soon as they are created. So I've just been using an older version of Allegro/DAllegro.
Jan 29 2015
next sibling parent reply Mike Parker <aldacron gmail.com> writes:
On 1/30/2015 3:16 PM, Joel wrote:
 Update.

 What happens is, that I run the script file (in DAllegro folder) and it
 is suppose to create lib files from the DLL ones. On my system, it says
 its done it but no lib files pop up!

 It happens on another computer too. (maybe from my dodgy flash drive).

 The guy at the computer shop said he didn't think it was a virus.

 There's an idea that the files get wiped off as soon as they are created.

 So I've just been using an older version of Allegro/DAllegro.
FYI, I have a nearly finished dynamic binding to Allegro 5 that doesn't require any link-time dependencies. I'll be adding it to DerelictOrg as soon as it's done. I hope that to be sometime on the other side of this coming weekend. I only have a couple more addons to work through.
Jan 29 2015
parent reply "Joel" <joelcnz gmail.com> writes:
On Friday, 30 January 2015 at 07:34:53 UTC, Mike Parker wrote:
 On 1/30/2015 3:16 PM, Joel wrote:
 Update.

 What happens is, that I run the script file (in DAllegro 
 folder) and it
 is suppose to create lib files from the DLL ones. On my 
 system, it says
 its done it but no lib files pop up!

 It happens on another computer too. (maybe from my dodgy flash 
 drive).

 The guy at the computer shop said he didn't think it was a 
 virus.

 There's an idea that the files get wiped off as soon as they 
 are created.

 So I've just been using an older version of Allegro/DAllegro.
FYI, I have a nearly finished dynamic binding to Allegro 5 that doesn't require any link-time dependencies. I'll be adding it to DerelictOrg as soon as it's done. I hope that to be sometime on the other side of this coming weekend. I only have a couple more addons to work through.
Ok, cool. What about Mac OS?
Jan 30 2015
parent Mike Parker <aldacron gmail.com> writes:
On 1/30/2015 6:48 PM, Joel wrote:

 FYI, I have a nearly finished dynamic binding to Allegro 5 that
 doesn't require any link-time dependencies. I'll be adding it to
 DerelictOrg as soon as it's done. I hope that to be sometime on the
 other side of this coming weekend. I only have a couple more addons to
 work through.
Ok, cool. What about Mac OS?
It should work across all the major platforms.
Jan 30 2015
prev sibling parent reply "Kagamin" <spam here.lot> writes:
On Friday, 30 January 2015 at 06:16:21 UTC, Joel wrote:
 What happens is, that I run the script file (in DAllegro 
 folder) and it is suppose to create lib files from the DLL 
 ones. On my system, it says its done it but no lib files pop up!
You can try procmon to watch, what happens with files.
Jan 29 2015
parent "Joel" <joelcnz gmail.com> writes:
On Friday, 30 January 2015 at 07:53:12 UTC, Kagamin wrote:
 On Friday, 30 January 2015 at 06:16:21 UTC, Joel wrote:
 What happens is, that I run the script file (in DAllegro 
 folder) and it is suppose to create lib files from the DLL 
 ones. On my system, it says its done it but no lib files pop 
 up!
You can try procmon to watch, what happens with files.
Ok, I'll have to have a look.
Jan 30 2015
prev sibling next sibling parent "Ivan Kazmenko" <gassa mail.ru> writes:
On Wednesday, 24 December 2014 at 06:47:26 UTC, Joel wrote:
 I can't get implib.exe (http://ftp.digitalmars.com/bup.zip) to 
 produce .lib files from dlls (https://www.allegro.cc/files/). I 
 think it works for other people.

 Thanks for any help.
Reading Part II of this answer on Stackoverflow may help: http://stackoverflow.com/a/22106548/1488799 If it does not, please be more specific as to what goes wrong.
Dec 25 2014
prev sibling parent "BBaz" <bb.temp gmx.com> writes:
On Wednesday, 24 December 2014 at 06:47:26 UTC, Joel wrote:
 I can't get implib.exe (http://ftp.digitalmars.com/bup.zip) to 
 produce .lib files from dlls (https://www.allegro.cc/files/). I 
 think it works for other people.

 Thanks for any help.
Yep, it works for other people. I've just made the Coedit project for allegro, something like 2 days ago: https://github.com/BBasile/ceprojs/blob/master/dallegro.coedit and the example using the libman: https://github.com/BBasile/ceprojs/blob/master/dallegro_example.coedit Maybe you've get messed with the imports ?
Jan 30 2015