happynear / caffe-windows

Configure Caffe in one hour for Windows users.
Other
1.32k stars 650 forks source link

libcaffe编译成功,pycaffe 编译失败 #331

Open mmchen88 opened 2 years ago

mmchen88 commented 2 years ago

1>------ 已启动生成: 项目: libcaffe, 配置: Release x64 ------ 1> ProtoCompile.cmd : Create proto temp directory "E:\caffe-windows-ms\windows..\src\caffe\proto\temp" 1> ProtoCompile.cmd : Generating "E:\caffe-windows-ms\windows..\src\caffe\proto\temp\caffe.pb.h" and "E:\caffe-windows-ms\windows..\src\caffe\proto\temp\caffe.pb.cc" 1> ProtoCompile.cmd : Create proto include directory 1> 子目录或文件 E:\caffe-windows-ms\windows..\include\caffe\proto 已经存在。 1> ProtoCompile.cmd : Compare newly compiled caffe.pb.h with existing one 1> libcaffe.vcxproj -> E:\caffe-windows-ms\windows..\Build\x64\Release\libcaffe.lib 2>------ 已启动生成: 项目: pycaffe, 配置: Release x64 ------ 2> PythonPreBuild.cmd : Create output directories for python scripts. 2> PythonPreBuild.cmd : Create dummy init.py file 2> PythonPreBuild.cmd : Generating src\caffe\proto\caffe.pb.h with python bindings 2> _caffe.cpp 2>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include\cuda_fp16.h : error C2220: 警告被视为错误 - 没有生成“object”文件 2>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include\cuda_fp16.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 ========== 生成: 成功 1 个,失败 1 个,最新 1 个,跳过 0 个 ==========