faster_rcnn
faster_rcnn copied to clipboard
Error '_MSC_VER': value '1600' doesn't match value '1800' in nms_gpu_mex.o running faster_rcnn_build.m file
nvcc --compile -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -o nms_gpu_mex.o --machine 64 -I"C:\Program Files\MATLAB\R2016a/extern/include " -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -I"C:\ProgramData\NVIDIA Corporation\CUDA Samples\v6.5\common\inc" "functions/nms/nms_gpu_mex.cu"
nms_gpu_mex.cu
mex -outdir bin nms_gpu_mex.o -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64" -lcudart
Building with 'Microsoft Visual C++ 2010 (C)'.
Error using mex
libcpmt.lib(xthrow.obj) : error LNK2038: mismatch detected for
'_MSC_VER': value '1600' doesn't match value '1800' in
nms_gpu_mex.o
LIBCMT.lib(new.obj) : error LNK2038: mismatch detected for
'_MSC_VER': value '1600' doesn't match value '1800' in
nms_gpu_mex.o
LIBCMT.lib(typinfo.obj) : error LNK2038: mismatch detected for
'_MSC_VER': value '1600' doesn't match value '1800' in
nms_gpu_mex.o
LIBCMT.lib(stdexcpt.obj) : error LNK2038: mismatch detected for
'_MSC_VER': value '1600' doesn't match value '1800' in
nms_gpu_mex.o
LIBCMT.lib(frame.obj) : error LNK2038: mismatch detected for
'_MSC_VER': value '1600' doesn't match value '1800' in
nms_gpu_mex.o
LIBCMT.lib(typname.obj) : error LNK2038: mismatch detected for
'_MSC_VER': value '1600' doesn't match value '1800' in
nms_gpu_mex.o
Creating library F:\Documents\Fish
detection_2018\faster_rcnn-master\faster_rcnn-master\bin\nms_gpu_mex.lib
and object F:\Documents\Fish
detection_2018\faster_rcnn-master\faster_rcnn-master\bin\nms_gpu_mex.exp
nms_gpu_mex.o : error LNK2019: unresolved external symbol
fminf referenced in function "float __cdecl fmin(float,float)"
(?fmin@@YAMMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol fmaxf
referenced in function "float __cdecl fmax(float,float)"
(?fmax@@YAMMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol exp2f
referenced in function "float __cdecl exp2(float)"
(?exp2@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol expm1f
referenced in function "float __cdecl expm1(float)"
(?expm1@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol log2f
referenced in function "float __cdecl log2(float)"
(?log2@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol log1pf
referenced in function "float __cdecl log1p(float)"
(?log1p@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol acoshf
referenced in function "float __cdecl acosh(float)"
(?acosh@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol asinhf
referenced in function "float __cdecl asinh(float)"
(?asinh@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol atanhf
referenced in function "float __cdecl atanh(float)"
(?atanh@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol logbf
referenced in function "float __cdecl logb(float)"
(?logb@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol ilogbf
referenced in function "int __cdecl ilogb(float)"
(?ilogb@@YAHM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol
scalblnf referenced in function "float __cdecl
scalbln(float,long)" (?scalbln@@YAMMJ@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol roundf
referenced in function "float __cdecl round(float)"
(?round@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol lroundf
referenced in function "long __cdecl lround(float)"
(?lround@@YAJM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol
llroundf referenced in function "__int64 __cdecl llround(float)"
(?llround@@YA_JM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol rintf
referenced in function "float __cdecl rint(float)"
(?rint@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol lrintf
referenced in function "long __cdecl lrint(float)"
(?lrint@@YAJM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol llrintf
referenced in function "__int64 __cdecl llrint(float)"
(?llrint@@YA_JM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol
nearbyintf referenced in function "float __cdecl
nearbyint(float)" (?nearbyint@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol truncf
referenced in function "float __cdecl trunc(float)"
(?trunc@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol fdimf
referenced in function "float __cdecl fdim(float,float)"
(?fdim@@YAMMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol cbrtf
referenced in function "float __cdecl cbrt(float)"
(?cbrt@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol remquof
referenced in function "float __cdecl remquo(float,float,int *)"
(?remquo@@YAMMMPEAH@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol erff
referenced in function "float __cdecl erf(float)" (?erf@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol erfcf
referenced in function "float __cdecl erfc(float)"
(?erfc@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol lgammaf
referenced in function "float __cdecl lgamma(float)"
(?lgamma@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol tgammaf
referenced in function "float __cdecl tgamma(float)"
(?tgamma@@YAMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol
copysignf referenced in function "float __cdecl
copysign(float,float)" (?copysign@@YAMMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol
nextafterf referenced in function "float __cdecl
nextafter(float,float)" (?nextafter@@YAMMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol fmaf
referenced in function "float __cdecl fma(float,float,float)"
(?fma@@YAMMMM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol _dsign
referenced in function "bool __cdecl signbit(double)"
(?signbit@@YA_NN@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol _ldsign
referenced in function "bool __cdecl signbit(long double)"
(?signbit@@YA_NO@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol _fdsign
referenced in function "bool __cdecl signbit(float)"
(?signbit@@YA_NM@Z)
nms_gpu_mex.o : error LNK2019: unresolved external symbol "void
__cdecl std::_Xbad_alloc(void)" (?_Xbad_alloc@std@@YAXXZ)
referenced in function "char * __cdecl
std::_Allocate
Error in nvmex (line 48) eval(mexCommandLine);
Error in faster_rcnn_build (line 23) nvmex('functions/nms/nms_gpu_mex.cu', 'bin');
Did you solve it?