niuzhiheng / caffe

Caffe
http://caffe.berkeleyvision.org/
BSD 2-Clause "Simplified" License
317 stars 129 forks source link

Cant build #65

Open jasoncummer opened 9 years ago

jasoncummer commented 9 years ago

So I'm not sure what I'm missing. Is there a page with errors and how one might solve them? I've looked around and might have missed it. If there isn't one we should create one :)

The error I am getting is different then a few days ago. To my knowledge I did not change anything on the computer. An update perhaps.

Sorry there is a lot here. 1>------ Build started: Project: MainCaller, Configuration: Debug x64 ------ 1> caffe.pb.h remains the same as before 1> Compiling CUDA source file ....\src\caffe\layers\softmax_layer.cu... 1>
1> C:\Users\Jason\Documents\GitHub\caffe\build\MSVC>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\nvcc.exe" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" --use-local-env --cl-version 2012 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64" -I../../3rdparty/include -I../../3rdparty/include/eigen3/Eigen -I../../src -I../../include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -D_VARIADIC_MAX=10 -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o Debug\softmax_layer.cu.obj "C:\Users\Jason\Documents\GitHub\caffe\src\caffe\layers\softmax_layer.cu" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1158): warning : field of class type without a DLL interface used in a class with a DLL interface 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::ios_base::~ios_base" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::basic_ios<_Elem, _Traits>::~basic_ios [with _Elem=char, _Traits=std::char_traits]" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::basic_ostream<_Elem, _Traits>::~basic_ostream [with _Elem=char, _Traits=std::char_traits]" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "google::LogMessage::LogStream::~LogStream" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "google::NullStream::~NullStream" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1158): warning : field of class type without a DLL interface used in a class with a DLL interface 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::ios_base::~ios_base" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::basic_ios<_Elem, _Traits>::~basic_ios [with _Elem=char, _Traits=std::char_traits]" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::basic_ostream<_Elem, _Traits>::~basic_ostream [with _Elem=char, _Traits=std::char_traits]" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "google::LogMessage::LogStream::~LogStream" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "google::NullStream::~NullStream" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1158): warning : field of class type without a DLL interface used in a class with a DLL interface 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::ios_base::~ios_base" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::basic_ios<_Elem, _Traits>::~basic_ios [with _Elem=char, _Traits=std::char_traits]" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "std::basic_ostream<_Elem, _Traits>::~basic_ostream [with _Elem=char, _Traits=std::char_traits]" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "google::LogMessage::LogStream::~LogStream" 1>C:\Users\Jason\Documents\GitHub\caffe\3rdparty\include\glog/logging.h(1573): warning : exception specification for virtual function "google::NullStreamFatal::~NullStreamFatal" is incompatible with that of overridden function "google::NullStream::~NullStream"

Before this I was trying to get the mnist data set running. I had some errors on that too. I had decided to ignore some warnings from the build as this page said some times external libraries have link errors of there own. http://answers.opencv.org/question/12600/problem-in-debugging-cannot-find-or-open-the-pdb-file/

'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\MainCaller.exe'. Symbols loaded. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\libopenblas.dll'. Module was built without symbols. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\libgfortran-3.dll'. Module was built without symbols. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\libquadmath-0.dll'. Module was built without symbols. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\libgcc_s_sjlj-1.dll'. Module was built without symbols. 'MainCaller.exe' (Win32): Loaded 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\cublas64_65.dll'. Module was built without symbols. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\netapi32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\netutils.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\srvcli.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\wkscli.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_a4d3b9377117c3df\comctl32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\curand64_65.dll'. Module was built without symbols. 'MainCaller.exe' (Win32): Loaded 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\cudart64_65.dll'. Module was built without symbols. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\libglog.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msvcp110.dll'. Symbols loaded. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msvcr110.dll'. Symbols loaded. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msvcp110d.dll'. Symbols loaded. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msvcr110d.dll'. Symbols loaded. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\opencv_core248d.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\opencv_imgproc248d.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Users\Jason\Documents\GitHub\caffe\bin\opencv_highgui248d.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file. 'MainCaller.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file. E0425 00:45:45.232357 20676 train_net.cpp:20] Usage: train_net solver_proto_file [resume_point_file] The thread 0x54d8 has exited with code 1 (0x1).
The thread 0x54e0 has exited with code 1 (0x1). The thread 0x54c8 has exited with code 1 (0x1).
The thread 0x549c has exited with code 1 (0x1). The thread 0x547c has exited with code 1 (0x1). The thread 0x54a8 has exited with code 1 (0x1). The thread 0x548c has exited with code 1 (0x1). The thread 0x5494 has exited with code 1 (0x1). The program '[17332] MainCaller.exe' has exited with code 1 (0x1).

I tried the mnist data and got these errors

C:\Users\Jason\Documents\GitHub\caffe\examples\mnist>"../../bin/train_net.exe" l enet_solver.prototxt I0426 21:29:07.564738 27384 train_net.cpp:26] Starting Optimization I0426 21:29:07.565738 27384 solver.cpp:41] Creating training net. I0426 21:29:07.571739 27384 net.cpp:64] Memory required for Data0 I0426 21:29:07.574739 27384 net.cpp:75] Creating Layer mnist I0426 21:29:07.574739 27384 net.cpp:111] mnist -> data I0426 21:29:07.574739 27384 net.cpp:111] mnist -> label I0426 21:29:07.574739 27384 data_layer.cpp:145] Opening leveldb mnist-train-leve ldb F0426 21:29:07.577739 27384 data_layer.cpp:148] Check failed: status.ok() Failed to open leveldb mnist-train-leveldb Invalid argument: mnist-train-leveldb: does not exist (create_if_missing is false) * Check failure stack trace: *

I would love to help with this project as its an area that interests me. I just need a place to start from. Even if that is solving my issues and starting a wiki page for common errors. or Errors that pop up as you start the process of building it that have know solutions.