Tuesday, December 25, 2012

C compile error in Xcode


It spends me almost 1 week to find out the reason for the following error msg generated by Xcode (Mountain Lion MBA). clang: error: linker command failed with exit code 1 (use -v to see invocation). The reasons for this error is that 2 duplication function name - "main" using in the Xcode project. This error occurred when I build and run the c - command line application Xcode project after imported all the files in "src" folder at the extracted files of LUA sources, after imported all the files of project - http-parser in GitHUB.

No comments:

Post a Comment