pathik panchal
pathik panchal

Reputation: 11

config.h file not found

I am working on thr react-native platform. I am using iOS. After creating project, the following error found:

config.h file not found mutex.h

Please help me resolve this issue.

Upvotes: 1

Views: 1773

Answers (2)

Melanie Clare
Melanie Clare

Reputation: 37

Run the following commands in the project directory. Helped me resolve my config.h not found issue

  1. cd node_modules/react-native/third-party/glog-0.3.4/
  2. ./configure
  3. make
  4. make install
  5. cd ../../../..
  6. react-native run-ios

Upvotes: 1

Bhagwat K
Bhagwat K

Reputation: 3142

The solution works for me is:

  • Quit your Xcode

  • Navigate to

    cd node_modules/react-native/third-party/glog-0.3.4/

  • Then execute command:

    ./configure && make && make install

  • Now open project in Xocde, Build and Run.

Upvotes: 1

Related Questions