Closed ThomasConrad closed 4 weeks ago
Absolutely! Thanks for catching this — I think the root cause is we don't have Clang on Windows in our continuous integration test matrix, but it would be good for us to support it. I'll update here once we have a change to nvpro_core that fixes this; in the meantime, commenting out the CMake command to add the resource file is a good workaround.
Hi @ThomasConrad ! Following up on this - I've now set up clang-cl on my machine via the Visual Studio Installer. Generating the project using
cmake path/to/project -T ClangCL -G "Visual Studio 17 2022"
appears to produce a project that links the resource correctly, but I can see the script also invokes a resource linker other than llvm-rc
.
Could you send me the command line you used to generate the CMake project? I'm wondering if I need to be using e.g. MSYS2 or a custom toolchain to reproduce this. Thank you!
If the problem persists, please reopen the issue with reproducible information.
When trying to compile a simple project using nvpro_core with clang on windows i run into the error below. Commenting out the relevant section in resources.rs (ln 59-63) has fixed it, and it doesn't seem like it immediately affects anything. Is this perhaps something that should be handled?