安裝 CodeTyphon

一直想找個開源的可以商用的Delphi的替代品,能跨平臺了最好。開始時試過Lazarus,和D7還真是挺像的,不過用慣了XE,還是想找個習慣相似的IDE,扒拉下論壇後發現了CodeTyphon,就想着試一下。

下載

下載就不多說了,網上很容易找到,而且官方wiki寫得也很好,英文好的可以直接看,像我這樣的英語渣渣,還是有必要慢慢去啃的。

CodeTyphon下載後只有一個CodeTyphonIns.zip的壓縮包,無論是WindowsLinux還是MacOS,安裝包都是它,因爲不管在哪個平臺上安裝,都是要編譯的。

安裝

  1. 解壓CodeTyphonIns.zip得到CodeTyphonIns

  2. Windows平臺,以管理員方式運行install.bat;在類unix平臺,先cd CodeTyphonIns,再sudo ./install.sh

  3. 出現以下界面,輸入0

====================================================
             CodeTyphon Studio 
            Version 7.30 (GEN 7)
  Installation for Linux-Solaris-Openindiana-MacOS
          FreeBSD-NetBSD-OpenBSD-DragonFly
====================================================
 
-----WARNING------ WARNING ----WARNING-------
You tryng to install CT as root
This is NOT the correct procedure.
You MUST start CodeTyphon Installation as normal user
with sudo root privileges
---------------------------------------------
 
   0) Install CodeTyphon Studio (remove old first)
 
   1) Update CodeTyphon Studio
 
   2) Remove CodeTyphon Studio
 
 
   9) Exit
 
>>> Select an action (press 0..9 key): 
  1. 等待執行完,出現以下界面,再次輸入0(我就是這裏漏掉了,折騰了N多遍)
====================================================
  CodeTyphon Studio 7.30 Setup for Linux64
   Settings: Platform=gtk2  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 0

此時,Windows平臺會彈出下載安裝DirectX的界面,Linux也會下載安裝系統所需要的包,這個過程是必須聯網進行的。

  1. 安裝完之後會回到上一步的界面,輸入8

  2. 等待安裝結束,查看日誌是否安裝成功,最後輸入9退出

以上是最基本的採用默認配置的安裝步驟,以後摸索多了再更如何自定義配置的安裝吧。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章