Problem with ofxiPhoneKeyboard


I would like to use the ofxiPhoneKeyboard addon:

  • I had created a new OF iphone empty project
  • I Imported the addon by drop the ofxiPhoneKeyboard folder in my project
  • I put : #include “ofxiPhoneKeyboard.h” in my testApp.h

If I try to build, I got a lot of error about conflicting declaration:
error: conflicting declaration ‘typedef signed char int32_t’

Any ideas??

it sounds like you didn’t change your main.cpp and testApp.cpp filenames to .mm

this tells the compiler that these files are going to include files that have objective-c code in them

Thanks, it works !! :smiley:

the most asked question ever.