Search code examples
macoscompiler-warningsicc

ld: library not found for -lcrt1.10.6.o after running Intel icc compiler on OS Mavericks


I just upgraded from OS Mountain Lion to Mavericks, ran intel icc compiler, icc test.c, it said #include <time.h> is not found. So I checked the \usr folder, found \usr\include is missing and copyed include from my back to this folder, upgraded Xcode to Version 5.0.1. Then I compilered it again but still got a warning

ld: library not found for -lcrt1.10.6.o

What does it mean? How to fix that?


Solution

  • I installed command line tool for Mavericks, now it fixes the problem!

    For more detail, refer to this link.