Skip to content

error: no suitable constructor exists to convert from "unsigned short" to "__half" #35

Open
@Essen4

Description

@Essen4

kfusion/CMakeFiles/kfusion.dir/build.make:379: recipe for target 'kfusion/CMakeFiles/kfusion.dir/src/cuda/kfusion_generated_proj_icp.cu.o' failed
make[2]: *** [kfusion/CMakeFiles/kfusion.dir/src/cuda/kfusion_generated_proj_icp.cu.o] Error 1
/home/gcw/kinfu_remake-master/kfusion/src/cuda/device.hpp(76): error: no suitable constructor exists to convert from "unsigned short" to "__half"

/home/gcw/kinfu_remake-master/kfusion/src/cuda/device.hpp(79): error: no suitable constructor exists to convert from "unsigned short" to "__half"

2 errors detected in the compilation of "/tmp/tmpxft_0000189b_00000000-14_tsdf_volume.compute_20.cpp1.ii".
CMake Error at kfusion_generated_tsdf_volume.cu.o.cmake:266 (message):
Error generating file
/home/gcw/kinfu_remake-master/build/kfusion/CMakeFiles/kfusion.dir/src/cuda/./kfusion_generated_tsdf_volume.cu.o

how to solve it? please help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions