Для интеграции с MoltenGL я пытаюсь отключить Enable Modules
в GPUImageFramework
цели , но тогда GPUImage не скомпилируется. Почему отключение Enable Modules
вызывает такую ошибку? Как мне установить его на Нет без ошибок?
Вот журнал ошибок:
Undefined symbols for architecture x86_64:
"_CGImageGetHeight", referenced from:
-[GPUImagePicture initWithCGImage:smoothlyScaleOutput:removePremultiplication:] in GPUImagePicture.o
"_CGImageGetBytesPerRow", referenced from:
-[GPUImagePicture initWithCGImage:smoothlyScaleOutput:removePremultiplication:] in GPUImagePicture.o
"_CGPointZero", referenced from:
-[GPUImageRawDataOutput colorAtLocation:] in GPUImageRawDataOutput.o
//...
"_CGSizeZero", referenced from:
-[GPUImageOutput addTarget:atTextureLocation:] in GPUImageOutput.o
-[GPUImageOutput removeTarget:] in GPUImageOutput.o
___31-[GPUImageOutput removeTarget:]_block_invoke in GPUImageOutput.o
-[GPUImageOutput removeAllTargets] in GPUImageOutput.o
___34-[GPUImageOutput removeAllTargets]_block_invoke in GPUImageOutput.o
-[GPUImageUIElement initWithView:] in GPUImageUIElement.o
-[GPUImageUIElement initWithLayer:] in GPUImageUIElement.o
...
"_CGDataProviderRelease", referenced from:
___56-[GPUImageFramebuffer newCGImageFromFramebufferContents]_block_invoke in GPUImageFramebuffer.o
_GPUImageCreateResizedSampleBuffer in GPUImageStillCamera.o
"_CGImageGetWidth", referenced from:
-[GPUImagePicture initWithCGImage:smoothlyScaleOutput:removePremultiplication:] in GPUImagePicture.o
"_CGColorSpaceRelease", referenced from:
___56-[GPUImageFramebuffer newCGImageFromFramebufferContents]_block_invoke in GPUImageFramebuffer.o
_GPUImageCreateResizedSampleBuffer in GPUImageStillCamera.o
-[GPUImagePicture initWithCGImage:smoothlyScaleOutput:removePremultiplication:] in GPUImagePicture.o
-[GPUImageUIElement updateWithTimestamp:] in GPUImageUIElement.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)