-
Notifications
You must be signed in to change notification settings - Fork 116
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
Build fails with missing 'pthread.h' in Caffe.vcxproj #19
Comments
Never seen that one. By VS12 you mean 2013 right? You should not need to add pthreads but use Win32 Threads instead. The threads in caffe are checked here: https://github.com/willyd/caffe/blob/msvc/cmake/Dependencies.cmake See cmake doc for FindThreads: |
Thanks for the hint. It let me eventually realize that I was looking not at the cause of the problem but the last reported error that was not important. Error above that one was
Very similar to situation described in Issue #17, so I followed advise there. Had to edit |
I followed the instruction for using CMake but I got the same problem... |
I am building using VS12 on Windows 7 following instructions in readme (after correction for #18). It goes for a while fine till it stop on error in
Caffe.vcxproj
. The actual error message is inCaffe-prefix\src\Caffe-build\CMakeFiles\CMakeError.log
:Look that I need to add
pthreads
library somewhere. What is the proper way to to it?The text was updated successfully, but these errors were encountered: