www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Linking lib files

reply Joel <joelcnz gmail.com> writes:
Using Windows 10.

In my dub.json file I have:
"lflags" : ["+..\\DAllegro5\\lib\\"],

But I get:
Linking...
lld-link: error: could not open '+..\DAllegro5\lib\': no such 
file or directory
lld-link: error: could not open 'allegro.lib': no such file or 
directory
...
lld-link: error: could not open 'allegro_audio.lib': no such file 
or directory
Error: linker exited with status 1

It was working on another computer. I'm doing it strait off a 
flash drive, (I've tried it on computer drive with no difference).
Jul 03 2020
parent Joel <joelcnz gmail.com> writes:
On Saturday, 4 July 2020 at 01:15:03 UTC, Joel wrote:
 Using Windows 10.

 In my dub.json file I have:
 "lflags" : ["+..\\DAllegro5\\lib\\"],

 But I get:
 Linking...
 lld-link: error: could not open '+..\DAllegro5\lib\': no such 
 file or directory
 lld-link: error: could not open 'allegro.lib': no such file or 
 directory
 ...
 lld-link: error: could not open 'allegro_audio.lib': no such 
 file or directory
 Error: linker exited with status 1

 It was working on another computer. I'm doing it strait off a 
 flash drive, (I've tried it on computer drive with no 
 difference).
Got it working, using an old dub version. I haven't been using allegro, I had trouble trying it with macOS, (my main system).
Sep 24 2020