I am trying to understand this error but I can’t figure any solution out.
I am using the ofxOculusDK2 addon and I am trying to integrate that with MFCC function of ofMaxim.
I setup the Oculus rift part and it is working, then on a separate project I have prepared a simple MFcc test that is working.
I then created a class into the Oculus rift project, basically copying all the functionalities from the Mfcc project.
When I run the app I get this error :Semantic Issue - Reference to ‘UInt32’ is ambigous.
From what I can see and understand the compiler following the .h path, ends up in a place and get confused, exactly like me now!
here is the path–>
#include "testApp.h" #include "Mfcc_obj.h" #include "ofxMaxim.h" #include "maxiFFT.h" #include "fft.h" #include <Accelerate/Accelerate.h> #include <vImage/vImage.h> #include <vImage/vImage_CVUtilities.h> #include <CoreVideo/CVPixelBuffer.h> /* #define vImage_CVUtilities_h 1 before including Accelerate headers to turn this header off */ #include <CoreVideo/CVImageBuffer.h> #include <CoreVideo/CVBuffer.h> #include <CoreVideo/CVBase.h> typedef unsigned long UInt32; typedef unsigned int UInt32 __attribute__((__mode__ (__SI__)));
Reading the comment #define vImage_CVUtilities_h 1 before including Accelerate headers to turn this header off */
make me think that I maybe have to do somethign here. The Accelerate framework is declared in ofMaxim library. I am not sure I am supposed to edit this…
Is anyone around there aware of what is going on?
I can provide more information if needed!