| Thread overview | ||||||
|---|---|---|---|---|---|---|
|
July 16, 2013 Optlink search directory path containing spaces? | ||||
|---|---|---|---|---|
| ||||
This seems kind of strange to me, but when I go to specify a search directory for the linker I can't seem to get it to work for a path that contains spaces. I tried to put quotes around the switch like I've done for other switches, but when my program goes to link I get some strange errors. If I use something like "-L+C:\Users\Jeremy\Desktop\Search Directory\" (with the quotes) I get the errors C:\Users\Jeremy\Desktop\Search.lib Warning 2: File Not Found C:\Users\Jeremy\Desktop\Search.lib Directory.lib Warning 2: File Not Found Directory.lib It seems to do the same thing even without the space in the path if I leave the quotes around it. The only way I have gotten it to work is by not using quotes and not having any spaces in the path to the directory I want to have searched. Am I doing something wrong? Jeremy | ||||
July 16, 2013 Re: Optlink search directory path containing spaces? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jeremy DeHaan | On Tuesday, 16 July 2013 at 10:41:51 UTC, Jeremy DeHaan wrote: > This seems kind of strange to me, but when I go to specify a search directory for the linker I can't seem to get it to work for a path that contains spaces. > > I tried to put quotes around the switch like I've done for other switches, but when my program goes to link I get some strange errors. > > If I use something like "-L+C:\Users\Jeremy\Desktop\Search Directory\" (with the quotes) I get the errors > > C:\Users\Jeremy\Desktop\Search.lib > > Warning 2: File Not Found C:\Users\Jeremy\Desktop\Search.lib > > Directory.lib > > Warning 2: File Not Found Directory.lib > > > It seems to do the same thing even without the space in the path if I leave the quotes around it. The only way I have gotten it to work is by not using quotes and not having any spaces in the path to the directory I want to have searched. Am I doing something wrong? > > Jeremy Any chance: -L+"C:\Users\Jeremy\Desktop\Search Directory\" works? | |||
July 16, 2013 Re: Optlink search directory path containing spaces? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to monarch_dodra |
>
> Any chance:
> -L+"C:\Users\Jeremy\Desktop\Search Directory\"
>
> works?
Nope, same error.
| |||
July 16, 2013 Re: Optlink search directory path containing spaces? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jeremy DeHaan | On 2013-07-16 12:41, Jeremy DeHaan wrote: > This seems kind of strange to me, but when I go to specify a search > directory for the linker I can't seem to get it to work for a path that > contains spaces. It's a known issue. -- /Jacob Carlborg | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply