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

error: argument of type "int" is incompatible with parameter of type "cudnnNanPropagation_t" #7

Open
xs666666 opened this issue Dec 23, 2016 · 2 comments

Comments

@xs666666
Copy link

When I build caffe-rfcn,I get errors:

错误	382	error : argument of type "int" is incompatible with parameter of type "cudnnNanPropagation_t"	C:\Users\dell\Downloads\caffe-rfcn\include\caffe\util\cudnn.hpp	128	1	libcaffe
错误	383	error : too few arguments in function call	C:\Users\dell\Downloads\caffe-rfcn\include\caffe\util\cudnn.hpp	128	1	libcaffe
错误	384	error : argument of type "int" is incompatible with parameter of type "cudnnNanPropagation_t"	C:\Users\dell\Downloads\caffe-rfcn\include\caffe\util\cudnn.hpp	128	1	libcaffe
错误	385	error : too few arguments in function call	C:\Users\dell\Downloads\caffe-rfcn\include\caffe\util\cudnn.hpp	128	1	libcaffe
错误	402	error MSB3721: 命令“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2013 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64"  -I"C:\Users\dell\Downloads\NugetPackages\lmdb-v120-clean.0.9.14.0\build\native\..\..\lib\native\include" -I"C:\Users\dell\Downloads\NugetPackages\LevelDB-vc120.1.2.0.0\build\native\../..//build/native/include/" -I"C:\Users\dell\Downloads\NugetPackages\protobuf-v120.2.6.1\build\native\../..//build/native/include/" -IC:\Users\dell\Downloads\NugetPackages\glog.0.3.3.0\build\native\../..//build/native/include/ -IC:\Users\dell\Downloads\NugetPackages\gflags.2.1.2.1\build\native\../..///build/native/include/ -IC:\Users\dell\Downloads\NugetPackages\boost.1.59.0.0\build\native\..\..\lib\native\include\ -I"C:\Users\dell\Downloads\NugetPackages\hdf5-v120-complete.1.8.15.2\build\native\..\..\lib\native\include" -IC:\Users\dell\Downloads\NugetPackages\OpenBLAS.0.2.14.1\build\native\..\..\lib\native\include -IC:\Users\dell\Downloads\NugetPackages\OpenCV.2.4.10\build\native\../../build/native/include/ -I"C:\Users\dell\Downloads\caffe-rfcn\windows\libcaffe\\..\..\src\\" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G -lineinfo  --keep-dir C:\Users\dell\Downloads\caffe-rfcn\windows\..\Build\Int\libcaffe\x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static -Xcudafe "--diag_suppress=exception_spec_override_incompat --diag_suppress=useless_using_declaration --diag_suppress=field_without_dll_interface" -D_SCL_SECURE_NO_WARNINGS -DGFLAGS_DLL_DECL= -g   -DHAS_LMDB -DHAS_HDF5 -DHAS_OPENBLAS -DHAS_OPENCV -D_DEBUG -D_SCL_SECURE_NO_WARNINGS -DUSE_OPENCV -DUSE_LEVELDB -DUSE_LMDB -DMATLAB_MEX_FILE -DWITH_PYTHON_LAYER -DBOOST_PYTHON_STATIC_LIB -DUSE_CUDNN -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W1 /nologo /Od /FS /Zi /RTC1 /MDd " -o C:\Users\dell\Downloads\caffe-rfcn\windows\..\Build\Int\libcaffe\x64\Debug\base_data_layer.cu.obj "C:\Users\dell\Downloads\caffe-rfcn\src\caffe\layers\base_data_layer.cu"”已退出,返回代码为 2。	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 8.0.targets	687	9	libcaffe

My build environment is Windows 7+CUDA 8.0+CUDNN 5.1.
Is caffe-rfcn not support CUDA8.0+CUDNN 5.1?
Do you have any idea with the problem?

Thank you.

@liyi14
Copy link
Collaborator

liyi14 commented Jan 4, 2017

Not yet, maybe you can try caffe maintained by microsoft (link)

@qingqianshuying
Copy link

You can try the cudnn version 4.

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