- 1 year ago
Intel C++ Compiler icl in Windows cannot recognize a path with white spaces
Comment
1 / 1
When using the Intel C++ Compiler (icl) in Windows, paths with white spaces can sometimes cause issues because the compiler may interpret the space as a separator between different arguments. To work around this problem, you can enclose the path with double quotation marks (") to ensure that the entire path is treated as a single argument.
For example, if you have a path with white spaces like "C:\Program Files\My Folder\myprogram.cpp," you can use the following command to compile it with icl:
arduinoicl "C:\Program Files\My Folder\myprogram.cpp"
By enclosing the path in double quotation marks, icl will recognize it as a single argument and correctly compile the file.
Make sure to apply this approach whenever you encounter paths with white spaces while using the Intel C++ Compiler in Windows.