Subject:
xe2安装cnvcl的问题
[Print This Page]
Author:
wskqukq511
Time:
2011-10-14 00:32
Subject:
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呀
Author:
delphi
Time:
2011-10-17 20:39
我的也是有这样的问题,有谁处理了吗
Author:
Passion
Time:
2011-10-18 10:22
是XE2的正式版的编译规则又改了所致,我们代码包是针对Beta版的,没考虑到这更新。
加上强制类型转换即可。
我们的SVN上已经更新。
获取方法:
http://code.google.com/p/cnpack/
Welcome to CnPack Forum (http://bbs.cnpack.org/)
Powered by Discuz! 5.0.0