[Radiance-general] X11 support on OSX 10.11?! (?!(?!))

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Thu Dec 8 14:31:57 PST 2016


Yep, thanks Greg! I just got back to this crap. I just rebuilt clean, now
that Qt AND x11 are on here, and it worked. Yes the def logic should be
re-written, and sorry that got jacked up like that, but that will affect
very few people so I¹m going to not worry about it for now.

Also I think I should have my head examined because I went through all
this because I actually *prefer* the x11 interface of rvu to the more
GUI-ish Qt one. Maybe that makes me some sort of hardcore Radiance dude.
More likely, just old. Dunno. =)

- Rob

On 12/8/16, 11:18 AM, "Greg Ward" <gregoryjward at gmail.com> wrote:

>Hi Rob,
>
>Looks like an issue with the way #define's are handled in devtable.c:
>
>#if !defined(HAS_X11) && !defined(HAS_QT) && !defined(WIN_RVIEW)
>/* weird logic ... */
>#define HAS_X11
>#endif
>
>If you compile with -DHAS_QT, then you need to add -DHAS_X11 if you want
>that driver to compile as well.  I'm not sure why it was set up this way,
>as I wasn't really involved with the changes supporting QT.
>
>Cheers,
>-Greg
>
>> From: "Guglielmetti, Robert" <Robert.Guglielmetti at nrel.gov>
>> Date: December 8, 2016 10:05:56 AM PST
>> 
>> It is. It's running, and is mapped to DISPLAY, as I mentioned below.
>>What I've noticed is that CMake's x11 variables are all empty, probably
>>because I initially configured/built Radiance before I'd installed X11
>>on this system here. So I'm ASSuming my rvu here was compiled without
>>x11 driver support. Stay tuned...
>> 
>> 
>> From: Stephen Wasilewski
>><stephen at coolshadow.com<mailto:stephen at coolshadow.com>>
>> Reply-To: Radiance discussion
>><radiance-general at radiance-online.org<mailto:radiance-general at radiance-on
>>line.org>>
>> Date: Thursday, December 8, 2016 at 10:56 AM
>> To: Radiance discussion
>><radiance-general at radiance-online.org<mailto:radiance-general at radiance-on
>>line.org>>
>> Subject: Re: [Radiance-general] X11 support on OSX 10.11?! (?!(?!))
>> 
>> This may be too simple to mention, but since I've done this to myself
>>before...
>> 
>> Is Xquartz running?
>> 
>> Stephen Wasilewski
>> LOISOS + UBBELOHDE
>> - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> 1917 Clement Avenue  Building 10A
>> Alameda, CA  94501 USA
>> - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> 510 521 3800 VOICE
>> 510 521 3820 FAX
>> - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> www.coolshadow.com<http://www.coolshadow.com/>
>> 
>> On Thu, Dec 8, 2016 at 9:45 AM, Guglielmetti, Robert
>><Robert.Guglielmetti at nrel.gov<mailto:Robert.Guglielmetti at nrel.gov>>
>>wrote:
>> Hey there, Radiance people. I'm setting up my work computer again,
>>having just re-imaged it to MacOSX 10.11 (yes, 10.12 is (has been)
>>around; don't ask). Built Radiance from source, all is well. Rvu works
>>fine with the Qt driver. Realized I hadn't installed x11 yet. Installed
>>x11 (xquartz), but my installation is now defaulting to the Qt driver
>>for rvu output. Problem is, even forcing it to use x11 is failing with
>>the dreaded "rvu: fatal - cannot start device "x11"" error. Look:
>> 
>> $ rvu frozen_octree.oct
>> (this works, loading the Qt-based rvu)
>> 
>> $ rvu -o qt frozen_octree.oct
>> (this works, as above)
>> 
>> But...
>> 
>> $ rvu -o x11 frozen_octree.oct
>> rvu: x11: not found
>> rvu: fatal - cannot start device "x11"
>> 
>> The x11 device is in fact running and mapped to $DISPLAY. Look:
>> 
>> echo $DISPLAY
>> /private/tmp/com.apple.launchd.2YPu12VOpL/org.macosforge.xquartz:0
>> 
>> So, WTF? Anyone?
>> 
>> - Rob
>
>_______________________________________________
>Radiance-general mailing list
>Radiance-general at radiance-online.org
>http://www.radiance-online.org/mailman/listinfo/radiance-general




More information about the Radiance-general mailing list