Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
August 04, 2008 building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok. dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_ inside static constructor dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder .ButtonScheme dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C ONTRAST_ inside static constructor dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But tonBorder.ButtonScheme dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S CROLLBAR_ inside static constructor dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu ttonBorder.ButtonScheme dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_ inside static constructor dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord er.ButtonScheme Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. thanks! |
August 04, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to dolive | dolive дµ½:
> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok.
>
>
> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib
> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_
> inside static constructor
> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT
> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder
> .ButtonScheme
> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C
> ONTRAST_ inside static constructor
> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT
> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But
> tonBorder.ButtonScheme
> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S
> CROLLBAR_ inside static constructor
> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT
> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu
> ttonBorder.ButtonScheme
> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_
> inside static constructor
> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO
> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord
> er.ButtonScheme
> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
> Error: Command failed, aborting.
>
> thanks!
>
after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok
|
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to dolive | dolive дµ½:
> dolive дµ½:
>
> > building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok.
> >
> >
> > dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib
> > dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_
> > inside static constructor
> > dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT
> > TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder
> > .ButtonScheme
> > dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C
> > ONTRAST_ inside static constructor
> > dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT
> > TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But
> > tonBorder.ButtonScheme
> > dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S
> > CROLLBAR_ inside static constructor
> > dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT
> > TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu
> > ttonBorder.ButtonScheme
> > dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_
> > inside static constructor
> > dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO
> > OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord
> > er.ButtonScheme
> > Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
> > Error: Command failed, aborting.
> >
> > thanks!
> >
>
>
> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok
after generate DD-dwtx.lib building dwtx/draw2d still appear error
thanks£¡
|
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to dolive | dolive schrieb:
> dolive дµ½:
>
>> dolive дµ½:
>>
>>> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok.
>>>
>>>
>>> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib
>>> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_
>>> inside static constructor
>>> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT
>>> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder
>>> .ButtonScheme
>>> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C
>>> ONTRAST_ inside static constructor
>>> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT
>>> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But
>>> tonBorder.ButtonScheme
>>> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S
>>> CROLLBAR_ inside static constructor
>>> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT
>>> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu
>>> ttonBorder.ButtonScheme
>>> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_
>>> inside static constructor
>>> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO
>>> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord
>>> er.ButtonScheme
>>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
>>> Error: Command failed, aborting.
>>>
>>> thanks!
>>>
>>
>> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok
>
> after generate DD-dwtx.lib building dwtx/draw2d still appear error
>
> thanks£¡
>
try to build the examples directly, without a dwt or dwtx lib. Just pass the sources
cd dwt-samples\jface
dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full
Note that if you had run a "dsss install" with dwt/dwtx you need to delete the files from the dsss install directory in dsss/include/d and dsss/lib.
|
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | Frank Benoit дµ½:
> dolive schrieb:
> > dolive дµ½:
> >
> >> dolive дµ½:
> >>
> >>> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok.
> >>>
> >>>
> >>> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib
> >>> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_
> >>> inside static constructor
> >>> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT
> >>> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder
> >>> .ButtonScheme
> >>> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C
> >>> ONTRAST_ inside static constructor
> >>> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT
> >>> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But
> >>> tonBorder.ButtonScheme
> >>> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S
> >>> CROLLBAR_ inside static constructor
> >>> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT
> >>> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu
> >>> ttonBorder.ButtonScheme
> >>> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_
> >>> inside static constructor
> >>> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO
> >>> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord
> >>> er.ButtonScheme
> >>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
> >>> Error: Command failed, aborting.
> >>>
> >>> thanks!
> >>>
> >>
> >> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok
> >
> > after generate DD-dwtx.lib building dwtx/draw2d still appear error
> >
> > thanks£¡
> >
>
> try to build the examples directly, without a dwt or dwtx lib. Just pass the sources
>
> cd dwt-samples\jface
> dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full
>
> Note that if you had run a "dsss install" with dwt/dwtx you need to delete the files from the dsss install directory in dsss/include/d and dsss/lib.
>
>
is dwt-addons\dwtx\draw2d package building error£¬isn't dwt-samples\draw2d package error.
i was use " dsss build " try to build dwt-addons package.
|
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | Frank Benoit дµ½: > dolive schrieb: > > dolive дµ½: > > > >> dolive дµ½: > >> > >>> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok. > >>> > >>> > >>> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib > >>> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_ > >>> inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT > >>> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder > >>> .ButtonScheme > >>> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C > >>> ONTRAST_ inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT > >>> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But > >>> tonBorder.ButtonScheme > >>> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S > >>> CROLLBAR_ inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT > >>> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu > >>> ttonBorder.ButtonScheme > >>> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_ > >>> inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO > >>> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord > >>> er.ButtonScheme > >>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting. > >>> Error: Command failed, aborting. > >>> > >>> thanks! > >>> > >> > >> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok > > > > after generate DD-dwtx.lib building dwtx/draw2d still appear error > > > > thanks£¡ > > > > try to build the examples directly, without a dwt or dwtx lib. Just pass the sources > > cd dwt-samples\jface > dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full > > Note that if you had run a "dsss install" with dwt/dwtx you need to delete the files from the dsss install directory in dsss/include/d and dsss/lib. > > cd dwt-samples\jface > dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full is ok £¡ D:\D\dwt-win>dsss build is ok¡£ D:\D\dwt-addons>dsss build is error £º ¡£¡£¡£ dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_ inside static constructor dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder .ButtonScheme dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C ONTRAST_ inside static constructor dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But tonBorder.ButtonScheme dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S CROLLBAR_ inside static constructor dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu ttonBorder.ButtonScheme dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_ inside static constructor dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord er.ButtonScheme Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. thanks £¡ |
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | Frank Benoit дµ½: > dolive schrieb: > > dolive дµ½: > > > >> dolive дµ½: > >> > >>> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok. > >>> > >>> > >>> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib > >>> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_ > >>> inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT > >>> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder > >>> .ButtonScheme > >>> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C > >>> ONTRAST_ inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT > >>> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But > >>> tonBorder.ButtonScheme > >>> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S > >>> CROLLBAR_ inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT > >>> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu > >>> ttonBorder.ButtonScheme > >>> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_ > >>> inside static constructor > >>> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO > >>> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord > >>> er.ButtonScheme > >>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting. > >>> Error: Command failed, aborting. > >>> > >>> thanks! > >>> > >> > >> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok > > > > after generate DD-dwtx.lib building dwtx/draw2d still appear error > > > > thanks£¡ > > > > try to build the examples directly, without a dwt or dwtx lib. Just pass the sources > > cd dwt-samples\jface > dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full > > Note that if you had run a "dsss install" with dwt/dwtx you need to delete the files from the dsss install directory in dsss/include/d and dsss/lib. > > D:\D\dwt-samples\examples>dsss build dsss build -full -ID:\D\dwt-win simple.exe is ok, AddressBook.exe is ok, ClipboardExample.exe is error : dsss_objs\D\dwt-internal-BidiUtil.obj(dwt-internal-BidiUtil) Error 42: Symbol Undefined _EnumSystemLanguageGroupsW@12 --- errorlevel 1 Command D:\D\dsss\bin\rebuild.exe returned with code -1, aborting. Error: Command failed, aborting. thanks! |
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to dolive | dolive schrieb: > Frank Benoit дµ½: > >> dolive schrieb: >>> dolive дµ½: >>> >>>> dolive дµ½: >>>> >>>>> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok. >>>>> >>>>> >>>>> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib >>>>> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_ >>>>> inside static constructor >>>>> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT >>>>> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder >>>>> .ButtonScheme >>>>> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C >>>>> ONTRAST_ inside static constructor >>>>> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT >>>>> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But >>>>> tonBorder.ButtonScheme >>>>> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S >>>>> CROLLBAR_ inside static constructor >>>>> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT >>>>> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu >>>>> ttonBorder.ButtonScheme >>>>> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_ >>>>> inside static constructor >>>>> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO >>>>> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord >>>>> er.ButtonScheme >>>>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting. >>>>> Error: Command failed, aborting. >>>>> >>>>> thanks! >>>>> >>>> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok >>> after generate DD-dwtx.lib building dwtx/draw2d still appear error >>> >>> thanks£¡ >>> >> try to build the examples directly, without a dwt or dwtx lib. Just pass the sources >> >> cd dwt-samples\jface >> dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full >> >> Note that if you had run a "dsss install" with dwt/dwtx you need to delete the files from the dsss install directory in dsss/include/d and dsss/lib. >> >> > > D:\D\dwt-samples\examples>dsss build dsss build -full -ID:\D\dwt-win simple.exe is ok, > AddressBook.exe is ok, > ClipboardExample.exe is error : > > dsss_objs\D\dwt-internal-BidiUtil.obj(dwt-internal-BidiUtil) > Error 42: Symbol Undefined _EnumSystemLanguageGroupsW@12 > --- errorlevel 1 > Command D:\D\dsss\bin\rebuild.exe returned with code -1, aborting. > Error: Command failed, aborting. > > thanks! > > > Try an update. http://www.dsource.org/projects/dwt-win/changeset/276%3A240db000bbcd That should have fixed it. |
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to dolive | dolive schrieb:
> Frank Benoit дµ½:
>
>> dolive schrieb:
>>> dolive дµ½:
>>>
>>>> dolive дµ½:
>>>>
>>>>> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok.
>>>>>
>>>>>
>>>>> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib
>>>>> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_
>>>>> inside static constructor
>>>>> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT
>>>>> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder
>>>>> .ButtonScheme
>>>>> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C
>>>>> ONTRAST_ inside static constructor
>>>>> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT
>>>>> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But
>>>>> tonBorder.ButtonScheme
>>>>> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S
>>>>> CROLLBAR_ inside static constructor
>>>>> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT
>>>>> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu
>>>>> ttonBorder.ButtonScheme
>>>>> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_
>>>>> inside static constructor
>>>>> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO
>>>>> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord
>>>>> er.ButtonScheme
>>>>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
>>>>> Error: Command failed, aborting.
>>>>>
>>>>> thanks!
>>>>>
>>>> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok
>>> after generate DD-dwtx.lib building dwtx/draw2d still appear error
>>>
>>> thanks£¡
>>>
>> try to build the examples directly, without a dwt or dwtx lib. Just pass the sources
>>
>> cd dwt-samples\jface
>> dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full
>>
>> Note that if you had run a "dsss install" with dwt/dwtx you need to delete the files from the dsss install directory in dsss/include/d and dsss/lib.
>>
>>
> cd dwt-samples\jface
>> dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full is ok £¡
>
> D:\D\dwt-win>dsss build is ok¡£
>
> D:\D\dwt-addons>dsss build is error £º
>
> ¡£¡£¡£
> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib
> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_
> inside static constructor
> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT
> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder
> ..ButtonScheme
> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C
> ONTRAST_ inside static constructor
> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT
> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But
> tonBorder.ButtonScheme
> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S
> CROLLBAR_ inside static constructor
> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT
> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu
> ttonBorder.ButtonScheme
> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_
> inside static constructor
> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO
> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord
> er.ButtonScheme
> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
> Error: Command failed, aborting.
>
> thanks £¡
>
the dsss.conf in dwt-addons has at the moment two targets.
Use an explicit target to only build the dwtx lib.
dsss build dwtx
|
August 05, 2008 Re: building dwt-addons-102 draw2d error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | Frank Benoit дµ½: > dolive schrieb: > > Frank Benoit дµ½: > > > >> dolive schrieb: > >>> dolive дµ½: > >>> > >>>> dolive дµ½: > >>>> > >>>>> building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok. > >>>>> > >>>>> > >>>>> dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib > >>>>> dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_ > >>>>> inside static constructor > >>>>> dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT > >>>>> TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder > >>>>> .ButtonScheme > >>>>> dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C > >>>>> ONTRAST_ inside static constructor > >>>>> dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT > >>>>> TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But > >>>>> tonBorder.ButtonScheme > >>>>> dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S > >>>>> CROLLBAR_ inside static constructor > >>>>> dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT > >>>>> TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu > >>>>> ttonBorder.ButtonScheme > >>>>> dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_ > >>>>> inside static constructor > >>>>> dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO > >>>>> OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord > >>>>> er.ButtonScheme > >>>>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting. > >>>>> Error: Command failed, aborting. > >>>>> > >>>>> thanks! > >>>>> > >>>> after delete #[dwtx/draw2d] from dsss.conf build , generate DD-dwtx.lib is ok > >>> after generate DD-dwtx.lib building dwtx/draw2d still appear error > >>> > >>> thanks£¡ > >>> > >> try to build the examples directly, without a dwt or dwtx lib. Just pass the sources > >> > >> cd dwt-samples\jface > >> dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full > >> > >> Note that if you had run a "dsss install" with dwt/dwtx you need to delete the files from the dsss install directory in dsss/include/d and dsss/lib. > >> > >> > > cd dwt-samples\jface > >> dsss build -I..\..\dwt-win -I..\..\dwt-addons -J..\..\dwt-addons\res -full is ok £¡ > > > > D:\D\dwt-win>dsss build is ok¡£ > > > > D:\D\dwt-addons>dsss build is error £º > > > > ¡£¡£¡£ > > dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib > > dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_ > > inside static constructor > > dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT > > TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder > > ..ButtonScheme > > dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C > > ONTRAST_ inside static constructor > > dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT > > TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But > > tonBorder.ButtonScheme > > dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S > > CROLLBAR_ inside static constructor > > dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT > > TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu > > ttonBorder.ButtonScheme > > dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_ > > inside static constructor > > dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO > > OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord > > er.ButtonScheme > > Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting. > > Error: Command failed, aborting. > > > > thanks £¡ > > > > the dsss.conf in dwt-addons has at the moment two targets. Use an explicit target to only build the dwtx lib. > > dsss build dwtx yes, after edit dsss.conf : #[dwtx/draw2d] #type=library #buildflags+=-Jres [dwtx] type=library exclude=dwtx/draw2d buildflags+=-Jres preinstall = \ installdir res $LIB_PREFIX/res D:\D\dwt-addons>dsss build dd-dwtx.lib is ok |
Copyright © 1999-2021 by the D Language Foundation