July 15, 2008 Re: latest dwt samples with dmd snapshot 0.6.2: link errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Digited | On Tue, 15 Jul 2008 13:54:03 +0500 Digited <digited@yandex.ru> wrote: > using ddbg for text editor sample: > > dwt\graphics\TextLayout.d 2757: text=' ' > dwt\graphics\TextLayout.d 2266: segmentsText=' ' chars=' ' > dwt\graphics\TextLayout.d 2271: pcItems=1 chars.length=4 > segmentsText.length=4 > dwt\graphics\TextLayout.d 2275: utf8idx=0 utf16idx=0 si.iCharPos=0 > dwt\graphics\TextLayout.d 2275: utf8idx=1 utf16idx=1 si.iCharPos=4 > dwt\graphics\TextLayout.d 2275: utf8idx=2 utf16idx=2 si.iCharPos=4 > dwt\graphics\TextLayout.d 2275: utf8idx=3 utf16idx=3 si.iCharPos=4 > dwt\graphics\TextLayout.d 2298: itemCount=1 stylesCount=5 > dwt\graphics\TextLayout.d 2302: start=0 end=4 > dwt\graphics\TextLayout.d 2307: count=0 > dwt\graphics\TextLayout.d 2336: start=1 end=4 > dwt\graphics\TextLayout.d 2307: count=1 > dwt\graphics\TextLayout.d 2336: start=2 end=4 > dwt\graphics\TextLayout.d 2307: count=2 > dwt\graphics\TextLayout.d 2336: start=3 end=4 > dwt\graphics\TextLayout.d 2307: count=3 > dwt\graphics\TextLayout.d 2336: start=4 end=4 > dwt\graphics\TextLayout.d 2342: count=4 > dwt\graphics\TextLayout.d 2757: text=' ' > dwt\graphics\TextLayout.d 2266: segmentsText=' ' chars=' ' > dwt\graphics\TextLayout.d 2271: pcItems=1 chars.length=4 > segmentsText.length=4 > dwt\graphics\TextLayout.d 2275: utf8idx=0 utf16idx=0 si.iCharPos=0 > dwt\graphics\TextLayout.d 2275: utf8idx=1 utf16idx=1 si.iCharPos=4 > dwt\graphics\TextLayout.d 2275: utf8idx=2 utf16idx=2 si.iCharPos=4 > dwt\graphics\TextLayout.d 2275: utf8idx=3 utf16idx=3 si.iCharPos=4 > dwt\graphics\TextLayout.d 2298: itemCount=1 stylesCount=2 > dwt\graphics\TextLayout.d 2302: start=0 end=4 > dwt\graphics\TextLayout.d 2307: count=0 > dwt\graphics\TextLayout.d 2336: start=4 end=4 > dwt\graphics\TextLayout.d 2342: count=1 > dwt\graphics\TextLayout.d 2266: segmentsText='' chars='' > dwt\graphics\TextLayout.d 2271: pcItems=0 chars.length=0 > segmentsText.length=0 > dwt\graphics\TextLayout.d 2298: itemCount=0 stylesCount=2 > dwt\graphics\TextLayout.d 2302: start=0 end=0 > dwt\graphics\TextLayout.d 2342: count=0 > Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at > dwt.custom.Styled > Text.StyledText.installListeners.__anonclass68.handleEvent.dwt.widgets.Event.Eve > nt (0x0042ea59) thread(2476) I recommend to use DMD 1.031. (I encounter anonclass problem with dmd 1.028) -- yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/ |
July 15, 2008 Re: latest dwt samples with dmd snapshot 0.6.2: link errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | yidabu schrieb:
> I recommend to use DMD 1.031. (I encounter anonclass problem with dmd 1.028)
>
Yes, the problem in 29/30 where cause by trying to fix a reported problem.
DMD 1.031 is better, but still there are problems with anon classes. But i lack a simple testcase to report.
|
July 15, 2008 Re: latest dwt samples with dmd snapshot 0.6.2: link errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Digited Attachments:
| Digited wrote: > Frank Benoit пишет: >> Digited schrieb: >>> I get "Object.Exception: access violation" at launch of text editor sample, custom control sample and while pressing any boxes/checkers in control sample... >> >> Do you use a compiler known to work? http://www.dsource.org/projects/dwt/wiki/Requirements > > Yes, 1.031 from dmd snapshot 0.6.2 - my projects compile and run successfully. That snapshot uses DMD 1.030, since 1.031 was not stable and had several bugs. Did you upgrade the snapshot to a newer compiler? > I also have a problem that dsss build "fall asleep" during build process, every time at different sample. Maybe it's Vista's DEP, I'll check it now. Happens to me too. I just kill it and try again, then it works. I haven't found the root cause, so I haven't tried reporting the bug. |
July 15, 2008 Re: latest dwt samples with dmd snapshot 0.6.2: link errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Digited Attachments:
| Digited wrote:
> I try to build latest dwt samples from source with installed dmd
> snapshot 0.6.2 and DMC (for optlink): compiling is ok, but linking
> fails: symbol undefined: _IsHungAppWindow and _GetSystemDefaultUILanguage.
>
> What to do?
Chances are that it's linking against a duplicate library from DMC, which is older than the library that DWT needs to link against. Take the contents from dwt\lib from the DWT trunk directory from Hg and overwrite everything in DMC's lib\ directory. It's a quick and dirty fix, but it works.
I see you found a work around by passing the libdir to DSSS directly. I suppose that works too, though I get a little antsy when different library sets are fighting for control of the linker.
|
July 15, 2008 Re: latest dwt samples with dmd snapshot 0.6.2: link errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris R. Miller | Chris R. Miller пишет:
> Digited wrote:
>> Frank Benoit пишет:
>>> Digited schrieb:
>>>> I get "Object.Exception: access violation" at launch of text editor sample, custom control sample and while pressing any boxes/checkers in control sample...
>>>
>>> Do you use a compiler known to work?
>>> http://www.dsource.org/projects/dwt/wiki/Requirements
>>
>> Yes, 1.031 from dmd snapshot 0.6.2 - my projects compile and run successfully.
>
> That snapshot uses DMD 1.030, since 1.031 was not stable and had several bugs. Did you upgrade the snapshot to a newer compiler?
Hmmm... No. Just pure 0.6.2
|
Copyright © 1999-2021 by the D Language Foundation