-
Notifications
You must be signed in to change notification settings - Fork 57
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
Compilation fails when include paths contain spaces #1314
Comments
Hi @akbyrd, Thank you for reporting this problem. For better understanding, can you give me the element that contains Kind regards, |
Also @akbyrd, can you give us the full output log? (set verbosity level to 2 from Settings -> Compile) |
Hi @akbyrd, Can you set verbosity level to maximum and give us full verbose log? From Settings -> Compile -> Verbosity level Kind regards, |
Apologies for the delay. I've truncated the log once the errors start repeating. Quite a lot more of them end up being emitted but they're duplicates. For some additional context: Unreal has a bit of a unique setup. The .vcxproj file is not actually used to compile directly. The project is configured with NMake commands that invoke an Unreal batch script. The script invokes a program called UnrealBuildTool that in turn invokes the compiler. UnrealBuildTool can also emit compile_commands.json files for clang. It's unclear to me if CPT is scraping what it can from vcxproj or doing something else. I don't necessarily expect CPT is actually going to be able to compile the project due to the custom build tool (though it would be awesome if it ended up working out that way), but I would expect it to be failing somewhere other than include paths. |
Hi @akbyrd, Try to update Clang Power Tools to v2023.9.0 Kind regards, |
I'm attempting to use CPT with an Unreal codebase. It ends up failing due to spaces in include paths.
Snippet:
It looks like CPT is reading the vcxproj and isn't always escaping paths as expected when translating the msvc commands to clang commands.
The text was updated successfully, but these errors were encountered: