PMunch / futhark

Automatic wrapping of C headers in Nim
MIT License
355 stars 19 forks source link

Fix for pathing issues on windows #93

Closed Hypnootika closed 3 months ago

Hypnootika commented 3 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 3 months ago

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

Hypnootika commented 3 months ago

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

PMunch commented 3 months ago

Thanks for finding this, fixed it with the hostQuoteShell solution