Error in xcode project: ld: library not found for -lcrt1.10.6.o

后端 未结 12 1129
日久生厌
日久生厌 2020-12-05 07:09

Just upgraded to Snow Leopard, installed Xcode 3.2, then installed iPhone SDK 3 for SL.

In a project, I now get the following error on build:

12条回答
  •  情书的邮戳
    2020-12-05 07:44

    I had the same issue in a Fortran Makefile. Added the following option after the compiler (For OSX 10.5):

    -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib

    e.g.,

    g77 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib

    Now the compiler will find the library you want !

提交回复
热议问题