Skip to content

Having difficulty linking, getting $non_lazy_ptr #2

@timwnitram

Description

@timwnitram

Looks like there something the compiler and linker isn't liking with the latest release. When I try to include the library and build against the device, I get a number of linker errors. I tried running ranlib -c against the compiled library and re-compiling but I'm getting the same error. Any help would be super.

Undefined symbols:
"_AVLayerVideoGravityResizeAspectFill", referenced from:
_AVLayerVideoGravityResizeAspectFill$non_lazy_ptr in libSGAREnvironment.a(SGARView.o)
(maybe you meant: _AVLayerVideoGravityResizeAspectFill$non_lazy_ptr)
"OBJC_CLASS$_AVCaptureVideoPreviewLayer", referenced from:
objc-class-ref-to-AVCaptureVideoPreviewLayer in libSGAREnvironment.a(SGARView.o)
"OBJC_CLASS$_AVCaptureDevice", referenced from:
objc-class-ref-to-AVCaptureDevice in libSGAREnvironment.a(SGARView.o)
"OBJC_CLASS$_AVCaptureSession", referenced from:
objc-class-ref-to-AVCaptureSession in libSGAREnvironment.a(SGARView.o)
"OBJC_CLASS$_AVCaptureDeviceInput", referenced from:
objc-class-ref-to-AVCaptureDeviceInput in libSGAREnvironment.a(SGARView.o)
"_AVMediaTypeVideo", referenced from:
_AVMediaTypeVideo$non_lazy_ptr in libSGAREnvironment.a(SGARView.o)
(maybe you meant: _AVMediaTypeVideo$non_lazy_ptr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions