Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 求助,如何在cb中使用组件包
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 求助,如何在cb中使用组件包
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#1
Post at 2007-12-5 13:14
Profile
|
Blog
|
P.M.
求助,如何在cb中使用组件包
如何在cb中使用组件包?
安装完组件包后,怎么还是不能用?
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2007-12-5 13:31
Profile
|
Blog
|
P.M.
是否是CVS上的最新代码?网站上供直接下载的zip包比较老,不太推荐。
打开对应版本的bpk后编译安装,这一步能成功吗?
如果成功了,组件板上出现了组件吗?
如果出现了就可以用了。
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#3
Post at 2007-12-5 14:16
Profile
|
Blog
|
P.M.
谢谢。用的是网站上提供的。
提示bpk编译安装成功,可是组件板上没见到组件。
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#4
Post at 2007-12-5 15:30
Profile
|
Blog
|
P.M.
用的是20061001
是否还要设置一些文件的路径?
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#5
Post at 2007-12-5 16:50
Profile
|
Blog
|
P.M.
下载了最新版。dclCnPack_CB6.bpk编译出错。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#6
Post at 2007-12-5 19:46
Profile
|
Blog
|
P.M.
是从CVS上倒过来的?bcb6编译出什么错?
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#7
Post at 2007-12-5 19:47
Profile
|
Blog
|
P.M.
要先编译运行期的包,再编译安装设计期的包。
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#8
Post at 2007-12-6 13:26
Profile
|
Blog
|
P.M.
先编译CnPack_CB6.bpk,成功后提示有warnings,[C++ Warning] CnPack_CB6.cpp(4): W8058 Cannot create pre-compiled header: write failed
而且CnPack_CB6.obj如图:
Image Attachment
:
1.JPG
(2007-12-6 13:26, 13.11 K)
然后编译dclCnPack_CB6.bpk,报错:
Image Attachment
:
2.JPG
(2007-12-6 13:26, 61.26 K)
[
本帖最后由 elance 于 2007-12-6 13:30 编辑
]
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#9
Post at 2007-12-7 20:37
Profile
|
Blog
|
P.M.
每次编译包前,请删除所有上次生成的编译的dcu、obj等文件?
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#10
Post at 2007-12-7 20:40
Profile
|
Blog
|
P.M.
cnpack模块的根目录下有个cleanInplace.bat,可用于删除临时文件。
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#11
Post at 2007-12-7 21:50
Profile
|
Blog
|
P.M.
执行cleanInplace.bat后,
重新编译,还是8楼我描述的错误,
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#12
Post at 2007-12-8 12:13
Profile
|
Blog
|
P.M.
实在奇怪。是否严格按照了一下步骤?
1.从CVS上倒下了cnpack的最新代码来。
2.执行cleanInplace.bat
3.编译lCnPack_cb6.dpk
4.执行cleanInplace.bat
5.编译dclCnPack_cb6.dpk
CnPack_cb6.obj文件大小应该是正常的。
可能你的BCB6缺乏某些IDE包,
是完整安装的BCB6吗?
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#13
Post at 2007-12-8 13:46
Profile
|
Blog
|
P.M.
是按照您上述的步骤执行的,BCB6也是完全安装。
实在不行我试试装一下BCB2007,不知CNPACK组件支持BCB2007不支持?
elance
新警察
UID 33078
Digest Posts 0
Credits 22
Posts 9
点点分 22
Reading Access 10
Registered 2007-12-4
Status Offline
#14
Post at 2007-12-8 14:56
Profile
|
Blog
|
P.M.
果然是我的BCB有问题,我重装了一边,选择了typical安装,然后可以cnpack组件安装成功。
谢谢老大的关注!!!
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-24 12:38
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008965 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats