Assertion `hdc' failed

Andreas Mohr aqi46g09cu001 at sneakemail.com
Sun Apr 8 03:49:37 CDT 2001


Phrostie <pfrostie at yahoo.com> wrote:
> i've compiled my own wine from source and have had the same problem twice.
> can anyone tellme what this means.

> how to fix it?

>  $ wine icad.exe
> Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
> Could not stat /cdrom (No such file or directory), ignoring drive D:
> For language 'en' several language ids were found:
> en_US - 0409; en_GB - 0809; en_AU - 0C09; en_CA - 1009; en_NZ - 1409; en_IE - 1809; en_ZA - 1C09; en_JM - 2009; en_ - 2409; en_BZ - 2809; en_TT - 2C09;
> Instead of using first in the list, suggest to define
> your LANG environment variable like this: LANG=en_US
> err:module:BUILTIN32_LoadLibraryExA loaded .so but dll display.dll still not found
> wine: sysmetrics.c:42: SYSMETRICS_Init: Assertion `hdc' failed.
> Aborted (core dumped)

    HDC hdc = CreateDCA( "DISPLAY", NULL, NULL, NULL );
    assert(hdc);

This means that CreateDCA() of the display context failed.
ISTR that this usually means that your x11drv or other Wine graphics driver
libraries are broken.

Check your config.

Hmpf, I must be blind.
It already *says* what didn't work:
> err:module:BUILTIN32_LoadLibraryExA loaded .so but dll display.dll still not found

Check either libdisplay.so or (the "real" file) libuser.so.
(ldd, library setup, ...)

Andreas Mohr



More information about the wine-users mailing list