C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[29142] [Q]C++builder6에 indy9을 설치했는데 프로그램 컴파일시 에러가 납니다.
장석우 [jhanglim] 1487 읽음    2004-03-23 22:02
설치방법은 FAQ에 있는 박정규님 글을 참조 했습니다.
http://www.borlandforum.com/impboard/attach/0000057235/Indy_Install.pdf

alt+f9에까지는 에러가 없는데 ctrl+9하면 에러가 발생합니다.
제가 잘못한게 뭔가요???

기존에 작성했던 코드에서는 다음과 같은 에러가 발생합니다.
[C++ Error] winsock2.h(109): E2238 Multiple declaration for 'fd_set'
[C++ Error] winsock.h(54): E2344 Earlier declaration of 'fd_set'
[C++ Error] winsock2.h(112): E2146 Need an identifier to declare
[C++ Error] winsock2.h(153): E2238 Multiple declaration for 'timeval'
...생략...

혹시나 해서 새로운 프로젝트를 작성하고 IdTCPclient를 폼위에 놓고 컴파일 하니
다음과 같은 에러가 발생합니다.
[C++ Error] Unit1.h(10): E2209 Unable to open include file 'IdBaseComponent.hpp'
[C++ Error] Unit1.h(11): E2209 Unable to open include file 'IdComponent.hpp'
[C++ Error] Unit1.h(12): E2209 Unable to open include file 'IdTCPClient.hpp'
[C++ Error] Unit1.h(13): E2209 Unable to open include file 'IdTCPConnection.hpp'
[C++ Error] Unit1.h(18): E2303 Type name expected
[C++ Error] Unit1.h(18): E2139 Declaration missing ;
[C++ Error] Unit1.h(18): E2109 Not an allowed type


////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <IdBaseComponent.hpp>
#include <IdComponent.hpp>
#include <IdTCPClient.hpp>
#include <IdTCPConnection.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:    // IDE-managed Components
  TIdTCPClient *IdTCPClient1;
private:    // User declarations
public:        // User declarations
  __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

+ -

관련 글 리스트
29142 [Q]C++builder6에 indy9을 설치했는데 프로그램 컴파일시 에러가 납니다. 장석우 1487 2004/03/23
34670     Re:[Q]C++builder6에 indy9을 설치했는데 프로그램 컴파일시 에러가 납니다. 장석우 1351 2004/03/24
34669     Re:[Q]C++builder6에 indy9을 설치했는데 프로그램 컴파일시 에러가 납니다. 조준회 1460 2004/03/24
29145     컴포넌트 설치후 에러 발생할 때 utime.김성하 3252 2004/03/24
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.