請問 kylix 編譯出來的程式要如何執行呢? |
尚未結案
|
hgffly
一般會員 ![]() ![]() 發表:3 回覆:2 積分:1 註冊:2003-10-27 發送簡訊給我 |
|
hagar
版主 ![]() ![]() ![]() ![]() ![]() ![]() 發表:143 回覆:4056 積分:4445 註冊:2002-04-14 發送簡訊給我 |
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 發送簡訊給我 |
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 發送簡訊給我 |
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
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |