MegaGlest Forum

Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: Heinzi on 16 July 2008, 23:41:49

Title: Compile Source Code for Mac OS X
Post by: Heinzi 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
Title:
Post by: KaSek on 21 July 2008, 09:17:39
You should check the Xcode project. You can see appropriate files and defs from the project file.