Skip to content

Compile error after installing #10

Description

@sola92

Hi, I get this compile error after installing. I believe I followed the instructions listed in the README.

  • npm install react-native-webp --save
  • react-native link
  • Added WebP.framework to the project
  • Added $(SRCROOT)/../node_modules/react-native-webp to the Frameworks Search Paths

Compile Error:
../node_modules/react-native-webp/node_modules/react-native/ReactAndroid/src/main/jni/first-party/fb/include/fb/assert.h:15:19: error: expected ';' after top level declarator namespace facebook { ^ Bridging-Header.h:15:9: note: in file included from Bridging-Header.h:15: #import "RCTLinkingManager.h" ^../node_modules/react-native-webp/node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.h:12:9: error: 'React/RCTEventEmitter.h' file not found #import <React/RCTEventEmitter.h> ^ <unknown>:0: error: failed to import bridging header 'Bridging-Header.h'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions