Coder Social home page Coder Social logo

Build fail in VS2013, WIN7. about caffe HOT 10 CLOSED

microsoft avatar microsoft commented on July 19, 2024
Build fail in VS2013, WIN7.

from caffe.

Comments (10)

KaneZhu avatar KaneZhu commented on July 19, 2024

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

from caffe.

zwx8981 avatar zwx8981 commented on July 19, 2024

@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)?

from caffe.

pavlejosipovic avatar pavlejosipovic commented on July 19, 2024

Try building from bvlc_win_to_ms_master_2016_03_11 branch

from caffe.

pavlejosipovic avatar pavlejosipovic commented on July 19, 2024

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

from caffe.

zwx8981 avatar zwx8981 commented on July 19, 2024

@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:\ ?

from caffe.

sasagalic-MSFT avatar sasagalic-MSFT commented on July 19, 2024

@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.

from caffe.

zwx8981 avatar zwx8981 commented on July 19, 2024

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

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

from caffe.

Ariex avatar Ariex commented on July 19, 2024

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..

from caffe.

sasagalic-MSFT avatar sasagalic-MSFT commented on July 19, 2024

@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")?

from caffe.

zwx8981 avatar zwx8981 commented on July 19, 2024

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

from caffe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.