In the application that links to the third version of OpenCV libraries, it was necessary to embed a module that links another version of OpenCV to the library, which is different from the original version (which are included with this module).


Can you please tell how to properly build such a project? Maybe you can somehow indicate that the object files that use the module should link to the old libraries, and all the rest - with the new ones?

  • Most likely it will be to assemble this module in the form of a separate executable file. - VTT
  • @VTT, as an option :) - isnullxbh
  • I did not look, but is it possible to build different versions of opencv so that they have different namespace 's? then the characters will not intersect and it will relieve the lion’s share of problems ... - Fat-Zer
  • @ Fat-Zer, to be honest - I do not know :) - isnullxbh

0