Home > Back-end >  Vs2015 configuration caffe to compile libcaffe errors
Vs2015 configuration caffe to compile libcaffe errors

Time:09-27

Severity code description
Error MSB3721 command "" C: \ Program Files \ NVIDIA GPU Computing Toolkit \ CUDA \ v8.0 \ bin \ NVCC exe" - gencode=arch=compute_52, code=\ "sm_52, compute_52 " - gencode=arch=compute_60, code=\ "sm_60, compute_60 " -- the use - the local - env - cl - version 2015 - ccbin "D: \ vs2015community \ VC \ bin \ x86_amd64" -i "C: \ Program Files \ NVIDIA GPU Computing Toolkit \ CUDA \ v8.0 \ lib" -i "C: \ Program Files \ NVIDIA GPU Computing Toolkit, CUDA, v8.0, include" -i "D: \ \ Windows \ libcaffe caffe - Windows - ms \ \.. \.. \ SRC \ \ "-i" D: \ \ Windows \ libcaffe caffe - Windows - ms \ \.. \.. 3 rdparty \ \ \ "-i" C: \ Program Files \ NVIDIA GPU Computing Toolkit, CUDA, v8.0, include "-i" C: \ Program Files \ NVIDIA GPU Computing Toolkit, CUDA, v8.0, include "- and keep - dir D: \ caffe - Windows - ms \ Windows \. \Build\Int\libcaffe\x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Xcompiler "/wd 4819" -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=-DNDEBUG -D_SCL_SECURE_NO_WARNINGS -DUSE_OPENCV -DUSE_LEVELDB -DUSE_LMDB -DMATLAB_MEX_FILE -DWITH_PYTHON_LAYER -DBOOST_PYTHON_STATIC_LIB -DUSE_NCCL -DUSE_CUDNN -D_UNICODE -DUNICODE -Xcompiler "/EHsc/W1/nologo/Ox/FS/Zi/MD " -o D:\caffe-windows-ms\windows\../Build/Int \ libcaffe \ x64 \ Release \ batch_norm_layer cu. Obj "D: \ \ SRC \ caffe, caffe - Windows - ms \ the layers \ batch_norm_layer cu" "withdrawn, return code is 2, libcaffe C: \ Program Files \ (x86) MSBuild \ Microsoft Cpp \ v4.0 \ V140 \ BuildCustomizations \ CUDA 8.0. The targets 689
Project files line

What environment variables are fixed, the extract CUDNN to caffe directory, double-click the error to the this a function

 & lt; CudaCompile 
Condition="' $(__ExcludedFromBuild)! "
='true'StandardOutputImportance="High"
LogStandardErrorAsError="$(CudaLogStandardErrorAsError)"
ContinueOnError="$(CudaContinueOnError)"

AdditionalDeps="$(__AdditionalDeps)"
CompileOut="$(__CompileOut)"
The Include="$(__Include)"
GenerateRelocatableDeviceCode="$(__GenerateRelocatableDeviceCode)"
NvccCompilation="$(__NvccCompilation)"
CudaRuntime="$(__CudaRuntime)"
NvccPath="$(__NvccPath)"
RequiredIncludes="$(__RequiredIncludes)"
TargetMachinePlatform="$(__TargetMachinePlatform)"

InterleaveSourceInPTX="$(__InterleaveSourceInPTX)"
CodeGeneration="@ (__CodeGeneration)"
GPUDebugInfo="$(__GPUDebugInfo)"
GenerateLineInfo="$(__GenerateLineInfo)"
Keep="$(__Keep)"
KeepDir="$(__KeepDir)"
MaxRegCount="$(__MaxRegCount)"
PtxAsOptionV="$(__PtxAsOptionV)"

Defines="@ (__Defines)"
Emulation="$(__Emulation)"
HostDebugInfo="$(__HostDebugInfo)"
FastMath="$(__FastMath)"
Optimization="$(__Optimization)"
The Runtime="$(__Runtime)"
RuntimeChecks="$(__RuntimeChecks)"
TypeInfo="$(__TypeInfo)"
AdditionalCompilerOptions="$(__AdditionalCompilerOptions)"
Warning="$(__Warning)"

AdditionalOptions="$(__AdditionalOptions)"
CommandLineTemplate="$(__CommandLineTemplate)"/& gt;

And tried the virtual machine Ubuntu, found that can't open the gpu acceleration, install tensorflow is successful, are now ready to pack a dual system

CodePudding user response:

Could you tell me how to solve the problem finally pressure blogger, remember
  • Related