Author Topic: Compile Source Code for Mac OS X  (Read 3542 times)

Heinzi

  • Guest
Compile Source Code for Mac OS X
« on: 16 July 2008, 23:41:49 »
Hello @all,

I know there is a special source code for Mac OS X, but we want to develope
an artificial player for a realtime game at university. I'd prefer Glest, but
we have to work on the same code base. I compiled the source code
in the terminal and everything looks fine, but after launching by terminal an
exception is thrown: "Couldn't create font: display is 0"
Display* display = glXGetCurrentDisplay();
It's because the function returns 0.
I allready tried to create a new Display, but without success.
What could be the reason for the missing return value.
Can someone give me an advice for solving this problem.

Regards,
Heinzi
« Last Edit: 1 January 1970, 00:00:00 by Heinzi »

KaSek

  • Guest
(No subject)
« Reply #1 on: 21 July 2008, 09:17:39 »
You should check the Xcode project. You can see appropriate files and defs from the project file.
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

 

anything