Wine Cannot display application

Questions about Wine on Linux
Locked
kevwcy
Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Wine Cannot display application

Post by kevwcy »

Hi guys

I am using CentOS 6.4 and have just install Wine 1.7.1 follow by the steps from http://wiki.winehq.org/Wine64 (Building a shared WoW64 setup (most likely what you want)) and I would like to install .NET Framework 4.0

But when I execute WINEARCH=win32 winecfg, the error message appeared as:

"err:menubuilder:convert_to_native_icon error 0x88982F81 initalizing encoder"
and no window pop out, just only on the menu bar.

When I tried wine notepad or wine regedit, the window pops up but nothing inside. Just gray background.
Terminal shows
" err:menubuilder:convert_to_native_icon error 0x80004005 creating bitmap encoder
err:wincodec:PngEncoder_CreateInstance Trying to save PNG picture,but PNG support is not compiled in. "



I have no idea on what's happening, please help...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine Cannot display application

Post by dimesio »

kevwcy wrote: err:wincodec:PngEncoder_CreateInstance Trying to save PNG picture,but PNG support is not compiled in. "
The message is pretty straightforward: apparently you compiled Wine without PNG support. You were probably missing libpng, and chose to ignore the message from ./configure that PNG support would be disabled because of that.
kevwcy
Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Wine Cannot display application

Post by kevwcy »

dimesio wrote:
kevwcy wrote: err:wincodec:PngEncoder_CreateInstance Trying to save PNG picture,but PNG support is not compiled in. "
The message is pretty straightforward: apparently you compiled Wine without PNG support. You were probably missing libpng, and chose to ignore the message from ./configure that PNG support would be disabled because of that.

Oh I got and I just install LibPNG 1.6.5. When I do the .configure again it shows FreeType 32-bit development files not found. Does it matter if I add --without-freetype?
ahso
Level 4
Level 4
Posts: 182
Joined: Sat Feb 20, 2010 2:31 am

Re: Wine Cannot display application

Post by ahso »

freetype might be used for many apps...instead of missing deps I would go with the 1.6 ppa.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine Cannot display application

Post by dimesio »

kevwcy wrote: Oh I got and I just install LibPNG 1.6.5. When I do the .configure again it shows FreeType 32-bit development files not found. Does it matter if I add --without-freetype?
Yes, it matters.
kevwcy
Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Wine Cannot display application

Post by kevwcy »

The problem was solved. Please close it and thanks again.
Locked