Comments (7)
Could you please post your configuration (os, system, cuda version etc) and the cmake or the command line u used to build the program
from popsift.
The reason for this could be that Popsift and the program that uses it are compiled with different compilers, or different versions of the same compiler. Another reason could be that the linker is in C mode (e.g. linking with gcc or ld) but it needs to be in C++ mode.
Some people on StackOverflow have fixed it by linking -lstdc++, but that does not look like a long-term solution:
https://stackoverflow.com/questions/20708165/g-undefined-reference-to-symbol-cxa-free-exceptioncxxabi-1-3-when-buildi
from popsift.
Hi @simogasp
My host is a x86_64 ubuntu comprising of nvidia toolkit 10 and my target is a jetson tx2. I built the libraries on my target, transfered them to host, and linked them. I just checked the compiler versions, both are different, Could this be a cause of error? Also @griwodz I tried linking with -lstdc++ but still the same issue. I have a follow up question: if i want to eventually use the programe on the target, should I first cross-compile popsift and then link it or just use the one from the local host? If so please help me with that.
Kind Regards
Kunal Khosla
from popsift.
Thanks for your reply guys, it seems due to different versions of the compiler, I got the issue. I ultimately compiled on the same version and that fixed my problem.
from popsift.
I was too slow to answer, but yes: what you tried to do will often fail with C++ programs, but with CUDA, it is much more important to have absolutely identical versions.
from popsift.
Although unrelated @griwodz , is it possible to somehow see popsift keypoints using opencv functions like drawKeypoints.
from popsift.
@kunalkhosla93 Sorry, but I don't know that. If it can show SIFT keypoints from the OpenCV version of SIFT, it should be quite easy to copy PopSift descriptors into the OpenCV descriptor data structure and use that function.
from popsift.
Related Issues (20)
- no descriptors extracted if i set the deviceInfo ( speed is not stable) [bug] HOT 20
- boost: mutex lock failed in pthread_mutex_lock: Invalid argument error HOT 3
- [question] HOT 3
- Is popsift platform independent. HOT 2
- minor suggestions for code improvement HOT 5
- Could not get current device ID initialization error HOT 5
- [bug] Runtime HOT 6
- How to retrieve matches [question] HOT 3
- [question]how to get the xpos and ypos on the input image? HOT 2
- [question]how can I set config to extract the same features for same images? HOT 2
- [bug] s_filtergrid.cu does not compile missing thrust/host_vector.h header HOT 2
- [bug]cannot use thread_local specifier for a __constant__ variable ConsoleApplication1 E:\Desktop\VS-Test\09\ConsoleApplication1\popsift\gauss_filter.cu 21 HOT 2
- [request] using exception for error handling HOT 2
- Memory leak when running enqueue, job->get() in while loop HOT 9
- Doesn't build with cuda 12 HOT 1
- job->get() takes a long time(~200ms with default settings on a small image HOT 1
- [request] Support CUDA SDK 12.X HOT 1
- [ci] move ci to github actions HOT 1
- [request] Bringing PopSift implementation into OpenCV
- How to use popsift as API? HOT 3
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 popsift.