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

Cannot copy files #35

Closed
yyyreal opened this issue Mar 9, 2016 · 4 comments
Closed

Cannot copy files #35

yyyreal opened this issue Mar 9, 2016 · 4 comments

Comments

@yyyreal
Copy link

yyyreal commented Mar 9, 2016

Since I'm using the Chinese version of vs2013, I can only describe my issue in the followiing words.

First I meet the issue #34, and I solved it after I refer to #33, and I recompile "libcaffe.lib"
but errors occured when the following output was printed on the screen.
image

It means
D:\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets(57,5): error MSB3030 : cannot copy file " C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT\msvcr120.dll" , reason : cannot find the file.

I've checked all the instructions and I have no idea where went wrong.

Thanks for you help.

@zaie
Copy link

zaie commented Mar 9, 2016

你好,不知道在github上面直接用中文是不是有点突兀,刚好我刚解决了这个问题,我直接把vs安装目录里面的vc文件夹,直接全部复制到你贴图中显示的文件夹中了,你可以按照错误里面说的路径打开看,真没有那些文件,所以我就直接复制了,不知道我说清楚没。

@yyyreal
Copy link
Author

yyyreal commented Mar 9, 2016

@zaie 谢谢你的建议 我准备试一试

@AleksandarTomicMS
Copy link

This happens when you have VS installed in location that isn't "C:\Program Files (x86)\Microsoft Visual Studio 12.0". More info can be found in issue #18. This can be solved by adding a link to your VS directory from the expected location:
mklink /d "C:\Program Files (x86)\Microsoft Visual Studio 12.0" <your VS directory>

@yyyreal
Copy link
Author

yyyreal commented Mar 9, 2016

@AleksandarTomicMS Thanks for your suggestion. I have installed the VS in "D:....." indeed. I copy those files to "C:\Program Files (x86)\Microsoft Visual Studio 12.0......." and I recompile it successfully.
Although I still met some other small issues, I managed to solve them by myself.

lunzueta pushed a commit to lunzueta/caffe that referenced this issue Sep 4, 2016
Reshape Layers before calling Forward / Backward
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

4 participants