Git Product home page Git Product logo

Comments (7)

simogasp avatar simogasp commented on August 14, 2024

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.

griwodz avatar griwodz commented on August 14, 2024

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.

kunalkhosla93 avatar kunalkhosla93 commented on August 14, 2024

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.

kunalkhosla93 avatar kunalkhosla93 commented on August 14, 2024

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.

griwodz avatar griwodz commented on August 14, 2024

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.

kunalkhosla93 avatar kunalkhosla93 commented on August 14, 2024

Although unrelated @griwodz , is it possible to somehow see popsift keypoints using opencv functions like drawKeypoints.

from popsift.

griwodz avatar griwodz commented on August 14, 2024

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

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.