PMunch / futhark

Automatic wrapping of C headers in Nim
MIT License
394 stars 22 forks source link

Fix for pathing issues on windows #93

Closed Hypnootika closed 8 months ago

Hypnootika commented 8 months ago

Due to the whitespace between "Program" and "Files" an error occured that Opir cant find : "Files\LLVM\lib\clang\15.0.7\include" I tried to change only the Windows part.

daniel-j commented 8 months ago

Nice find! Should probably use hostQuoteShell defined in futhark.nim instead of adding double quotation marks manually.

Hypnootika commented 8 months ago

Absolutely but im relatively new to Nim and wasnt sure how it behaves, so I took the "noob" approach

PMunch commented 8 months ago

Thanks for finding this, fixed it with the hostQuoteShell solution