Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/bin/ld: thor_simple.cpp:(.text+0xc61): undefined reference to `thor::iter::ImageSourceIter<cv::Mat>::next()' #13

Open
GeLink9999 opened this issue May 8, 2022 · 1 comment

Comments

@GeLink9999
Copy link

GeLink9999 commented May 8, 2022

I have tried to make your examples thor_demo.cpp. But i have met a small issue.

I have copied the libthor.so from /usr/local/lib to the current example file. When make, it shows:
/usr/bin/ld: thor_simple.cpp:(.text+0xc61): undefined reference to `thor::iter::ImageSourceItercv::Mat::next()'

why does it cannot find ImageSourceIter? I am wondering if libthor.so includes ImageSourceIter.
inside cmakelists.txt, it shows:
add_executable(thor_simple thor_simple.cpp)
target_link_libraries(thor_simple libthor.so ${Protobuf_LIBRARIES} thor)

@lucasjinreal
Copy link
Owner

Hi,I renewed the project, now the example demo will be build with build_simple.sh. For usage, it should stay the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants