Comments (3)
Hi,
I'm not sure about what is happening. But I think is something related to the Cuda Library. I do not use Cuda in this project.
Maybe you compiled your OpenCV activating Cuda module, did you? You can try 2 solutions:
1 - Recompile OpenCV with Cuda module.
2 - Add the Cuda library path to the compiler, you can do that changing the Makefile, adding:
CFLAGS += -L/usr/local/cuda-6.5/lib
Set you cuda path appropriately.
Tell me if it works.
Best regards,
Derzu.
from bodyskeletontracker.
Hi Derzu,
Thanks for prompt reply. I already managed to find my way through the problem. You are right I compiled OpenCV with cuda support and these linking errors were caused because the makefile script were unable to find the NVIDIA performance primitives.
So, the work around that I did was adding these paths to the LIB_DIRS_OPTIONS in CommonCppCMakefile, basically providing the path where these libraries are located:
The modified section looks like this:
LIB_DIRS_OPTION =
LIB_DIRS_OPTION += -L/usr/local/cuda -L/usr/local/cuda/lib64
LIB_DIRS_OPTION += -L$(OUT_DIR)
I believe this is not the elegant way but I was unable to find where the LIB_DIRS variable is being set, the cmake files are not easy to follow here, especially for someone like me who is not very good with cmake.
Also, the last ld error which another person faced and posted in the other issue:
/usr/bin/ld: cannot find -llib64
To me this seems like a bug as there is no lib64 static or dynamic library at least in Ubuntu16.04, so what I did was, modified the opencv.pc file located at the path: /usr/local/lib/pkgconfig/opencv.pc
I removed "-llib64" from the script and then everything build and ran successfully.
Thanks,
Fraz
from bodyskeletontracker.
Hi Fraz,
I'm glad you've made it work.
Best regards,
Derzu.
from bodyskeletontracker.
Related Issues (11)
- opencv2/core.hpp: No such file or directory HOT 7
- Cross compiling - opencv2/highgui.hpp: No such file or directory HOT 4
- Makefile nodepth files missing(Viewer.cpp & Tiago.cpp) HOT 7
- compile BodySkeletonTracker for webcam HOT 2
- Failed when the distance over 2m HOT 3
- stackoverflow in skeleteon.cpp HOT 3
- The algorithm HOT 5
- make Error HOT 11
- make error HOT 1
- Use video as input 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 bodyskeletontracker.