Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Caffe windows compile error #160

Open
lizzzcai opened this issue Jun 16, 2017 · 0 comments
Open

Caffe windows compile error #160

lizzzcai opened this issue Jun 16, 2017 · 0 comments

Comments

@lizzzcai
Copy link

My system is win7 64 and VS2013. I follow the structure to compile the caffe but I have the following errors. The src files in caffe can not be found, I don't know why, anyone has idea about this? thanks.

1>C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1158): warning C4251: 'google::LogMessage::LogStream::streambuf_' : class 'google::base_logging::LogStreamBuf' needs to have dll-interface to be used by clients of class 'google::LogMessage::LogStream' (....\src\caffe\util\im2col.cpp)
1> C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1088) : see declaration of 'google::base_logging::LogStreamBuf'
1>C:\DL\NugetPackages\protobuf-v120.2.6.1\build\native\include\google/protobuf/io/coded_stream.h(977): warning C4244: '=' : conversion from '_int64' to 'int', possible loss of data (....\src\caffe\util\io.cpp)
1>C:\DL\NugetPackages\protobuf-v120.2.6.1\build\native\include\google/protobuf/io/coded_stream.h(1162): warning C4244: 'return' : conversion from 'int64' to 'int', possible loss of data (....\src\caffe\util\io.cpp)
1>C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1158): warning C4251: 'google::LogMessage::LogStream::streambuf
' : class 'google::base_logging::LogStreamBuf' needs to have dll-interface to be used by clients of class 'google::LogMessage::LogStream' (....\src\caffe\util\insert_splits.cpp)
1> C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1088) : see declaration of 'google::base_logging::LogStreamBuf'
1>C:\DL\caffe-rfcn\include\caffe/util/device_alternate.hpp(34): fatal error C1083: Cannot open include file: 'cublas_v2.h': No such file or directory (....\src\caffe\util\insert_splits.cpp)
1> signal_handler.cpp
1>C:\DL\caffe-rfcn\include\caffe/util/device_alternate.hpp(34): fatal error C1083: Cannot open include file: 'cublas_v2.h': No such file or directory (....\src\caffe\util\im2col.cpp)
1> upgrade_proto.cpp
1>C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1158): warning C4251: 'google::LogMessage::LogStream::streambuf
' : class 'google::base_logging::LogStreamBuf' needs to have dll-interface to be used by clients of class 'google::LogMessage::LogStream' (....\src\caffe\util\io.cpp)
1> C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1088) : see declaration of 'google::base_logging::LogStreamBuf'
1>C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1158): warning C4251: 'google::LogMessage::LogStream::streambuf
' : class 'google::base_logging::LogStreamBuf' needs to have dll-interface to be used by clients of class 'google::LogMessage::LogStream' (....\src\caffe\util\signal_handler.cpp)
1> C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1088) : see declaration of 'google::base_logging::LogStreamBuf'
1>C:\DL\caffe-rfcn\include\caffe/util/device_alternate.hpp(34): fatal error C1083: Cannot open include file: 'cublas_v2.h': No such file or directory (....\src\caffe\util\io.cpp)
1>C:\DL\NugetPackages\protobuf-v120.2.6.1\build\native\include\google/protobuf/io/coded_stream.h(977): warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data (....\src\caffe\util\upgrade_proto.cpp)
1>C:\DL\NugetPackages\protobuf-v120.2.6.1\build\native\include\google/protobuf/io/coded_stream.h(1162): warning C4244: 'return' : conversion from 'int64' to 'int', possible loss of data (....\src\caffe\util\upgrade_proto.cpp)
1>C:\DL\NugetPackages\boost.1.59.0.0\lib\native\include\boost/format/alt_sstream_impl.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss (....\src\caffe\util\math_functions.cpp)
1>C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1158): warning C4251: 'google::LogMessage::LogStream::streambuf
' : class 'google::base_logging::LogStreamBuf' needs to have dll-interface to be used by clients of class 'google::LogMessage::LogStream' (....\src\caffe\util\math_functions.cpp)
1> C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1088) : see declaration of 'google::base_logging::LogStreamBuf'
1>C:\DL\caffe-rfcn\include\caffe/util/device_alternate.hpp(34): fatal error C1083: Cannot open include file: 'cublas_v2.h': No such file or directory (....\src\caffe\util\math_functions.cpp)
1>C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1158): warning C4251: 'google::LogMessage::LogStream::streambuf
' : class 'google::base_logging::LogStreamBuf' needs to have dll-interface to be used by clients of class 'google::LogMessage::LogStream' (....\src\caffe\util\upgrade_proto.cpp)
1> C:\DL\NugetPackages\glog.0.3.3.0\build\native\include\glog/logging.h(1088) : see declaration of 'google::base_logging::LogStreamBuf'
1>C:\DL\caffe-rfcn\include\caffe/util/device_alternate.hpp(34): fatal error C1083: Cannot open include file: 'cublas_v2.h': No such file or directory (....\src\caffe\util\upgrade_proto.cpp)
1>C:\DL\caffe-rfcn\include\caffe/util/device_alternate.hpp(34): fatal error C1083: Cannot open include file: 'cublas_v2.h': No such file or directory (....\src\caffe\util\signal_handler.cpp)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant