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

Indy Compile錯誤

 
zack_pan
一般會員


發表:1
回覆:0
積分:0
註冊:2005-05-19

發送簡訊給我
#1 引用回覆 回覆 發表時間:2007-02-16 23:19:28 IP:123.192.xxx.xxx 訂閱
小弟我想寫一個討論區的程式

在server部份我加入了IdTcpSever的元件,
我所使用的是BDS C <textarea class="cpp" rows="10" cols="60" name="code"> 請在此區域輸入程式碼 #include "IdCustomTCPServer.h"
#include
#include
#include
</textarea>
但是當我編譯時,出現以下的錯誤訊息 [C Error] main.h(13): E2209 Unable to open include file 'IdCustomTCPServer.h' [C Error] main.h(14): E2209 Unable to open include file 'IdBaseComponent.hpp' [C Error] main.h(15): E2209 Unable to open include file 'IdComponent.hpp' [C Error] main.h(16): E2209 Unable to open include file 'IdTCPServer.hpp' [C Error] main.h(25): E2303 Type name expected [C Error] main.h(25): E2139 Declaration missing ; [C Error] main.h(25): E2109 Not an allowed type 無法找到這些標頭檔,不知如何解決。 請各位大大幫忙。^^
GrandRURU
站務副站長


發表:240
回覆:1680
積分:1874
註冊:2005-06-21

發送簡訊給我
#2 引用回覆 回覆 發表時間:2007-02-21 02:20:18 IP:220.137.xxx.xxx 未訂閱
不知你用的indy版本為何?我猜應該是新版的吧。
你可以先到「Project/Options」選擇「Directories /Conditionals」→「Include Path」及「Library Path」兩個欄位的最前面,分別加入indy的安裝目錄,這樣應該就能解決你的問題
系統時間:2024-04-24 22:56:47
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!