全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1414
推到 Plurk!
推到 Facebook!

請問 kylix 編譯出來的程式要如何執行呢?

尚未結案
hgffly
一般會員


發表:3
回覆:2
積分:1
註冊:2003-10-27

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-11-04 21:23:33 IP:218.167.xxx.xxx 未訂閱
如題! 因為我用 kylix 編譯出一個執行檔後,名為 project1 其為可執行檔, 可是我用 滑鼠 點選這個檔案, 有錯誤訊息說:“找不到程式 Project1“ 是我執行的檔案不對嗎? 還是編譯前,kylix 要做什麼設定嗎?
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-11-04 21:59:53 IP:202.39.xxx.xxx 未訂閱
How to run executables created in Kylix: http://bdn.borland.com/article/0,1410,28057,00.html Question: How do I run an executable created in Kylix? Answer: Kylix produces ELF binaries so in order to run them outside the IDE you need to first run 'source kylixpath' in the kylix2/bin directory. This sets up the necessary environment variables. Then, in a command window, go the directory where your compiled binary is and enter ./Project1 if your executable is called Project1. --- Everything I say is a lie.
hgffly
一般會員


發表:3
回覆:2
積分:1
註冊:2003-10-27

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-11-06 22:44:33 IP:218.168.xxx.xxx 未訂閱
I did the things you said above. But it still can't work. It gave the below error message! ./Project1: error while loading shared libraries: libborqt-6.9.0-qt2.3.so: cannot open shared object file: No such file or directory So,what can I do?
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-11-07 07:31:14 IP:202.39.xxx.xxx 未訂閱
1.將 libborqt-6.9.0-qt2.3.so 複製到 /lib 目錄 2.然後執行 ldconfig 詳細參考 1.Kylix Deployment Notes for "Hello World": http://homepages.borland.com/efg2lab/Library/Kylix/deployment.htm 2.Deploying Kylix 3 Applications: http://www.rick-ross.com/papers/k3/k3deploy.html --- Everything I say is a lie. 發表人 - hagar 於 2003/11/07 07:33:31
系統時間:2024-04-25 16:23:12
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!