You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System: Windows 10 Version / Commit SHA: CMake Version: 3.20 Compiler: msvc 2019 nvcc
Describe the problem
My project requires the use of cuda, using vcpkg as the C++ package manager. After configuring cuda and openVDB in my cmakelist file, I compile the project. The message “nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified”. If I remove openVDB, there is no error. I did some searching and suspect that openVDB is propagating the /EHsc compilation flag to my project.
Environment
Operating System: Windows 10
Version / Commit SHA:
CMake Version: 3.20
Compiler: msvc 2019 nvcc
Describe the problem
My project requires the use of cuda, using vcpkg as the C++ package manager. After configuring cuda and openVDB in my cmakelist file, I compile the project. The message “nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified”. If I remove openVDB, there is no error. I did some searching and suspect that openVDB is propagating the /EHsc compilation flag to my project.
To Reproduce
Steps to reproduce the behavior:
Additional context
I searched for a similar example, see https://gitlab.kitware.com/cmake/cmake/-/issues/25565
I found out that there is an openexr that openvdb depends on that is causing this problem, but don't know how to fix it
The text was updated successfully, but these errors were encountered: