Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Mac build crashes


Chronological Thread 
  • From: Thiago Ize < >
  • To: ,
  • Subject: [Manta] Re: Mac build crashes
  • Date: Thu, 11 Sep 2008 11:19:21 -0600

Are you running this through an xterm or through the apple terminal? On Tiger you need to run manta through an x11 terminal (xterm).

Thiago

Bo Huang wrote:

I was able to build for the Mac. However, running the executable bin/manta crashes at XWindowUI.cc, line 159. It seems XOpenDisplay(NULL) returns NULL, crashing the app.


I checked and it seems XOpenDisplay() outputs the value mapped to env var DISPLAY if the function argument is NULL. If that var is NULL, exception is thrown.


DISPLAY does not exist on my system. Echo $DISPLAY returns blank. Thus I set it in my ./bash_profile


DISPLAY=local_host:0


Also tried

DISPLAY=personaldesigner:0

(personaldesigner is the name on the prompt in a bash shell)


I type echo $DISPLAY, and the expected value is displayed.


Both still crash at the same line.


Am I missing some system set up?


Thanks






Archive powered by MHonArc 2.6.16.

Top of page