Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: RE: Re: Mac build crashes


Chronological Thread 
  • From: Abe Stephens < >
  • To: " " < >
  • Cc: "< >" < >
  • Subject: [Manta] Re: RE: Re: Mac build crashes
  • Date: Thu, 11 Sep 2008 12:42:17 -0600

To build in visual studio, you'll need to build with the intel compiler, then use the python interface to run the renderer. (Enable the SWIG_INTERFACE option in cmake.)

To load a scene module from the command line use the -scene <path to library> option. This works with bin/manta as well as some of the python programs like bin/runwxmanta. Of course you can also setup the scene directly in python.

The GUI that was used for the 777 demo was based on the fox toolkit, since we are now heavily wxpython oriented, that code has been moved out of the main repository. There are instructions on the wiki for downloading and building it, but it's probably better to use the swig/ python frontend.

Abe

On Sep 11, 2008, at 11:46 AM, "Bo Huang" 
< >
 wrote:

Thanks that worked; I can see and manipulate the default scene.
According to the Wiki, if I want the same app running on Windows, I
would need to configure wxPython?



Could you tell me how to view other scenes? I see scenes such as
libscene_teapotRoom.dylib generated in the lib directory but I don't see
instructions on how to run them.

By the way, the GUI I see from
http://code.sci.utah.edu/Manta/index.php/Itanium2/_screen_shots
It is not part of the default manta source code right?

Thanks

-----Original Message-----
From: Thiago Ize 
[mailto:
Sent: Thursday, September 11, 2008 1:19 PM
To: 
;
 Bo Huang
Subject: [Manta] Re: Mac build crashes

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