gdi32.dll error

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
xuinkrbin.
Newbie
Newbie
Posts: 3
Joined: Wed Jan 14, 2009 8:44 am

gdi32.dll error appears resolved in 1.1.12

Post by xuinkrbin. »

I downloaded and compiled the wine source (1.1.12) on My 10.5.6 last night/this morning and it seems to work without the gdi32.dll error; something to consider?
James Mckenzie

gdi32.dll error

Post by James Mckenzie »

"xuinkrbin." <[email protected]> wrote:
Sent: Jan 14, 2009 9:21 AM
To: [email protected]
Subject: [Wine] Re: gdi32.dll error

I downloaded and compiled the wine source (1.1.12) on My 10.5.6 last night/this morning and it seems to work without the gdi32.dll error; something to consider?
Interesting as there are supposed to be problems with this release.

How did you meet the required packages requirement? Fink or MacPorts?

Can you place your package somewhere where it can be downloaded so that I can pick it up and install it on a system that does not have either Fink or MacPorts installed on it?

Thank you.

James McKenzie
xuinkrbin.
Newbie
Newbie
Posts: 3
Joined: Wed Jan 14, 2009 8:44 am

Re: gdi32.dll error

Post by xuinkrbin. »

James Mckenzie wrote:"xuinkrbin." <[email protected]> wrote:
Sent: Jan 14, 2009 9:21 AM
To: [email protected]
Subject: [Wine] Re: gdi32.dll error

I downloaded and compiled the wine source (1.1.12) on My 10.5.6 last night/this morning and it seems to work without the gdi32.dll error; something to consider?
Interesting as there are supposed to be problems with this release.

How did you meet the required packages requirement? Fink or MacPorts?

Can you place your package somewhere where it can be downloaded so that I can pick it up and install it on a system that does not have either Fink or MacPorts installed on it?

Thank you.

James McKenzie
I already had everything but the freetype2 libs, which I downloaded and compiled from SourceForge. (By 'already had' I mean, yes, I have installed Fink, but don't recall ever having used it for anything.) I then ran wine's configure, make depends, make and sudo make install. I literally did nothing else.
James Mckenzie

gdi32.dll error

Post by James Mckenzie »

"xuinkrbin." <[email protected]> wrote:
I already had everything but the freetype2 libs, which I downloaded and compiled from SourceForge.
(By 'already had' I mean, yes, I have installed Fink, but don't recall ever having used it for
anything.) I then ran wine's configure, make depends, make and sudo make install. I literally did
nothing else.
Did you use the Darwine build script or did you run the build straight from git?

James McKenzie
xuinkrbin.
Newbie
Newbie
Posts: 3
Joined: Wed Jan 14, 2009 8:44 am

Re: gdi32.dll error

Post by xuinkrbin. »

I used the configure and makefile included with the download.
James Mckenzie

gdi32.dll error

Post by James Mckenzie »

"xuinkrbin." <[email protected]> wrote:
Sent: Jan 15, 2009 11:30 AM
To: [email protected]
Subject: [Wine] Re: gdi32.dll error

I used the configure and makefile included with the download.
I'll have to finish cleaning out my development Mac laptop (it was my day-to-day system, but I've inherited the new one I bought for my SO) so that I have more hard drive space. I'll then download the latest git and then go from there. Hopefully, this will work and then we can figure out why Zach Drayer's and Mike Kronenberg's builds have this error.

James McKenzie
James McKenzie

gdi32.dll error

Post by James McKenzie »

xuinkrbin. wrote:
I used the configure and makefile included with the download.
I'd hate to sound stupid, but I've worked with Darwine and it modifies
several files before running the install as well as running the
configure/make and make install commands.

Did you do the following:

./configure
make
make install

without any modifications?

Thank you.

James McKenzie
James McKenzie

gdi32.dll error

Post by James McKenzie »

James McKenzie wrote:
xuinkrbin. wrote:
I used the configure and makefile included with the download.
I'd hate to sound stupid, but I've worked with Darwine and it modifies
several files before running the install as well as running the
configure/make and make install commands.

Did you do the following:

./configure
Got as far as this and then I ran into several problems.

I did a self-update on Fink and then upgraded several Fink packages.

I also followed the advise of another here and am running the configure
program pointing to the /sw/include and /sw/lib directories for
additional packages.

Work continues on this as I attempt to resolve the last few undiscovered
packages.

James McKenzie
James McKenzie

gdi32.dll error

Post by James McKenzie »

James McKenzie wrote:
James McKenzie wrote:
xuinkrbin. wrote:
I used the configure and makefile included with the download.

I'd hate to sound stupid, but I've worked with Darwine and it modifies
several files before running the install as well as running the
configure/make and make install commands.

Did you do the following:

./configure

Got as far as this and then I ran into several problems.

I did a self-update on Fink and then upgraded several Fink packages.

I also followed the advise of another here and am running the configure
program pointing to the /sw/include and /sw/lib directories for
additional packages.

Work continues on this as I attempt to resolve the last few undiscovered
packages.

Last update on this issue:

I looked at using Fink's Wine build but it is the dreaded 1.1.12
version. However, Fink includes an informational file on what it uses
to build Wine. In the file was a sentence about setting the
LD_LIBRARY_PATH environment variable to pick up Fink's library files,
which by default are in /sw/lib. So, I opened another terminal session,
set the variable, switched directories to where my fresh build was and
ran the program. No ERRORS! Then I decided to switch to Mike
Kronenberg's 1.1.9 build and run the same test, NO ERRORS! Lastly, I
switched to Zach Drayer's 1.1.11 build, which he graciously gave me
access to, NO ERRORS there either.

So the solution is to add a LD_LIBRARY_PATH variable which points to
your library files, be they from Fink or MacPorts. It is also a good
idea to add in the files supplied by the MacIntosh operating system at
/usr/lib and /usr/X11/lib as well. This gives you partial OpenGL (X11)
support.

Good luck and I'm back to working on installing the program that brought
me to Wine in the first place.

James McKenzie
slrman
Level 2
Level 2
Posts: 10
Joined: Thu Jan 29, 2009 7:37 am

Post by slrman »

Has there really been any success with this problem using Darwine? I have tried every version I can, 1.1.5, 1.1.7. and x86-1.1.9 with nothing positive to report. I guess I have been away from this stuff far too long to get into creating builds or messing with source code. I am sure I would only make things worse. Heh Heh

I think I should wait for my betters to get the real solution and them follow along.
James Mckenzie

gdi32.dll error

Post by James Mckenzie »

slrman <[email protected]>
Sent: Feb 2, 2009 12:59 PM
To: [email protected]
Subject: [Wine] Re: gdi32.dll error

Has there really been any success with this problem using Darwine? I have tried every version I can, 1.1.5, 1.1.7. and x86-1.1.9 with nothing positive to report. I guess I have been away from this stuff far too long to get into creating builds or messing with source code. I am sure I would only make things worse. Heh Heh

I think I should wait for my betters to get the real solution and them follow along.
I have several things that I would like for you to attempt but I need to know if you have installed either the Fink or MacPorts UNIX to Mac packages. These allow building UNIX programs so that they will function on your Mac.

Thank you.

James McKenzie
slrman
Level 2
Level 2
Posts: 10
Joined: Thu Jan 29, 2009 7:37 am

Post by slrman »

Sure, I would be happy to try anything you think might help.

I not only do not have the Fink or MacPorts programs, I don't even know what they are or where to get them. As you might guess, I'll probably need pretty explicit instructions on all this. The jargon and acronyms I am familiar with went out around 2001, and even then, I was mostly working on people's PCs.

I haven't had any Mac at all since 2002. They are becoming more common here in Brazil, but not common enough.

I'll really appreciate any help you can give.

Cuprimentos, (as we say here)

Jim Smith
Aki
Newbie
Newbie
Posts: 1
Joined: Thu Feb 12, 2009 4:15 pm

Re: gdi32.dll error

Post by Aki »

James McKenzie wrote:zigarot wrote:
i was having this problem, but after some messing around, it now works... i don't know if this will work for anyone else...

1. completely removed wine (including hidden folder in user directory)

2. installed xquartz X112.3.2.1
(http://xquartz.macosforge.org/trac/wiki/X112.3.2.1)

3. installed wine 1.0.1
(http://www.kronenberg.org/darwine/)

4. installed wine

and it now works, running 10.5.6 osx[/code]
I had the same problem, and I did these steps, and now it works.

However, I encountered a bizarre problem. One of the .exe applications I wanted to get working on my MacBook is a game called ElastoMania, and when I try to run the program, it says: "ELMA.RES not found", even though the file "Elma.res" is right there beside Elma.exe, the main file.

What might be the problem here? I know it is definitely not one of the more important issues here, since it's only a game, but I'd sure appreciate it, if someone had an idea that might help me...

Thanks, Regards, Mr. Aki Myyrä, Finland
slrman
Level 2
Level 2
Posts: 10
Joined: Thu Jan 29, 2009 7:37 am

Post by slrman »

If this works, I want to try it, too. But how do you remove the hidden folder in the User directory. In fact, I don't see the user directory, either. OK, so I am a noob. We all start out like that. :oops:
chosenken
Newbie
Newbie
Posts: 1
Joined: Thu Feb 12, 2009 6:34 pm

Post by chosenken »

slrman wrote:If this works, I want to try it, too. But how do you remove the hidden folder in the User directory. In fact, I don't see the user directory, either. OK, so I am a noob. We all start out like that. :oops:
Hehe, its ok. We all start as noobs. I assume when you say the hidden drive you mean your .wine drive. The simplest way to remove it is to open up a terminal, which starts you in your user directory. BTW, the user director on a Mac is /User/<username> where <username> is your user name. The terminal application is under Application/Utilities.

If you wish, you can move your .wine folder to another name to save it. This is only if there is something in there you want to keep. To move it, the command is:

Code: Select all

mv .wine/ .wine_backup/
To remove the directory completly, use:

Code: Select all

rm -rf ./wine
The -rf mean recursively and force, so you don't get any questions about deleting files, and it gets all folders.

Then run winecfg once more and it will create a new wine folder and you are ready to go!

I should look at what I have install, I have both Mac Ports and Fink. I mainly use Mac Ports now though. Really should do a clean install... I build wine nightly on my machine using the git stream, .config, and make. I don't use any other package or files for building it. I also use the latest XQuartz (is that right?). I have been able to get quite a few apps running, even got Steam installed and running! Haven't tried it in a while though, had issues with right clicking causing it to crash out. Hope I helped!
slrman
Level 2
Level 2
Posts: 10
Joined: Thu Jan 29, 2009 7:37 am

Post by slrman »

OK, I did all of that and it seemed to go OK. But when I tried to run my IL2fb.exe application it failed with this message in the wine log:

wine client error:14: version mismatch 342/339.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

Perhaps something did not delete correctly? Of maybe something in the OSX is still hostile to wine? I can't believe someone as cool as apple would object to a little wine! :shock:
leslieknowles
Newbie
Newbie
Posts: 2
Joined: Sat Feb 28, 2009 12:45 pm

Re: gdi32.dll error

Post by leslieknowles »

I have the same problem, but cannot seem to overcome it.

Running OSx 10.5.6 on Aluminum Intel MacBook

Followed each of the three steps mentioned in James' post.

Still getting gdi32.dll errors on everything. All I want to do is be able to use my Windows Quicken and our Scout Troop's Software Troopmaster. I am VERY NEW to any of this (pretty much an end user only) and would love someone to walk me through this.

Thanks,
Leslie Knowles
Aki wrote:
James McKenzie wrote:zigarot wrote:
i was having this problem, but after some messing around, it now works... i don't know if this will work for anyone else...

1. completely removed wine (including hidden folder in user directory)

2. installed xquartz X112.3.2.1
(http://xquartz.macosforge.org/trac/wiki/X112.3.2.1)

3. installed wine 1.0.1
(http://www.kronenberg.org/darwine/)

4. installed wine

and it now works, running 10.5.6 osx[/code]
I had the same problem, and I did these steps, and now it works.

However, I encountered a bizarre problem. One of the .exe applications I wanted to get working on my MacBook is a game called ElastoMania, and when I try to run the program, it says: "ELMA.RES not found", even though the file "Elma.res" is right there beside Elma.exe, the main file.

What might be the problem here? I know it is definitely not one of the more important issues here, since it's only a game, but I'd sure appreciate it, if someone had an idea that might help me...

Thanks, Regards, Mr. Aki Myyrä, Finland
Locked