VOGONS


First post, by Snejs

User metadata
Rank Newbie
Rank
Newbie

Source: Cvs from 20/9
Computer: Mac Powerbook (PPC)

Normal build is fine, but when I enable opengl in config.h I get lots of undefined symbols (glBegin, glEnd and so on).

Now that seems like a signal that I don't have opengl installed on the machine, but the thing is that last time I compiled dosbox (in june somewhere) I hade opengl enabled and it compiled and worked just fine.

I guess it's an include of some sort, but since I'm not a library-compiler-settings god (and not finding the answer straight away in google) I hope somebody have experienced this and can give me a solution?

Reply 2 of 7, by Snejs

User metadata
Rank Newbie
Rank
Newbie

Hummm, as I recall I did.

I know I most definitely did when I started doing this in december last year. There was the problem with access to sourceforge (spring?) I remember, but that was solved after a time.

Reply 3 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I'm asking because it could be that you used the cvs snapshots from Qbix,
which have the ./configure already created. Don't know if those sources
would actually work on OSX, guess not.

Reply 5 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

yeah think the configure test doesn't work on mac os x.
This is known problem. (and it might be fixed oneday)
There has nothing been changed in the opengl part since 0.65 though.

Water flows down the stream
How to ask questions the smart way!

Reply 7 of 7, by Snejs

User metadata
Rank Newbie
Rank
Newbie

I actually got it to work *beams proudly*.

What i did was to:

export LDFLAGS="-framework OpenGL -L/System/Library/Frameworks/OpenGL.framework/Libraries -lGL"

before I run anything.

This resulted in ./configure to detect opengl when run.