-
Notifications
You must be signed in to change notification settings - Fork 1.9k
CMake error during build if path contains spaces #4046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you try running build.cmd from the visual studio developer command prompt? |
I had to install the 'Desktop development with C++' workload. That resolved the issue I was having. However, I encountered another issue with CMake due to spaces in the path. I've updated this issue accordingly. |
Hi @NeoXtreem , I have changed the name of the directory that includes a build of ML.NET, and reproduced your issue. I get the following error (notice the space in
|
The issue seems to stem from this line as the path for machinelearning/src/Native/build.cmd Line 31 in f94f359
The paths of |
System information
Issue
What did you do?
Ran build.cmd in root folder in a VS 2019 developer command prompt.
What happened?
Build failed with error:
If I move the code to a path without spaces such as C:\Users\micro\OneDrive\ML.NET, it builds successfully. This problem was also described by another user on issue #28 and @eerhardt described the solution in his reply.
Build to succeed regardless of spaces in path.
Source code / logs
build.log
The text was updated successfully, but these errors were encountered: