Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error #17

Open
agenthong opened this issue Apr 13, 2021 · 3 comments
Open

make error #17

agenthong opened this issue Apr 13, 2021 · 3 comments

Comments

@agenthong
Copy link

[ 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
Copy link

hzlajojo commented Oct 7, 2021

I have the same problem. Any solution for this?

@Mizodesu
Copy link

how about change ur C++ VERSION

@Mizodesu
Copy link

@hzlajojo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants