Application tried to create a window...(998). Fresh wine

Questions about Wine on macOS.
Locked
arnonymous
Newbie
Newbie
Posts: 3
Joined: Mon Nov 12, 2012 9:03 pm

Application tried to create a window...(998). Fresh wine

Post by arnonymous »

So i have a rather fresh OS x SL 1.6.8 install on macbook air.
And my goal is to run OriginPro through Wine.
I installed xcode, xquarts 2.7.4.
I used osxwinebuilder, had no problems, it was showing as if all was fine.
I did the two Export commands in terminal.
Which wine gives

Code: Select all

/Users/arnonlesage/wine/wine-1.5.16/bin/wine
but when i try wine winecfg or wine notepad i get errors.
always the first error is

Code: Select all

Application tried to create a window, but no driver could be loaded.
Unknown error (998)
I really don't want to rebuild it again, because it takes ages, and i honestly don't think it will help.
How should i proceed, is it for certain that it is picking up the updated xquartz? because the standard X11 is also still on the system, and i thought xquartz was supposed to replace it.
Help would be really appreciated, but i am no Terminal talent.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Application tried to create a window...(998). Fresh wine

Post by doh123 »

Did you reboot after installing XQuartz?
Sounds just like XQuartz is not auto launching. Try launching XQuartz manually, and also try running Wine from an xterm in XQuartz. If its just an XQuartz launching problem, at least you know it's not a Wine issue.
arnonymous
Newbie
Newbie
Posts: 3
Joined: Mon Nov 12, 2012 9:03 pm

Re: Application tried to create a window...(998). Fresh wine

Post by arnonymous »

Yes, rebooted after installing XQuartz.

Code: Select all

bash-3.2$ which wine
/Users/arnonlesage/wine/wine-1.5.16/bin/wine
bash-3.2$ wine winecfg
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
bash-3.2$ wine notepad
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
bash-3.2$ 
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Application tried to create a window...(998). Fresh wine

Post by doh123 »

arnonymous wrote:Yes, rebooted after installing XQuartz.

Code: Select all

bash-3.2$ which wine
/Users/arnonlesage/wine/wine-1.5.16/bin/wine
bash-3.2$ wine winecfg
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
bash-3.2$ wine notepad
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
bash-3.2$ 
Try the other things I mentioned?

Just saying it sounds like an XQuartz issue, not a Wine issue
arnonymous
Newbie
Newbie
Posts: 3
Joined: Mon Nov 12, 2012 9:03 pm

Re: Application tried to create a window...(998). Fresh wine

Post by arnonymous »

Oh sorry, i forgot to mention that but the above code is in Xquartz xterm.
and whenever i type "wine something" xquartz does start...
But from other posts on the internet concerning the same issues, it seems to usually come down to problems with xquartz.
so i tried reinstalling xquartz again, and again, and saw no difference.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Application tried to create a window...(998). Fresh wine

Post by doh123 »

arnonymous wrote:Oh sorry, i forgot to mention that but the above code is in Xquartz xterm.
and whenever i type "wine something" xquartz does start...
But from other posts on the internet concerning the same issues, it seems to usually come down to problems with xquartz.
so i tried reinstalling xquartz again, and again, and saw no difference.
I'll change my mind then. It's probably a Wine issue. I've never tried the build script you did, but its possible something didn't build right with it. Were there any messages when it did Configure about things that were missing and wouldn't be supported?

I always find it easiest to just use Macports to install Wine.
Locked