Coder Social home page Coder Social logo

error MSB3073 about caffe HOT 11 CLOSED

microsoft avatar microsoft commented on July 19, 2024
error MSB3073

from caffe.

Comments (11)

pavlejosipovic avatar pavlejosipovic commented on July 19, 2024

That's strange.
Can you try to re-add protobuff package to the solution, or just clone the repo in different location (it should trigger NuGet packages to re-download.

from caffe.

pavlejosipovic avatar pavlejosipovic commented on July 19, 2024

@snailchan did you resolve this issue?

from caffe.

snailchan avatar snailchan commented on July 19, 2024

sorry,I have not solved this problem. Actually, I cloned your project, configured it, and debugged it as instruction. However, that didn't work.
As far as I am concerned, can this problem occurred because the NuGet packages? For I have not found any definitions about the include dir or source dir involved the NuGet packages dir.

from caffe.

snailchan avatar snailchan commented on July 19, 2024

After I scanned other issues, I noticed AleksandarTomicMS say that the default location ("C:\Program Files (x86)\Microsoft Visual Studio 12.0") did matter (#18). Coincidentally,I installed the MSVC in D:. So, does it really influence?

from caffe.

zer0n avatar zer0n commented on July 19, 2024

You can quick test the hypothesis by mklink /d "C:\Program Files (x86)\Microsoft Visual Studio 12.0" "D:\Microsoft Visual Studio 12.0".

from caffe.

snailchan avatar snailchan commented on July 19, 2024

Thank you for your help, @pavlejosipovic , @zer0n , after I added the soft link , the original bug disappeared. However, the new bug occurred.
error_msb3073
I think what causes the error is the '\' in the first line, but I have searched nothing useful on google. Can you give some instructions?

from caffe.

pavlejosipovic avatar pavlejosipovic commented on July 19, 2024

You can try running the cmd script manually to get better error message but my guess is that you haven't configured cuDNN as described in README.md

cuDNN

Download cuDNN v3 or cuDNN v4 from nVidia website. Unpack downloaded zip to %CUDA_PATH% (environment variable set by CUDA installer). Alternatively, you can unpack zip to any location and set CuDnnPath to point to this location in .\windows\CommonSettings.props . Also, you can disable cuDNN by setting UseCuDNN to false in the property file.

from caffe.

snailchan avatar snailchan commented on July 19, 2024

Yes, you are right, @pavlejosipovic . But I had set the $(CuDnnPath) below
2016-03-08_145338
As I located the cudnn package below
2016-03-08_145438
However, this bug still exits. Where did I set wrong?

from caffe.

pavlejosipovic avatar pavlejosipovic commented on July 19, 2024

If you are using %CUDA_PATH% then you can leave CuDnnPath variable empty.
I'm using cuDNNv4 on my box:
%CUDA_PATH%\bin\cudnn64_4.dll
%CUDA_PATH%\include\cudnn64.h
%CUDA_PATH%\lib\x64\cudnn.lib

from caffe.

snailchan avatar snailchan commented on July 19, 2024

thanks, @pavlejosipovic ,your solutions is useful, but, I want to know, why I put the cudnn package in other location have nothing to do with the bug. Where I set wrong?

from caffe.

pavlejosipovic avatar pavlejosipovic commented on July 19, 2024

You can put cuDNN in any location you want you just need to unzip the cuDNN package you download from NVidia and set CuDnnPath to point to this location
you should have the same folder structure.
"random unpack location"\cuda\bin\cudnn64_4.dll
"random unpack location"\cuda\include\cudnn.h
"random unpack location"\cuda\lib\x64\cudnn.lib

CuDnnPath should point to "random unpack location"

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.