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

Build fail in VS2013, WIN7. #34

Closed
zwx8981 opened this issue Mar 7, 2016 · 10 comments
Closed

Build fail in VS2013, WIN7. #34

zwx8981 opened this issue Mar 7, 2016 · 10 comments

Comments

@zwx8981
Copy link

zwx8981 commented Mar 7, 2016

The error information shows as:

_ maiz4dx6 fd a 6 lvd

What's the problem?

@zwx8981 zwx8981 changed the title Build fail in VS2013B, WIN7. Build fail in VS2013, WIN7. Mar 7, 2016
@KaneZhu
Copy link

KaneZhu commented Mar 7, 2016

@zwx8981 I think you got a similar error as me, see my issue #33 .

@zwx8981
Copy link
Author

zwx8981 commented Mar 11, 2016

@KaneZhu Thank you, but it doesn't work. It seems my Visual Studio 2013 is different somewhat. In my C:\Program Files (x86)\ folder, there is no Microsoft Visual Studio 12.0, instead, a Microsoft Visual Studio 11.0 exist. But in C:\Program Files, there is a Microsoft Visual Studio 12.0. However, to compile this microsoft caffe, I saw E:\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 . I think that's the problem. So, what's you guys Visual Studio 2013 looks like, is there a Microsoft Visual Studio 12.0 folder in C:\Program Files (x86)?

@pavlejosipovic
Copy link

Try building from bvlc_win_to_ms_master_2016_03_11 branch

@pavlejosipovic
Copy link

bvlc_win_to_ms_master_2016_03_11 is not merged into master, so you can just pull from master.

@zwx8981
Copy link
Author

zwx8981 commented Mar 14, 2016

@pavlejosipovic Hi, thank you, but I just figured out what the problem is. It seems that the Visual Studio 2013 is required to install in C:\ partition. Is there any way to modify some file to fix this problem without re-install the VS2013 to C:\ ?

@sasagalic-MSFT
Copy link

@zwx8981, as pavlejosipovic said several issues related to VS not being installed at the default location have been fixed with 2808199. Have you tried pulling the latest master?
If you still experience problems please provide error message.

@zwx8981
Copy link
Author

zwx8981 commented Mar 14, 2016

@sasagalic-MSFT I‘ve tried it and there is still one error.

error LNK 1104: cannot open file "MSCOREE.lib"

@Ariex
Copy link

Ariex commented Mar 15, 2016

i got similar issue, could give it a try as following: libcaffe project > Property > C/C++ > General > Treat Warnings as Errors > No (/WX-)
I think I found it from another issue in BVLC/caffe, but cannot find the link now..

@sasagalic-MSFT
Copy link

@zwx8981 do you have mscoree.lib in your windows kits installation (path should be something in line with "C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64")?

@zwx8981
Copy link
Author

zwx8981 commented Mar 22, 2016

I've successfully built the project now(although I don't know why I can't before.....)

@zwx8981 zwx8981 closed this as completed Mar 22, 2016
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

5 participants