You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.3 KiB

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. Steps to use the library (using MSVC++ sp 5):
  2. 1 - open the project of the library and build it
  3. 2 - in the project where the library should be used, add:
  4. 2.1 In "Project/Settings/C++/Preprocessor/Additional Include
  5. directories" add the directory where the blob library is stored
  6. 2.2 In "Project/Settings/Link/Input/Additional library path" add
  7. the directory where the blob library is stored and in "Object/Library
  8. modules" add the cvblobslib.lib file
  9. 3- Include the file "BlobResult.h" where you want to use blob variables.
  10. 4- To see an example on using the blob library, see the file
  11. example.txt inside the zip file.
  12. NOTE: Verify that in the project where the cvblobslib.lib is used, the MFC Runtime Libraries are not mixed:
  13. 1. Check in "Project->Settings->C/C++->Code Generation->Use run-time library" of your project and set it to
  14. Debug Multithreaded DLL (debug version ) or to Multithreaded DLL ( release version ).
  15. 2 Check in "Project->Settings->General" how it uses the MFC. It should be "Use MFC in a shared DLL".
  16. NOTE: The library can be compiled and used in .NET using this steps, but the menu options may differ a little
  17. NOTE2: In the .NET version, the character sets must be equal in the .lib and in the project. [OpenCV yahoo group: Msg 35500]