It's been a couple months since I worked through this issue, but if I remember correctly it is in VTK/Rendering/CMakeLists.txt:<br><br> IF(VTK_USE_X)<br> CHECK_FUNCTION_EXISTS(glXGetProcAddressARB VTK_USE_GLX_GET_PROC_ADDRESS_ARB)<br>
<br>So, if VTK_USE_X is true (on Linux it is forced true, perhaps this should be changed?) then it checks for glXGetProcAddressARB. So it doesn't even matter if X11_*_LIB cmake variables are set or not. CHECK_FUNCTION_EXISTS finds X11 and compiles it into the extension manager. If you clear cmake's references to XLibs, you'll get linker errors.<br>
<br>Pat<br><br><div class="gmail_quote">On Fri, Apr 4, 2008 at 1:49 PM, Kent Eschenberg <<a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Pat,<br>
<br>
Sorry I posted my previous note to the list; I didn't look at the email addresses carefully.<br>
<br>
So on my Linux cluster build, if I delete all references to X11 files in cmake, would cmake still proceed? Would that help?<br><font color="#888888">
<br>
Kent</font><div><div></div><div class="Wj3C7c"><br>
<br>
pat marion wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Didn't want to imply that compiling on XT3 requires hacked cmake files. The XT3 build works from CVS head without modifications.<br>
<br>
My issue was when X11 libs were found by cmake, but I wanted to compile without them. This wasn't a problem on XT3 because X11 isn't found at all.<br>
</blockquote>
</div></div></blockquote></div><br>