選擇記事本+ +來源,學習一些最佳做法,並潛入這個流行的文本編輯器的內部代碼。如何使用Visual Studio構建notepad ++源代碼?
自述文件說 -
上 記事本+雙擊\幹線\ PowerEditor \ visual.net \ notepadPlus.vcproj推出的Visual Studio 記事本++項目,然後與模式構建它,你想 , 而已。
但試圖在VS 2012 RC版本構建失敗與錯誤的說法 - 1.一些文件丟失,2智能感知:指向不完全類類型是不允許的。
爲了保持問題的簡潔性和可讀性,不要發佈確切的錯誤。請讓我知道是否需要。
編輯 增加的差錯,爲每個請求 -
錯誤1個錯誤C1083:無法打開包含文件: 'FindCharsInRange.h': 沒有這樣的文件或 目錄c:\ myLocalSourcePath \記事本+ \提供者\ src \ Notepad_plus.h 68 1記事本++
錯誤8錯誤C2511:'void ScintillaEditView :: getGenericText(TCHAR *,int,int,int *,int *)const':未找到重載的成員函數'閃爍EditView中」 C:\ myLocalSourcePath \記事本++ \ PowerEditor \ SRC \ ScitillaComponent \ ScintillaEditView.cpp 1715 1記事本++
16智能感知:無法打開源文件 「VerticalFileSwitcher.h」 C:\ myLocalSourcePath \記事本++ \ PowerEditor \ SRC \ NppCommands的.cpp 35 1記事本++
17智能感知:無法打開源文件 「documentMap.h」 \記事本++ \ PowerEditor \ SRC \ NppCommands.cpp 36 1記事本++
25智能感知:標識符 「FindCharsInRangeDlg」 是 未定義ç :\ myLocalSourcePath \ Notepad ++ \ PowerEditor \ src \ Notepad_plus.h 351 2記事本++
請發佈錯誤信息。 – BoltClock
您至少缺少一個include目錄,錯誤非常明顯。找出這些頭文件的位置並將該目錄添加到包含路徑中。 –