Comments (6)
Looks like the opencv3 uses static linking, so dll's shouldn't be necessary.
Seems like you haven't configured all project properly to use new opencv package.
from caffe.
My bad, dlls are included through https://www.nuget.org/packages/opencv3.redist/ which is dependency.
I was able to replace existing opecv package just by using UI in VS. It compiles and runs test OK.
If you are having issues configuring it I can share my version somewhere for you to try it out.
from caffe.
Thanks for the tip @pavlejosipovic. I also realized about that "redist" package, but I wasn't sure how to use it because I see it has the dll-s but not the libs to be linked. So, you mean that you used the VS UI to replace the current OpenCV package by this one? How did you do that exactly?
from caffe.
@pavlejosipovic Ok, I could finally get this working with OpenCV3. For that, I added both OpenCV3 packages (the "redist" one with the dll files and the one with the lib files) at the same time. I first tried following this tutorial (http://docs.nuget.org/consume/package-manager-dialog) to do this through the VS UI, but I go stuck. This way, I didn't know how to make the system copy the dll files to the corresponding build folder automatically, as other packages do (probably I'm missing something). Then, I just added the "redist" package in a similar way to the other one, also adding the path to the "opencv3.redist.targets" file in the .vcxproj files in the same way as "opencv3.targets".
from caffe.
To do it through UI you should
- Right click on solution -> Manage NuGet packages for Solution
- Installed packages -> select opencv -> Manage -> uncheck from all projects
- Online -> find package you want to add -> Install -> add to all projects
from caffe.
@pavlejosipovic Ok, thanks. It's all clear now. Good to know how NuGet works for this. Great tool.
from caffe.
Related Issues (20)
- can not print caffe layers information fully
- compile error on caffe windows without GPU HOT 1
- Errow C2220: do not build the "obj" file (complile the source file :..\..\src\caffe\util\math_functions.cpp) HOT 1
- compile error with '.build_release/lib/libcaffe.so: undefined reference' HOT 1
- pycaffe build link error,how to solve it ? HOT 1
- can't find cuda_runtime. h
- Linux build error HOT 1
- 'gpu.dll' connot be found
- this link is not exist?
- Protobuf: Reading dangerously large protocol message
- Python stopped working when execute 'self.solver.step(1)' code in 'train.py' file. HOT 1
- cuDNN version problem
- Matcaffe Compiling Issues:
- Accessing .\windows HOT 1
- AttributeError: 'module' object has no attribute 'LabelMap'
- I cant create caffe.pb.h file HOT 2
- how to solve NuGet problem of OpenCV or glag except Uninstall and reinstall HOT 3
- Error C1083: Cannot open “cublas_v2.h”: No such file or directory D:\caffe\caffe-master\include\caffe\util\device_alternate.hpp 34
- i cant build the libcaffe in vs2013 and it tells me the version of python is not compatible
- This repo is missing important files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe.