-
Notifications
You must be signed in to change notification settings - Fork 114
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
cmake error The source directory is a file, not a directory. #39
Comments
There is a typo in the README you need to add your source directory at the end like so:
|
Thank you for such a fast reply. Sorry, but what should be the source directory? Also, should there by libraries directory under Project\caffe\build\ ? For some reason, I don't have one. |
@haeseonii it should be the the source directory of Caffe you wanna compile. |
Looking forward to having this added to the read.me |
@adesun Hi, do you mean the root of caffe or the |
Found it (i.e. the "c:\path\to\src") shoud mean the root of caffe, which has the CMakeLists.txt in the folder. |
I apologize if this is the wrong place to ask this.
I successfully (I think) ran build_v140_x64.cmd and the necessary directories/files are generated.
I am trying to run cmake as stated in the readme, but it is failing.
I am pretty new to this, so I might be doing something wrong, but could you please help? Thanks!
C:\Projects\caffe\build>cmake -G Ninja -C C:\Projects\caffe-builder\build\libraries\caffe-builder-config.cmake
loading initial cache file C:\Projects\caffe-builder\build\libraries\caffe-builder-config.cmake
CMake Error: The source directory "C:/Projects/caffe-builder/build/libraries/caffe-builder-config.cmake" is a
file, not a directory.
Specify --help for usage, or press the help button on the CMake GUI.
The text was updated successfully, but these errors were encountered: