Re: Linking lib files

2020-09-24 Thread Joel via Digitalmars-d-learn

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).


Linking lib files

2020-07-03 Thread Joel via Digitalmars-d-learn

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).