English 中文(简体)
Xcode 4中的错误联系
原标题:Linking error in Xcode 4

I know this is a long shot but, I ve been having trouble with a linker error that I specifically don t understand. Please refer to the picture below.

“entergraph

该项目包含4个目标。 这一错误具体指在<条码>c>/代码>上书写的BSD/Shell助手工具的一个目标。

I m sorry for being vague, as I don t fully understand what might be the problem. Any suggestions? Thank you.

最佳回答

通常,这意味着界定<代码>main()的原始文件没有添加到相应的指标中。

另一个可能的原因是,包含<条码>main(<>>>>>>>>的源文件正在汇编成一个结构(例如,仅一386条),但目标/可执行性具体规定了不同的结构(例如,x86_仅为64或 fat/universal)。

帮助诊断这一问题的一个战略是:xcodebuild。 对照你的项目+目标,检查为汇编和联系目标而发布的指挥。

所有其他目标都失败时,将目标删除,并再次加以补充。

问题回答

页: 1 适当的档案?





相关问题
2 mysql instances in MAC

i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql connectivity, i "somehow" ended up installing a seperate MySQL. now the seperate mysql installation is ...

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Controlling OSX windows

I m trying to control windows of a foreign OSX applications from my application. I d like to 1. move the windows on the screen 2. resize the windows on the screen 3. change the currently active window ...

Switching J2SE versions on Mac OS (SnowLeopard)

My current JDK on Mac OS (10.6) is set to 1.6 and I d like to switch to 1.5. A listing of /System/Library/Frameworks/JavaVM.framework/Versions/ shows: lrwxr-xr-x 1 root wheel 10 Nov 3 18:34 ...

Scrolling inside Vim in Mac s Terminal

I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...

export to MP3 from quicktime API

A question for Apple,QT programmers. Would like to know if it s possible to export a Movie object to MP3 using the QuickTime API. Preferably the ConvertMovieToFile function. I ve looked at ...

热门标签