5

I have recently used Cocoapods - library dependency management tool in objective C. It has podspec for commonly used libraries like ZXing, AFNetworking etc. Have anyone come across Opencv podspec?

Skanda
  • 872
  • 13
  • 21

3 Answers3

5

This issue is fixed. You can install OpenCV with CocoaPods. Take a look here: https://github.com/SebastienThiebaud/OpenCV-iOS/blob/master/README.md

Actually, the pod version number is wrong, the version 0.0.1 is OpenCV 2.4.3

Sorry for the confusion.

Seb Thiebaud
  • 2,419
  • 1
  • 15
  • 13
3

You can always use the search function. Using "pod search opencv" reveals that a podspec exits. The bad news is that it's a version 0.0.1...

T. Benjamin Larsen
  • 6,373
  • 4
  • 22
  • 32
  • 1
    When I use this version 0.0.1 it gives the following error **ld: library not found for -lopencv2 clang: error: linker command failed with exit code 1 (use -v to see invocation)** Current version of OpenCV is 2.4.3. I don't know which version this pod supports. – Skanda Jan 23 '13 at 09:03
0

Add below in you Podfile and execute command 'pod install --no-repo-update'.

platform :ios, "7.0"

pod 'OpenCV', '2.4.9'

Chuyang
  • 71
  • 1
  • 7