jgh-/VideoCore-Inactive

Compile Errors in VCSimpleSession.mm

MurphyHBrantley opened this issue · 0 comments

I am getting tons of errors (20+) in VCSimpleSession.mm when I try to compile. Does this mean that I did not install the pod correctly, or would it be some other type of issue? Has anyone else run into this issue of these compile errors?

I included a list of some of the errors, there are many so I only included a few of them so that someone might be able to point me in the right direction as to what I am doing wrong here:

  1. VCAAspectMode _aspectMode: => Unknown type name 'VCAAspectMode'; did you mean 'video core::AspectTransform::AspectMode'?
  2. VCFilter _filter; => Unknown type name 'VCFilter'; did you mean CIFilter'?
  3. @dynamic aspectMode; => Property implementation must have its declaration in interface 'VCSimpleSession' or one of its extensions
  4. -(void) setAspectMode:(VCAspectMode) aspectMode => Expected a type
  5. [self initInternalWithVideoSize:videoSize
    frameRate:fps
    bitrate:bps
    useInterfaceOrientation:NO
    cameraState:VCCameraStateBack
    aspectMode:VCAspectModeFit];
    => ERROR MESSAGE: Use of undeclared identifier 'VCAspectModeFit'