I have several problems with “-I option” in clBuildProgram.
-I with a path containing spaces isn’t understood by ati and nvidia compiler. It understand -I first part of the path, and take second part of the path as another option. If the path is quoted ( -I “path with space” ) ati compiler understand it, but not nvidia’s.
-I with a non understandable path (-I with nothing or path with space), crash nvcompiler.dll (with a clang error) when calling clBuildProgram;
-I with a quoted path not containing space isn’t understood by nVidia compiler. So quoting is really not a solution.
I guess nothing is said about path convention in the specification.
So my question is : Is there a solution to be able to use path with space in -I option?