CnPack Forum


 
Subject: xe2安装cnvcl的问题
wskqukq511
新警察
Rank: 1



UID 67237
Digest Posts 0
Credits 4
Posts 1
点点分 4
Reading Access 10
Registered 2011-10-14
Status Offline
Post at 2011-10-14 00:32  Profile | Blog | P.M. 
xe2安装cnvcl的问题

之前在xe下安装没问题的,今天换了xe2,在编译运行期包时提示
brcc32 command line for "CnPack_D16.vrc"
  c:\program files (x86)\embarcadero\rad studio\9.0\bin\cgrc.exe -c65001 CnPack_D16.vrc -foCnPack_D16.res
dcc command line for "CnPack_D16.dpk"
  c:\program files (x86)\embarcadero\rad studio\9.0\bin\dcc32.exe -$O- -$W+ -$J+ -$D- -$L- -$Y- --no-config -B -Q -Z
  -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;
  DbiProcs=BDE;DbiErrs=BDE -DDEBUG;RELEASE -I..\..\Source\Common;"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win32\release";
  "C:\Users\herui\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD
  Studio\9.0\Dcp";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16";"c:\program files
  (x86)\embarcadero\rad studio\9.0\RaveReports\Lib";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE2\Win32";D:\delphi\cnvcl_20111001\cnvcl\Source\Common;
  D:\delphi\cnvcl_20111001\cnvcl\Source\DbReport;D:\delphi\cnvcl_20111001\cnvcl\Source\Graphics;D:\delphi\cnvcl_20111001\cnvcl\Source\Lang;
  D:\delphi\cnvcl_20111001\cnvcl\Source\MultiLang;D:\delphi\cnvcl_20111001\cnvcl\Source\NetComm;D:\delphi\cnvcl_20111001\cnvcl\Source\NonVisual;
  D:\delphi\cnvcl_20111001\cnvcl\Source\ObjRep;D:\delphi\cnvcl_20111001\cnvcl\Source\Skin -LE"C:\Users\Public\Documents\RAD Studio\9.0\Bpl"
  -LN"C:\Users\Public\Documents\RAD Studio\9.0\Dcp" -NSWinapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;
  Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell; -O..\..\Source\Common;"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win32\release";
  "C:\Users\herui\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD
  Studio\9.0\Dcp";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16";"c:\program files
  (x86)\embarcadero\rad studio\9.0\RaveReports\Lib";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE2\Win32";D:\delphi\cnvcl_20111001\cnvcl\Source\Common;
  D:\delphi\cnvcl_20111001\cnvcl\Source\DbReport;D:\delphi\cnvcl_20111001\cnvcl\Source\Graphics;D:\delphi\cnvcl_20111001\cnvcl\Source\Lang;
  D:\delphi\cnvcl_20111001\cnvcl\Source\MultiLang;D:\delphi\cnvcl_20111001\cnvcl\Source\NetComm;D:\delphi\cnvcl_20111001\cnvcl\Source\NonVisual;
  D:\delphi\cnvcl_20111001\cnvcl\Source\ObjRep;D:\delphi\cnvcl_20111001\cnvcl\Source\Skin -R..\..\Source\Common;"c:\program files (x86)\embarcadero\rad
  studio\9.0\lib\Win32\release";"C:\Users\herui\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";
  "C:\Users\Public\Documents\RAD Studio\9.0\Dcp";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files
  (x86)\FastReports\LibD16";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib";"C:\Program Files (x86)\Raize\CS5\Lib\RS-XE2\Win32";
  D:\delphi\cnvcl_20111001\cnvcl\Source\Common;D:\delphi\cnvcl_20111001\cnvcl\Source\DbReport;D:\delphi\cnvcl_20111001\cnvcl\Source\Graphics;
  D:\delphi\cnvcl_20111001\cnvcl\Source\Lang;D:\delphi\cnvcl_20111001\cnvcl\Source\MultiLang;D:\delphi\cnvcl_20111001\cnvcl\Source\NetComm;
  D:\delphi\cnvcl_20111001\cnvcl\Source\NonVisual;D:\delphi\cnvcl_20111001\cnvcl\Source\ObjRep;D:\delphi\cnvcl_20111001\cnvcl\Source\Skin
  -U..\..\Source\Common;"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win32\release";"C:\Users\herui\Documents\RAD Studio\9.0\Imports";
  "c:\program files (x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD Studio\9.0\Dcp";"c:\program files (x86)\embarcadero\rad
  studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib";"C:\Program Files
  (x86)\Raize\CS5\Lib\RS-XE2\Win32";D:\delphi\cnvcl_20111001\cnvcl\Source\Common;D:\delphi\cnvcl_20111001\cnvcl\Source\DbReport;
  D:\delphi\cnvcl_20111001\cnvcl\Source\Graphics;D:\delphi\cnvcl_20111001\cnvcl\Source\Lang;D:\delphi\cnvcl_20111001\cnvcl\Source\MultiLang;
  D:\delphi\cnvcl_20111001\cnvcl\Source\NetComm;D:\delphi\cnvcl_20111001\cnvcl\Source\NonVisual;D:\delphi\cnvcl_20111001\cnvcl\Source\ObjRep;
  D:\delphi\cnvcl_20111001\cnvcl\Source\Skin -K00400000 --description:"CnPack Components Runtime Package" -NB"C:\Users\Public\Documents\RAD
  Studio\9.0\Dcp" -NH"C:\Users\Public\Documents\RAD Studio\9.0\hpp"   CnPack_D16.dpk   
[DCC Warning] CnButtons.pas(1907): W1023 Comparing signed and unsigned types - widened both operands
[DCC Warning] CnVolumeCtrl.pas(381): W1023 Comparing signed and unsigned types - widened both operands
[DCC Warning] CnVolumeCtrl.pas(397): W1023 Comparing signed and unsigned types - widened both operands
[DCC Error] CnWinampCtrl.pas(417): E1012 Constant expression violates subrange bounds
[DCC Error] CnWinampCtrl.pas(422): E1012 Constant expression violates subrange bounds
[DCC Fatal Error] CnPack_D16.dpk(151): F2063 Could not compile used unit 'CnWinampCtrl.pas'

可是我看到包里明明有cnwinampctrl.pas呀
Top
delphi
新警察
Rank: 1



UID 41130
Digest Posts 0
Credits 39
Posts 17
点点分 39
Reading Access 10
Registered 2008-10-21
Status Offline
Post at 2011-10-17 20:39  Profile | Blog | P.M. 
我的也是有这样的问题,有谁处理了吗
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2011-10-18 10:22  Profile | Blog | P.M. 
是XE2的正式版的编译规则又改了所致,我们代码包是针对Beta版的,没考虑到这更新。
加上强制类型转换即可。
我们的SVN上已经更新。

获取方法:
http://code.google.com/p/cnpack/
Top
 




All times are GMT++8, the time now is 2024-12-12 23:05

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.012066 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP