-
Notifications
You must be signed in to change notification settings - Fork 95
Description
Describe the problem
The build without CUDA was successful. But....
When attempting to install cctag[cuda,apps] using vcpkg, the build fails.
The errors originate in boost/math/tools/numeric_limits.hpp, with numerous reports of "duplicate specifier in
declaration constexpr constexpr" and "constexpr is not valid here". This indicates a potential compatibility issue
between the nvcc compiler (CUDA) and the Boost library.
Screenshots
N/A
Dataset
N/A
Log
1 C:\vcpkg\installed\x64-windows\include\boost/math/tools/numeric_limits.hpp(45): error:
duplicate specifier in declaration
2 constexpr constexpr bool is_specialized = std::numeric_limits<float>::is_specialized;
3 ^
4
5 C:\vcpkg\installed\x64-windows\include\boost/math/tools/numeric_limits.hpp(45): error:
"constexpr" is not valid here
6 constexpr constexpr bool is_specialized = std::numeric_limits<float>::is_specialized;
7 ^
8
9 C:\vcpkg\installed\x64-windows\include\boost/math/tools/numeric_limits.hpp(46): error:
duplicate specifier in declaration
10 constexpr constexpr bool is_signed = std::numeric_limits::is_signed;
11 ^
12
13 C:\vcpkg\installed\x64-windows\include\boost/math/tools/numeric_limits.hpp(46): error:
"constexpr" is not valid here
14 constexpr constexpr bool is_signed = std::numeric_limits::is_signed;
15 ^
16 ... (truncated for brevity, similar errors for multiple lines) ...
17 Error limit reached.
18 100 errors detected in the compilation of
"C:/vcpkg/buildtrees/cctag/src/v1.0.4-bd14e2814f.clean/src/./cctag/cuda/debug_image.cu
19 Compilation terminated.
20 nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in
future release (Use -Wno-deprecated-gpu-targets to suppress warning).
21 CMake Error at CCTag_generated_debug_image.cu.obj.Debug.cmake:280 (message):
22 Error generating file
23 C:/vcpkg/buildtrees/cctag/x64-windows-dbg/src/CMakeFiles/CCTag.dir/./cctag/cuda/./
CCTag_generated_debug_image.cu.obj
24
25
26 error: building cctag:x64-windows failed with: BUILD_FAILED
Desktop (please complete the following and other pertinent information):
- OS: win10
- CCtag version: version 1.0.4
- CUDA Toolkit Ver.12.9
- msbuild 17.14.23.42201
- cmake 3.31.10
Additional context
N/A