开发者

Build throwing error "Command ... llvm-gcc-4.2 failed with exit code 1"

开发者 https://www.devze.com 2023-03-02 00:28 出处:网络
Here\'s the log from the build. This is a brand new project in Xcode 4, so the only non-regular things in it are as follows:

Here's the log from the build. This is a brand new project in Xcode 4, so the only non-regular things in it are as follows:

  1. A .c file
  2. A .a library
  3. A bunch of header files

I've been playing with the build settings and searching for answers for a couple of hours now to see if it would go away, but it didn't. Any he开发者_JS百科lp you have would be appreciated.!

The output (click for a larger image):

Build throwing error "Command ... llvm-gcc-4.2 failed with exit code 1"


You have a duplicate symbol error - your program can't have two functions called main(). Remove one of them, and you should be able to move forward.

0

精彩评论

暂无评论...
验证码 换一张
取 消