kysucix / fusibile

Depthmap fusion with depth and normal consistency check
GNU General Public License v3.0
195 stars 94 forks source link

make error #17

Open agenthong opened 3 years ago

agenthong commented 3 years ago
[ 33%] Building NVCC (Device) object CMakeFiles/fusibile.dir/fusibile_generated_fusibile.cu.o
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu(178): warning: variable "used_list" was set but never used

/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu(372): warning: variable "grid_size" was set but never used

/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu(375): warning: variable "block_size" was set but never used

ptxas info    : 64576 bytes gmem, 72 bytes cmem[3]
ptxas info    : Compiling entry function '_Z8fusibileR11GlobalStatei' for 'sm_75'
ptxas info    : Function properties for _Z8fusibileR11GlobalStatei
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 58 registers, 364 bytes cmem[0]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu: In function ‘void copy_point_cloud_to_host(GlobalState&, int, PointCloudList&)’:
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu:289:7: warning: ‘texture4[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             float texture4[4];
       ^     ~~
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu:289:7: warning: ‘texture4[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu:289:7: warning: ‘texture4[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu:289:7: warning: ‘texture4[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Scanning dependencies of target fusibile
[ 66%] Building CXX object CMakeFiles/fusibile.dir/main.cpp.o
In file included from /diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/main.cpp:32:0:
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h: In function ‘const char* _cudaGetErrorEnum(cudaError_t)’:
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:38:12: warning: enumeration value ‘cudaErrorNvlinkUncorrectable’ not handled in switch [-Wswitch]
     switch (error)
            ^
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:38:12: warning: enumeration value ‘cudaErrorJitCompilerNotFound’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:38:12: warning: enumeration value ‘cudaErrorCooperativeLaunchTooLarge’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h: In function ‘const char* _cudaGetErrorEnum(CUresult)’:
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_PEER_ACCESS_UNSUPPORTED’ not handled in switch [-Wswitch]
     switch (error)
            ^
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_INVALID_PTX’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_INVALID_GRAPHICS_CONTEXT’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_NVLINK_UNCORRECTABLE’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_JIT_COMPILER_NOT_FOUND’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_ILLEGAL_ADDRESS’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_HARDWARE_STACK_ERROR’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_ILLEGAL_INSTRUCTION’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_MISALIGNED_ADDRESS’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_INVALID_ADDRESS_SPACE’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_INVALID_PC’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_NOT_PERMITTED’ not handled in switch [-Wswitch]
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/helper_cuda.h:293:12: warning: enumeration value ‘CUDA_ERROR_NOT_SUPPORTED’ not handled in switch [-Wswitch]
[100%] Linking CXX executable fusibile
CMakeFiles/fusibile.dir/fusibile_generated_fusibile.cu.o: In function `__device_stub__Z8fusibileR11GlobalStatei(GlobalState*, int)':
/tmp/tmpxft_00007fb7_00000000-5_fusibile.cudafe1.stub.c:13: undefined reference to `__cudaPopCallConfiguration'
/tmp/tmpxft_00007fb7_00000000-5_fusibile.cudafe1.stub.c:13: undefined reference to `__cudaPopCallConfiguration'
CMakeFiles/fusibile.dir/fusibile_generated_fusibile.cu.o: In function `__sti____cudaRegisterAll()':
/tmp/tmpxft_00007fb7_00000000-5_fusibile.cudafe1.stub.c:2: undefined reference to `__cudaRegisterFatBinaryEnd'
CMakeFiles/fusibile.dir/fusibile_generated_fusibile.cu.o: In function `void fusibile_cu<float4>(GlobalState&, PointCloudList&, int)':
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu:421: undefined reference to `__cudaPushCallConfiguration'
CMakeFiles/fusibile.dir/fusibile_generated_fusibile.cu.o: In function `__device_stub__Z8fusibileR11GlobalStatei(GlobalState*, int)':
/tmp/tmpxft_00007fb7_00000000-5_fusibile.cudafe1.stub.c:13: undefined reference to `__cudaPopCallConfiguration'
CMakeFiles/fusibile.dir/fusibile_generated_fusibile.cu.o: In function `void fusibile_cu<float>(GlobalState&, PointCloudList&, int)':
/diskD/hzc/Self-Supervised-MVS/jdacs/fusion/fusibile/fusibile.cu:421: undefined reference to `__cudaPushCallConfiguration'
CMakeFiles/fusibile.dir/fusibile_generated_fusibile.cu.o: In function `__device_stub__Z8fusibileR11GlobalStatei(GlobalState*, int)':
/tmp/tmpxft_00007fb7_00000000-5_fusibile.cudafe1.stub.c:13: undefined reference to `__cudaPopCallConfiguration'
collect2: error: ld returned 1 exit status
CMakeFiles/fusibile.dir/build.make:109: recipe for target 'fusibile' failed
make[2]: *** [fusibile] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/fusibile.dir/all' failed
make[1]: *** [CMakeFiles/fusibile.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

How can I solve this question?

hzlajojo commented 3 years ago

I have the same problem. Any solution for this?

Mizodesu commented 2 years ago

how about change ur C++ VERSION

Mizodesu commented 2 years ago

@hzlajojo