0

I have a program that I need to compile using libstdc++ but I am getting a compilation error stating thread file not found.

I have added C++11 in the language dialect option for the LLVM compiler but I am still getting the error that the thread file is not found.

Does anything additional need to be added to the linker flags for thread support?

Lorenzo
  • 3,293
  • 4
  • 29
  • 56
Colin747
  • 4,955
  • 18
  • 70
  • 118
  • Why do you need to use `libstdc++` instead of the standard `libc++`? And how did you set it up to use the GCC library and its header files? – Some programmer dude Oct 15 '15 at 09:49
  • Due to errors I get when compiling the code, this question has the same problem I have. The given solution was to try using `libstdc++`. See: http://stackoverflow.com/questions/19821041/g-ld-symbols-not-found-for-architecture-x86-64 – Colin747 Oct 15 '15 at 09:51
  • Could you give more information to setting Xcode up to use the GCC library and header files? – Colin747 Oct 15 '15 at 09:52

0 Answers0