tiny-cuda-nn icon indicating copy to clipboard operation
tiny-cuda-nn copied to clipboard

Compilation Error with fmt Library During Build Process

Open shingszelam opened this issue 11 months ago • 0 comments

When I use the following command to compile:

cmake --build build --config RelWithDebInfo -j

I encountered an error related to fmt.

Error message:

/home/dl/csl/lidar-nerf/tiny-cuda-nn-master/dependencies/fmt/include/fmt/format.h(2592): warning: constexpr constructor calls non-constexpr function "fmt::v11::basic_memory_buffer<T, SIZE, Allocator>::basic_memory_buffer(const Allocator &) [with T=fmt::v11::detail::bigint::bigit, SIZE=32UL, Allocator=fmt::v11::detail::allocator<fmt::v11::detail::bigint::bigit>]"

gmake[1]: *** [CMakeFiles/Makefile2:136: CMakeFiles/tiny-cuda-nn.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Has anyone encountered a similar issue, and how can this be resolved?

shingszelam avatar Jan 09 '25 08:01 shingszelam