question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

compilerOptions.library-path doesn't like spaces

See original GitHub issue

Adding a library path with a space in causes compiler errors. This is what I’ve found:

  1. Adding a single entry containing spaces to the library-path array causes the compiler to stop at the first space it finds e.g. if the library path is "C:\Projects\Foo Bar", the compiler will throw Error: unable to open 'C:\Projects\Foo'
  2. If I have multiple library paths in the array and at least one contains a space, the compiler throws Error: default arguments may not be interspersed with other options

In this particular case I am developing an AIR application in Windows

UPDATE: Using \u0020 has the same effect UPDATE 2: Referencing a folder that contains SWC files with spaces in their names doesn’t cause an issue

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joshtynjalacommented, Apr 3, 2017

I just released asconfigc 0.4.1. Update with NPM and this issue will be fixed.

1reaction
joshtynjalacommented, Mar 31, 2017

Fixed in BowlerHatLLC/asconfigc@b56637e91817c8ace447e9070b0c818065605aa2

Sorry for the trouble. I will release an update to asconfigc in the near future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Path with Spaces in "C Compiler Options" · Issue #79 - GitHub
I need to specify the path to include header/lib files, but the path name has to include spaces (I'm on Windows 10).
Read more >
Angular: Moving a library into a directory causes issues
1 Answer 1 ... You have to adjust the relative path in the tsconfig.lib.json . As you move the library one directory deeper,...
Read more >
Error linking libraries in linked folder with spaces in path ...
Part Number: CODECOMPOSER Hi, I'm using CCS 10 with SimpleLink MSP432P4 SDK. I am having issues with spaces in the path, please find...
Read more >
Directory variables - Free Pascal
Is a list of library paths, separated by spaces. Each directory in the list is prepended with -Fl and added to the compiler...
Read more >
/external (External headers diagnostics) | Microsoft Learn
The /external compiler options let you specify compiler diagnostic behavior for ... The space between /external:I and path is optional.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found