indy10安装出现问题
我的bcb版本是bcb6.0 build10.166 ,Winxp sp3 英文专业版
我在CCrun上面下载了
http://www.ccrun.com/view.asp?id=365
我按照步骤操作完成了:
在C++Builder6中的安装方法和步骤(2006.12.17 ccrun纠正版):
0. 将Indy\Lib\Protocols\ZLib目录下的*.obj文件拷贝到Indy\Lib\Protocols目录中。
1. 运行lib目录下的Fullc6.Indy10.bat(感谢大智的工作)
2. 将Indy\lib\修正的.h文件\BCB6目录下的IdWinsock2.hpp复制到新生成的C6目录中,覆盖同名文件。
3. 所有需要的.h/.obj/.lib/.bpl文件全部在C6目录下。打开C++Builder,Component-->Install Packages-->找到 C6目录下的dclIndyCore60.bpl和dclIndyProtocols60.bpl,添加到组件列表中。
4. 在C++Builder中设置一下路径:Project-->Options-->Directories/Conditionals-->Include path和Library path中将C6的目录添加进来,这样就OK了。
5. 建议将C6目录移至C++Builder的安装目录中,这样可以在工程选项的路径中使用较短的相对路径。
==========================================
我在窗体上增加一个控件IdSMTP控件,在编译之后出现下面问题,不知道如何解决?
请高人帮助
[C++ Error] IdStreamVCL.hpp(29): E2316 'TIdBytes' is not a member of 'Idglobal'
[C++ Error] IdStreamVCL.hpp(29): E2293 ) expected
[C++ Error] IdStreamVCL.hpp(30): E2316 'TIdBytes' is not a member of 'Idglobal'
[C++ Error] IdStreamVCL.hpp(30): E2293 ) expected
[C++ Error] IdExceptionCore.hpp(2404): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2404): E2303 Type name expected
[C++ Error] IdExceptionCore.hpp(2405): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2405): E2040 Declaration terminated incorrectly
[C++ Error] IdExceptionCore.hpp(2409): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2409): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2414): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2414): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2419): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2419): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2422): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2422): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2425): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2425): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2428): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2428): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2431): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2431): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2434): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2434): E2272 Identifier expected
[C++ Error] IdExceptionCore.hpp(2437): E2316 'EIdSocketError' is not a member of 'Idstack'
[C++ Error] IdExceptionCore.hpp(2437): E2228 Too many error or warning messages