Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9236269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:15:05+00:00 2026-06-18T07:15:05+00:00

What I have done is used some code from the tutorial based on the

  • 0

What I have done is used some code from the tutorial based on the openCV framework.
From the EdgeDetectionSample.cpp file, I import the code.

Undefined symbols for architecture armv7:
“std::__1::basic_string, std::__1::allocator >::basic_string(std::__1::basic_string, std::__1::allocator > const&)”, referenced from:
cv::Exception::Exception(int, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, int) in opencv2(system.o)
cv::Exception::Exception(cv::Exception const&) in opencv2(system.o)
“std::__1::basic_string, std::__1::allocator >::~basic_string()”, referenced from:
cv::Mat::create(int, int const*, int) in opencv2(matrix.o)
__ZN2cvL7setSizeERNS_3MatEiPKiPKmb in opencv2(matrix.o)
cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&) in opencv2(matrix.o)
cv::Mat::Mat(cv::Mat const&, cv::Range const*) in opencv2(matrix.o)
cv::Mat::diag(int) const in opencv2(matrix.o)
cv::Mat::Mat(_IplImage const*, bool) in opencv2(matrix.o)
cv::Mat::reserve(unsigned long) in opencv2(matrix.o)
…
“std::__1::basic_string, std::__1::allocator >::__init(char const*, unsigned long)”, referenced from:
cv::Mat::create(int, int const*, int) in opencv2(matrix.o)
__ZN2cvL7setSizeERNS_3MatEiPKiPKmb in opencv2(matrix.o)
cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&) in opencv2(matrix.o)
cv::Mat::Mat(cv::Mat const&, cv::Range const*) in opencv2(matrix.o)
cv::Mat::diag(int) const in opencv2(matrix.o)
cv::Mat::Mat(_IplImage const*, bool) in opencv2(matrix.o)
cv::Mat::reserve(unsigned long) in opencv2(matrix.o)
…
“std::_1::_vector_base_common::__throw_length_error() const”, referenced from:
std::_1::vector, std::__1::allocator > >::_append(unsigned long) in opencv2(matrix.o)
std::_1::vector, std::__1::allocator > >::_append(unsigned long) in opencv2(matrix.o)
std::_1::vector, std::__1::allocator > >::_append(unsigned long) in opencv2(matrix.o)
std::_1::vector, std::__1::allocator > >::_append(unsigned long) in opencv2(matrix.o)
std::_1::vector, std::__1::allocator > >::_append(unsigned long) in opencv2(matrix.o)
std::_1::vector, std::__1::allocator > >::_append(unsigned long) in opencv2(matrix.o)
std::_1::vector, std::__1::allocator > >::_append(unsigned long) in opencv2(matrix.o)
…
“std::__1::basic_string, std::__1::allocator >::operator=(std::__1::basic_string, std::__1::allocator > const&)”, referenced from:
cv::Exception::formatMessage() in opencv2(system.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please Help me Out with this. I am not able to get read of those errors.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:15:07+00:00Added an answer on June 18, 2026 at 7:15 am

    Your project is linked against libstd++ (GNU C++ standard library), but latest OpenCV was linked against libc++ (LLVM C++ standard library with C++ 11 support), so you have two ways to fix this:

    1. Link you project against libc++
    2. Rebuild OpenCV with libstd++.

    To link your project with libc++, go to -> Build Settings -> find ‘C++ standard library’ row and select libc++ there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written some code based on a specification from my boss. A requirement
i have done self study on learning struts 2. i have used one code
I have a some code that gets passed a class derived from a certain
Have done some research and found some stuff that may be helpful. I would
I have done an email approval script following James Ferreira's youtube tutorial here .
I have done some looking and I found this: http://www.codeproject.com/Articles/14439/The-ScrollableListBox-Custom-Control-for-ASP-NET-2 but to me it
I have done some commits and pushed them into my repository. Then I did
I have done some research and it really seems that implementing a transaction system
I am in the process of converting some code from C# to Java. I
I have some code which is a standalone java application comprising of 30+ classes.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.