编译以前的tweak 工程,提示:

error: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Werror,-Wstdlibcxx-not-found]

是因为Xcode10移除了GCC的stdc++,解决办法只要在makefile文件中增加两行:

FOOOOOO_CFLAGS = -std=c++11 -stdlib=libc++

FOOOOOO_LDFLAGS = -stdlib=libc++

其中FOOOOOO修改成你的工程名。

这样问题就解决了。

相关文章:

  • 2021-07-10
  • 2021-11-17
  • 2022-02-09
  • 2021-04-25
  • 2021-10-28
  • 2021-06-20
猜你喜欢
  • 2022-02-09
  • 2021-11-02
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
相关资源
相似解决方案