codelite集成開發(fā)環(huán)境使用vc編譯器開發(fā)(The CodeLite integrated development environment is developed using the VC compiler)_第1頁
codelite集成開發(fā)環(huán)境使用vc編譯器開發(fā)(The CodeLite integrated development environment is developed using the VC compiler)_第2頁
codelite集成開發(fā)環(huán)境使用vc編譯器開發(fā)(The CodeLite integrated development environment is developed using the VC compiler)_第3頁
codelite集成開發(fā)環(huán)境使用vc編譯器開發(fā)(The CodeLite integrated development environment is developed using the VC compiler)_第4頁
codelite集成開發(fā)環(huán)境使用vc編譯器開發(fā)(The CodeLite integrated development environment is developed using the VC compiler)_第5頁
已閱讀5頁,還剩3頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、codelite集成開發(fā)環(huán)境使用vc編譯器開發(fā)(The CodeLite integrated development environment is developed using the VC compiler)Windows platform: the CodeLite integrated development environment is developed using the Microsoft VC compilerWindows platform: the CodeLite integrated development environment is developed usin

2、g the Microsoft VC compilerCreated By: CavanCreate Date: 2011-12-25objectiveUse a single integrated development environment, CodeLite, compile Windows platform applications, or Linux platform applications, or cross platform applications. The Window platform uses MSVC to compile links, and the Linux

3、platform uses g+ to compile links, cross platform requirements, that is, you can use MSVC, or you can use g+ to compile links. For each platform, you can compile output x86 or x64 binary code.Participating componentsCodeLite :/ recommends downloading the CodeLite+MinGW development kit s

4、o that the g+ compiler for the Window platform has been installed. On the Linux platform, you need to download a specific installation package for the corresponding Linux release, and the Codelite site provides installation instructions for the Linux platform.Using GNU Make ://wiki/

5、GNU, here you can download GMake. CodeLite, which works by generating the Make file, and then invoking GNU Make or its derived Make interpreter to execute the script for the Make file. In the script, we can configure the use of MSVC or GCC/G+, and so on. Of course, if you download MingGW at the same

6、 time, you can also use the Make interpreter that comes with the MingGW directly. When the Linux platform installs the system, GMake is already installed in "/usr/bin", so there is no need to install it.Microsoft Visual C+ compilerFind a Microsoft Visual Stduio2010 Professional installed b

7、y someone else and copy the following filesInclude - standard C/C+ header fileLib - MSVC link libraryBin - MSVC compilerAtlMFC-MFC/ATL header file, this is optional. Because I use WTL, and WTL references the header file of ATL. If you do not use WTL, ATL, MFC, then you do not need to copy this direc

8、tory. Since I don't use the MFC runtime, compare yourself to the need to copy the corresponding MFC library file.Microsoft Windows SDKFind a Microsoft Windows SDK installed by someone else and copy the following filesBin - Microsoft provides tools that might be used at development time, but in f

9、act only RC.exe, the resource file compiler, is involved in compiling.Windows - API platform header file released by Include - Microsoft.Lib - Microsoft release Windows platform link libraryMicrosoft WTL s:/ of course, needs to be synchronized with the SVN client.Microsoft DirectX SDKBecause I also

10、develop Windows multimedia programs, but also need Microsoft DirectX SDK. For simplicity, simply copy someone's DirectX SDK copy. People who don't need it can ignore this step.BoostDownload :/ / from here and refer to the boost document for how to compile it (BJam)WxWidgetsTBDIn the

11、 fourth step, you can use CodeLite to compile links through VC. Other steps are decided according to need.Configuration development environmentI create the working directory Devel, where all the development tools, headers, and libraries are placed under this directory. This directory name must not c

12、ontain spaces. In addition, you have to pre - guess the directory and file case issues, the Linux platform is case sensitive, and sometimes changing the case of a letter can cause troublesome settings to be changed./Devel/bin/msvc/makeGNU Make executable file/Devel/bin/msvc/vcVisual C+ compiler and

13、other tools. Notice that it contains the subdirectory "x86_amd64"",exe / nologo / c / ehsc / zc. wchar _ forscope / zc.c編譯器參數(shù) cl.exe / nologo / clink參數(shù) link.exe / nologolink dll dll / nologo 參數(shù) link.exe /參數(shù) lib.exe / nologo.資源編譯器 rc.exe / nologopath環(huán)境變量 (此處留空, 此環(huán)境變量盡量在全局 環(huán)境變量 中定義)資源文件

14、編譯選項rc resource (rccompilername) $(rccmpoptions) /% (intermediatedirectory) / ($(objectsuffix objectname) (rcincludepath) "(filefullpath)設(shè)置全局頭文件搜索路徑.注意wxwidgets需要兩個目錄存放頭文件, lib目錄下存放的是編譯wxwidgets的時的編譯參數(shù).(workroot / include / boot / devel(workroot) / / / / / / / / include / wxwidgets devel(workro

15、ot) devel / lib / $(os) (cpu) / wxwidgets / mswu(workroot) / / / / / / / / include / vc / total devel(workroot) / devel / include / wtl(workroot) / / / / / / / / include / winsdk devel(workroot) / / / / / / / / include / dxsdk devel(workroot) / devel / include / vc / atlmfc / include設(shè)置全局庫文件搜索路徑(work

16、root) devel / lib / $(os) (cpu) / boost(workroot) devel / lib / $(os) (cpu) / wxwidgets(workroot) devel / lib / $(os) (cpu) vc(workroot) devel / lib / $(os) (cpu) / winsdk(workroot) devel / lib / $(os) (cpu) / dxsdk構(gòu)建系統(tǒng)全局設(shè)置可用構(gòu)建系統(tǒng) gnu make file for g + + / ccg構(gòu)建工具 d: bin workroot devel. that gmake.ex

17、e msvc.ctags - 頭文件搜索路徑ctags是codelite用來做代碼補全、上下問提示功能的.當編輯代碼時, 輸入. 或者 "- >", 就會彈出下拉菜單供用戶選取該類的方法或者屬性.設(shè)定的路徑根據(jù)不同的應(yīng)用略有不同, 這里羅列出基本的搜索路徑.d: workroot codelite devel. results in.d: workroot codelite. wxwidgets o be devel.d: workroot codelite devel . msvc. wxwidgets mswu o 's package.d: workroot codelite devel include vc included: codelite devel. workroot in wtl.d: workroot codelite devel. winsdk process.d: workroot codelite devel. dxsdk process.d: w

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論