pixpark / gpupixel

Real-time image and video processing library similar to GPUImage, with built-in beauty filters, achieving commercial-grade beauty effects. Written in C++11 and based on OpenGL/ES.

Home Page:https://gpupixel.pixpark.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Error encountered during compilation for MacOS

kelinkong opened this issue · comments

An error occurred while compiling under MacOS

path: example/build

error:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1: error: 
      expected unqualified-id
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
image

Referenced Workflow file, there is no problem compiling as a library file, but when entering the example/build/ compilation GUI, there is an issue of Objective-C and C++ incompatibility.

If the demo is yours, when calling a C++ library, you need to change the .m file to .mm file.