Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Build related questions


Chronological Thread 
  • From: "James Bigler" < >
  • To:
  • Subject: [Manta] Re: Build related questions
  • Date: Wed, 24 Sep 2008 07:09:46 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XAxOnl5Vs9+noeKe4hnv13NC8Wf9A5eyOWe0QfQf/aMntLQanT7o8Lfvcrabd8GVqh Ffzd7lbZ7l/HJjMk8qoRk35swxVhBy9m5NMbnkurOXiamDE34FC2tHMyD67NO0ZLpaDL 09322JtsG3Aza0+70gZdtVuoJQXdKsdDhPEWw=

1. The Manta executable is found in StandAlone/CMakeLists.txt

2. A. I would start a Terminal
    B. start X and echo $DISPLAY
    C. set the DISPLAY environment variable from Terminal
    D. Start XCode from Terminal to make sure it has DISPLAY
environment variable
    This will hopefully tell manta where the xwindow server is.

James

On Wed, Sep 24, 2008 at 7:01 AM, Bo Huang 
< >
 wrote:
> 1)       I want CMake to generate Manta.vcproj as a Windows
> (/SUBSYSTEM:WINDOWS) rather than a Console (/SUBSYSTEM:CONSOLE) application.
> It looks like I need to edit:
>
>
>
> ADD_EXECUTABLE(exename WIN32 source1 source2 ... sourceN)
>
>
>
> But I cannot find this line in any of the .cmake files except those related
> to python/Swig, which I am not using.
>
>
>
>
>
> 2)       For the Mac, I run Manta in Xcode but get XOpenDisplay exception at
> XWindowUI.cc. I encountered this when running command line version of Manta
> in a Bash shell as opposed to X window. How can I tell Xcode to run the
> built executable in Xwindow?
>
>
>
> Thanks



Archive powered by MHonArc 2.6.16.

Top of page