Xcode6.3.2 __cplusplus notdefine
this is the error, in opencv2.framework/Headers/core.hpp line 49
my xcode build setting is
this is the error, in opencv2.framework/Headers/core.hpp line 49
my xcode build setting is
add this code to your prefix file
#ifdef __cplusplus
#import <opencv2/opencv.hpp>
#endif
#ifndef YourProjectName_YourPrefixFileName_pch
#define YourProjectName_YourPrefixFileName_pch
// Include any system framework and library headers here that should be included in all compilation units.
// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.
#endif
Asked: 2015-06-09 03:46:08 -0600
Seen: 486 times
Last updated: Jul 31 '15
OpenCV DescriptorMatcher matches
Conversion between IplImage and MxArray
Converting a Buffer to a Bitmap
Cant apply openCV framework to Xcode
Error in iOS framework and in tutorial
Video On Label OpenCV Qt :: hide cvNamedWindows
Problems using the math.h class with OpenCV (c++, VS2012)
I had the same problem but I was not able to solve it. Did you solve it?
Thanks and regards, Giordano
It means that basically your environment does not find the cpp compiler, which is obviously mandatory for the cpp functionality...
ok, but if I start a new iOS project from scratch all is working. I have this problem only with an existing project. If the environment doesn't find the cpp compiler how can I setup it?
Thanks and regards, Giordano