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

BCB製作靜態Library (非dll 的 library) 的步驟

答題得分者是:GGL
boss.tw
高階會員


發表:15
回覆:109
積分:194
註冊:2005-05-17

發送簡訊給我
#1 引用回覆 回覆 發表時間:2009-11-02 16:27:42 IP:219.87.xxx.xxx 訂閱
請問BCB製作靜態Library (非dll 的 library) 的步驟?
File -> New -> Library
產生一個 bpf 檔
Project -> Add to project
加入 .c , .h

Complier -> 出現 error :[tlib Error] unexpected char '? in command line
這是為什麼?
GGL
資深會員


發表:104
回覆:600
積分:335
註冊:2006-11-05

發送簡訊給我
#2 引用回覆 回覆 發表時間:2009-11-05 11:55:05 IP:220.128.xxx.xxx 未訂閱
是不是你的路徑有包含中文

http://edn.embarcadero.com/article/27705


Question:

When compiling a library project with C Builder 5, I get an error message from TLIB reading, "Unexpected character '?' in command line". How do I resolve this problem?

Answer:

If your project has special characters or spaces in its path, you you will encounter this problem. There is a bug in the IDE that seems to strip quote characters from filenames in the command line used to invoke TLIB. Spaces or special characters confuse TLIB when they are not surrounded by quotes.
To resolve this problem, either rename the directories so that they do not include spaces and special characters, or export a makefile for the project (using Project/Export Makefile... from the main menu) and build the library from the command line using MAKE.


===================引 用 boss.tw 文 章===================
請問BCB製作靜態Library (非dll 的 library) 的步驟?
File -> New -> Library
產生一個 bpf 檔
Project -> Add to project
加入 .c , .h

Complier -> 出現 error :[tlib Error] unexpected char '? in command line
這是為什麼?
編輯記錄
GGL 重新編輯於 2009-11-05 11:55:44, 註解 無‧
系統時間:2024-04-26 8:43:31
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!