TerenceCYJ/S2HAND

python setup.py install error in win10

Opened this issue · 3 comments

load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_calloc
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_calloc
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_strdup
OLDNAMES.lib(strdup.obi) : error LNK2001: 无法解析的外部符号 __imp_strdup
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_terminate
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_strncmp
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_free
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp__invalid_parameter_noinfo_noreturn
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__invalid_parameter_noinfo_noreturn
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_wcslen
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 strlen
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 labs
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 llabs
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 fabs
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fminf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fmaxf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_exp2f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_expm1f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_log2f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_log1pf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_acoshf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_asinhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_atanhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_ldexp
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_logbf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_ilogbf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_scalblnf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_frexp
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_roundf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_lroundf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_llroundf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_rintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_lrintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_llrintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_nearbyintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_truncf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fdimf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_cbrtf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 pow
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_remainderf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_remquof
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_erff
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_erfcf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_lgammaf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_tgammaf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_copysignf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_nextafterf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fmaf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_acosf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_asinf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_atanf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_atan2f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_cosf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_sinf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_tanf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_coshf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_sinhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_tanhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_expf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_logf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_log10f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_modff
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_powf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_sqrtf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_ceilf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_floorf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fmodf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__dsign
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__ldsign
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__fdsign
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__hypotf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp___acrt_iob_func
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp___stdio_common_vfprintf
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_CloseHandle
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_EnterCriticalSection
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_LeaveCriticalSection
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_InitializeCriticalSectionAndSpinCount
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_DeleteCriticalSection
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_SetEvent
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_ResetEvent
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_WaitForSingleObjectEx
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_CreateEventW
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_GetModuleHandleW
MSVCRT.lib(utility_desktop.obj) : error LNK2001: 无法解析的外部符号 __imp_GetModuleHandleW
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_GetProcAddress
MSVCRT.lib(tncleanup.obj) : error LNK2001: 无法解析的外部符号 __imp_InitializeSListHead
MSVCRT.lib(new_scalar.obj) : error LNK2001: 无法解析的外部符号 _callnewh
MSVCRT.lib(new_scalar.obj) : error LNK2001: 无法解析的外部符号 malloc
MSVCRT.lib(ehvecdtr.obj) : error LNK2001: 无法解析的外部符号 terminate
MSVCRT.lib(utility_desktop.obj) : error LNK2001: 无法解析的外部符号 terminate
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _seh_filter_dll
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _configure_narrow_argv
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _initialize_narrow_environment
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _initialize_onexit_table
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _register_onexit_function
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _execute_onexit_table
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _crt_atexit
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _crt_at_quick_exit
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _cexit
MSVCRT.lib(dll_dllmain.obj) : error LNK2001: 无法解析的外部符号 _initterm
MSVCRT.lib(dll_dllmain.obj) : error LNK2001: 无法解析的外部符号 _initterm_e
MSVCRT.lib(gs_support.obj) : error LNK2001: 无法解析的外部符号 __imp_GetCurrentThreadId
MSVCRT.lib(gs_support.obj) : error LNK2001: 无法解析的外部符号 __imp_GetSystemTimeAsFileTime
MSVCRT.lib(dll_dllmain_stub.obj) : error LNK2001: 无法解析的外部符号 __imp_DisableThreadLibraryCalls
OLDNAMES.lib(strdup.obi) : error LNK2001: 无法解析的外部符号 __imp__strdup
build\lib.win-amd64-3.6\neural_renderer\cuda\load_textures.cp36-win_amd64.pyd : fatal error LNK1120: 113 个无法解析的外部命令
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe' failed with exit status 1120

how to solve this problem?

can only help you on ubuntu, check PyTorch 1.5 compatible

use c