Code Monkey home page Code Monkey logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Hi again!

I have no idea that CMake can find OpenCV automatically already.

Only one thing: do you know if there is any way to indicate the path of OpenCV 
to CMake? With my script I can do it, and it is useful for some things... 
Anyway, I will implement the changes you propose, because it will be better and 
easier for most users.

Thank you very much for your help!

Original comment by [email protected] on 20 Dec 2010 at 8:48

  • Changed state: Started
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from cvblob.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Done!

Original comment by [email protected] on 20 Dec 2010 at 9:02

  • Changed state: Fixed

from cvblob.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
One thing: I just have made a change in "cvBlob/CMakeLists.txt" to build 
dynamic libraries instead of static. Please, can you check if it builds a DLL 
and link it with no problems?

Thanks!!

Original comment by [email protected] on 20 Dec 2010 at 9:29

from cvblob.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
In order to make the linker work, you should add :
TARGET_LINK_LIBRARIES( cvblob ${OpenCV_LIBS} ) after the line
add_library(cvblob SHARED ${cvBlob_CVBLOB}) in the CMakeLists.txt in the cvblob 
directory.
It then creates the dll and everything works nicely.

You can change the path of OpenCV in CMake, the variable is called OpenCV_DIR. 
That's really useful when you have multiple versions of OpenCV.

Original comment by [email protected] on 20 Dec 2010 at 10:15

from cvblob.

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.