Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

16
  • If you don't want to ship OpenCV with your library, then you need to combine OpenCV library and your one into the single library. See that question about the ways for doing that. Commented Sep 14, 2019 at 21:33
  • 1
    Possible duplicate of Combining several static libraries into one using CMake Commented Sep 14, 2019 at 21:37
  • What about doing it at Windows? Also, I’d like it to be done by a Compiler so only relevant functions are extracted and copied into a new library. Commented Sep 14, 2019 at 21:52
  • For Windows see that question. You actually ask several questions in one (how to do something on Windows, on macOS, on Linux) and expect that single, universal answer covers all these questions. Unfortunately, this is not a case: all we have is separate approaches on different platforms. So your question is just "too broad" Commented Sep 15, 2019 at 7:35
  • 1
    What you're trying to do is impossible. Just use shared libraries if you want something remotely like this (or make OpenCV a dependency and use some sort of pkgconfig-like system). Commented Sep 15, 2019 at 15:52