2

I am trying to add the LittleEndian Pitch Detector SDK to Xcode project. However, I am getting errors after adding the development static libraries and header files to the project.

Steps I did were,

  1. Downloaded the LittleEndian Pitch Detector SDK
  2. Drag and drop the static libraries available in the libs/development to the project
  3. Drag and drop the include folder to the project
  4. Set the user header search paths in the build settings to the include folder
  5. Add the #import "pitchDetector.hpp" after the #import "ViewController.h"

enter image description here

after that I am getting 3 errors

enter image description here

Danijel
  • 8,198
  • 18
  • 69
  • 133
Ankahathara
  • 2,866
  • 2
  • 20
  • 26
  • Did you find any documents for adding this SDK? – Vishnu Kumar. S May 28 '15 at 10:24
  • Vishnu, SDK documentation is available in the /doc directory. – Danijel May 28 '15 at 12:07
  • This question is a duplicate of http://stackoverflow.com/questions/30460871/how-to-use-littleendians-pitch-detector-sdk-to-detect-pitch. – Danijel May 29 '15 at 10:11
  • @Danijel I am the original user who asked the question on 15 April 2015 and the link you are stating is the duplicate one, and that guy also using the screenshot from my question. have a look. Thanks – Ankahathara May 29 '15 at 11:14

1 Answers1

0

To include an .hpp file in an Objective-C implementation, change the ViewController.m to ViewController.mm; you're living in Objective-C++ land now!

(Note: This is still important in a Swift-based project, since we'll need Objective-C wrappers to be able to call these library functions from Swift.)

Community
  • 1
  • 1
savinola
  • 380
  • 4
  • 6