• <legend id='d7JiH'><style id='d7JiH'><dir id='d7JiH'><q id='d7JiH'></q></dir></style></legend>

    <tfoot id='d7JiH'></tfoot>
    <i id='d7JiH'><tr id='d7JiH'><dt id='d7JiH'><q id='d7JiH'><span id='d7JiH'><b id='d7JiH'><form id='d7JiH'><ins id='d7JiH'></ins><ul id='d7JiH'></ul><sub id='d7JiH'></sub></form><legend id='d7JiH'></legend><bdo id='d7JiH'><pre id='d7JiH'><center id='d7JiH'></center></pre></bdo></b><th id='d7JiH'></th></span></q></dt></tr></i><div id='d7JiH'><tfoot id='d7JiH'></tfoot><dl id='d7JiH'><fieldset id='d7JiH'></fieldset></dl></div>

    <small id='d7JiH'></small><noframes id='d7JiH'>

          <bdo id='d7JiH'></bdo><ul id='d7JiH'></ul>

        XCode 编译器错误:ld:找不到 -loauth 的库

        时间:2023-05-18

        <small id='uvcNL'></small><noframes id='uvcNL'>

            <tbody id='uvcNL'></tbody>
        1. <i id='uvcNL'><tr id='uvcNL'><dt id='uvcNL'><q id='uvcNL'><span id='uvcNL'><b id='uvcNL'><form id='uvcNL'><ins id='uvcNL'></ins><ul id='uvcNL'></ul><sub id='uvcNL'></sub></form><legend id='uvcNL'></legend><bdo id='uvcNL'><pre id='uvcNL'><center id='uvcNL'></center></pre></bdo></b><th id='uvcNL'></th></span></q></dt></tr></i><div id='uvcNL'><tfoot id='uvcNL'></tfoot><dl id='uvcNL'><fieldset id='uvcNL'></fieldset></dl></div>
            1. <tfoot id='uvcNL'></tfoot>
                <bdo id='uvcNL'></bdo><ul id='uvcNL'></ul>
                  <legend id='uvcNL'><style id='uvcNL'><dir id='uvcNL'><q id='uvcNL'></q></dir></style></legend>
                  本文介绍了XCode 编译器错误:ld:找不到 -loauth 的库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我正在尝试使用 Twitter 库,在添加 liboauth.a 并将 oauthconsumeriphonelib 添加到我的标头搜索路径后,我现在遇到了 1 个编译错误,我似乎无法摆脱.

                  I'm trying to use the Twitter libraries and after adding liboauth.a and adding oauthconsumeriphonelib to my header search path, I'm now down to 1 compilation error, which I can't seem to get rid of.

                  ld: library not found for -loauth
                  Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
                  

                  有人知道是什么原因造成的吗?

                  Anyone know what could be causing this?

                  推荐答案

                  继续 Robin 的建议 您还需要设置库搜索路径.右键单击目标文件并选择 -- 获取信息,否则您也可以通过在 XCode 的项目选项卡下选择编辑动作目标来获得相同的信息.查找 Library Search Path 并添加此$(SRCROOT)/Twitter+OAuth/SAOAuthTwitterEngine" 其中 Twitter+OAuth/SAOAuthTwitterEngine 是项目文件夹中 Twitter Library 的目录路径.我希望这能解决问题.

                  Continuing to What Robin suggested You also need to set the Library Search Path. Right Click the Target File and Choose -- Get Info else you can also get the same by choosing Edit Actice Target Under the Project Tab in XCode. Look for Library Search Path and add this "$(SRCROOT)/Twitter+OAuth/SAOAuthTwitterEngine" Where Twitter+OAuth/SAOAuthTwitterEngine is the directory path for Twitter Library in project folder. I hope this will fix the problem.

                  这篇关于XCode 编译器错误:ld:找不到 -loauth 的库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 Xcode 4.2 和 iOS SDK 5.0 中使用 gcc 4.2 下一篇:更新到 iPhone SDK 4.0 后,链接器错误(仅模拟器)与自己的库

                  相关文章

                  1. <i id='L5WO9'><tr id='L5WO9'><dt id='L5WO9'><q id='L5WO9'><span id='L5WO9'><b id='L5WO9'><form id='L5WO9'><ins id='L5WO9'></ins><ul id='L5WO9'></ul><sub id='L5WO9'></sub></form><legend id='L5WO9'></legend><bdo id='L5WO9'><pre id='L5WO9'><center id='L5WO9'></center></pre></bdo></b><th id='L5WO9'></th></span></q></dt></tr></i><div id='L5WO9'><tfoot id='L5WO9'></tfoot><dl id='L5WO9'><fieldset id='L5WO9'></fieldset></dl></div>

                    <small id='L5WO9'></small><noframes id='L5WO9'>

                      <bdo id='L5WO9'></bdo><ul id='L5WO9'></ul>
                    <legend id='L5WO9'><style id='L5WO9'><dir id='L5WO9'><q id='L5WO9'></q></dir></style></legend>

                    1. <tfoot id='L5WO9'></tfoot>