• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 132  文章 - 51  trackbacks - 0
            <2010年9月>
            2930311234
            567891011
            12131415161718
            19202122232425
            262728293012
            3456789

            常用鏈接

            留言簿(7)

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            cocos2d-x

            OGRE

            OPenGL

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            參考地址:在Win7系統下搭建Eclipse+Cygwin開發環境 http://www.cnblogs.com/williamwue/archive/2011/06/30/2094979.html

            問題:用eclipse 建立編譯C++工程出現錯誤提示 symbol could not be resolved

            解決辦法:

            1.window -> preferences -> C/C++ -> debug -> source lookup path > Path Mapping
            Name:whatever  CompilationPath: \cygdirve\c      Local file system path:C:\

            用cygwin下的c盤來替代當前的C盤 來查找需要的庫文件


            2.
            indexer:  index source and header files opened  in editor
            window -> preferences -> C/C++ -> indexer

            OK編譯的錯誤解決了
            運行時又出現了如下的BUG:


            找不到對應的文件,無法進行調試,GOOGLE了半天才找到解決的方法:
            If you're working under Windows, have you set the required mappings?
            Maybe Eclipse couldn't find the Source because of the missing mapping to
            the (cygwin-)drive where your projects/workspaces are.

            When you start Cygwin, enter "mount" and look for the mapping you have:
            They may look like this:


            Admin@bs11-01xp ~
            $ mount
            D:\cygwin\bin on /usr/bin type system (binmode)
            D:\cygwin\lib on /usr/lib type system (binmode)
            D:\cygwin on / type system (binmode)
            c: on /cygdrive/c type system (binmode,noumount)
            d: on /cygdrive/d type system (binmode,noumount)
            e: on /cygdrive/e type system (binmode,noumount)
            j: on /cygdrive/j type system (binmode,noumount)
            n: on /cygdrive/n type system (binmode,noumount)
            u: on /cygdrive/u type system (binmode,noumount)
            w: on /cygdrive/w type system (binmode,noumount)
            x: on /cygdrive/x type system (binmode,noumount)
            y: on /cygdrive/y type system (binmode,noumount)
            z: on /cygdrive/z type system (binmode,noumount)



            My Projects ara all under J:\Projects, so my mapping needs to be present
            in Eclipse as:
            /cygdrive/j j:/


            Open Eclipse and then click
            - Windows => Preferences => C/C++ => Debug =>Common Source Lookup
            Path
            - Add a new Path Mapping: click [Add] => Path Mapping => [OK]
            - Select the new Mapping => [Edith] => change Name of Mapping "Project
            Source" => [Add]
            set "Compilation path" to the Source (Sample cygwin!) "/cygdrive/j"
            (without the quotes!)
            set"Local file system path" tho "J:\" (without the quotes!)
            上面配置對應了/cygdrive/c  C:\
            但是我在windows下的工程目錄都是在G盤,同樣添加一個G盤的對應目錄就OK了



            posted on 2012-10-24 10:56 風輕云淡 閱讀(7188) 評論(2)  編輯 收藏 引用 所屬分類: Toolkit

            FeedBack:
            # re: win7+eclipse+CDT+cygwin symbol could not be resolved 2012-10-28 15:13 小張
            我的/cygdrive/c 會被自動轉換為\cygdrive\c然后就又找不到文件了。
            也就是任何/都會在輸入后被轉換為\ 求解!
            我用的是eclipse juno
              回復  更多評論
              
            # re: win7+eclipse+CDT+cygwin symbol could not be resolved 2012-11-01 21:02 Let me see see
            @小張
            我的也是自動轉為\cygdrive\c 這樣沒問題  回復  更多評論
              
            久久青草国产精品一区| 久久久久亚洲AV成人网人人网站| 色综合久久中文字幕无码| 国产精品久久午夜夜伦鲁鲁| 久久99国产综合精品女同| 国产伊人久久| 亚洲精品无码久久久久久| 国产高清美女一级a毛片久久w| 久久久久久国产精品美女| 婷婷久久久亚洲欧洲日产国码AV| 国内精品久久久久久野外| 中文字幕无码久久人妻| 久久青草国产精品一区| 亚洲国产精品无码久久一区二区| 91精品婷婷国产综合久久| 乱亲女H秽乱长久久久| 国产69精品久久久久观看软件| 天天久久狠狠色综合| 久久久婷婷五月亚洲97号色 | 综合久久久久久中文字幕亚洲国产国产综合一区首 | 日本免费一区二区久久人人澡| 国产精品久久久久久久人人看| 国产精品久久一区二区三区| 国产精品久久新婚兰兰| 久久久久免费视频| 色综合合久久天天综合绕视看| 人妻精品久久久久中文字幕一冢本| 久久青青草原精品国产不卡| 品成人欧美大片久久国产欧美...| 国产婷婷成人久久Av免费高清| 2021国内久久精品| 国产免费久久精品99re丫y| 久久人人爽人人爽人人片AV东京热| 狠狠色丁香婷婷久久综合不卡| 久久久久亚洲AV无码专区体验| 伊人久久精品无码二区麻豆| 狠狠色丁香久久婷婷综合图片| 日韩电影久久久被窝网| 亚洲AV伊人久久青青草原| 久久婷婷色综合一区二区| 欧美久久综合九色综合|