<meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; "><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; ">Hi Dominic,</span></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">   I can confirm that I have similar behavior in Ubuntu 11.01 for 64-bit machines. Additionally for me if I turn off USE_TCL I can get a clean build, however running any of the compiled C++ programs produces no output or errors. Running vtkpython on a script also produces no output. The OSMESA stuff looks to be found Ok however OPENGL_xmesa_INCLUDE_DIR is not found.</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">One 64 bit machine was upgraded, th other two machines were fresh installs. They all have different NVidia cards.</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I have done clean builds using the most recent git repository (2011-05-22).</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I have:</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><meta http-equiv="content-type" content="text/html; charset=utf-8">libosmesa6-dev ver </span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; color: rgb(0, 0, 0); "><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">mesa-common-dev</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">libgl1-mesa-dev</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">libglu1-mesa-dev</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">xlibmesa-gl-dev</span></font></span></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; color: rgb(0, 0, 0); "><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br>
</span></font></span></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; color: rgb(0, 0, 0); "><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">All version 7.10.2. and </span></font></span></span></font><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; ">all installed.</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(34, 34, 34); font-family: arial, sans-serif; "><br></span></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Interestingly I can download a binary version of ParaView and this runs Ok. So this is a VTK/Ubuntu 11.4 issue.</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-family: arial; border-collapse: separate; color: rgb(0, 0, 0); "><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br>
</span></font></span></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">Regards</span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">   Andrew</span></font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">---------- Forwarded message ----------</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">From: Dominik Szczerba &lt;<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">To: David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;, VTK users group &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Date: Sat, 21 May 2011 19:12:03 +0200</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Subject: Re: [vtkusers] undefined reference to `vtkOSOpenGLRenderWindow::New()</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Hi David,</span></font><br><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Many thanks for your input.</span></font><br>
<br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I confirm that having all the packages that you mentioned I never</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">manage to pray VTK_OPENGL_HAS_OSMESA off. Subsequently, I get the</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">originally reported compilation error.</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">The only way I found to resolve this problem is to additionally</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">install libosmesa6-dev and allow VTK_OPENGL_HAS_OSMESA ON. Compiles</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">correctly and seems to link to nvidia drivers. Works, but quite</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">unexpectedly, and I do feel unrest for the future,</span></font><br>
<br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Interestingly, on my other Ubuntu 11.04/64 installation this is not</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">necessary. /usr/lib/libGL.so points to the same (mesa) lib. It has the</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">same version of nvidia driver. The only difference the other machine</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">is an upgrade from Ubuntu 10.10, the problematic one is a fresh</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">installation. Another difference is that the former machine as an</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">older nvidia graphics card (~2 years) known to be supported under</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">linux, the problematic one is  much newer (nVidia Corporation G94</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">[Quadro FX 1800]).</span></font><br><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">So in an essence, you may want to debug why/if libosmesa6 is needed. I</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">am glad to test any patches.</span></font><br><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Regards,</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Dominik</span></font><br><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">On Sat, May 21, 2011 at 2:49 PM, David Gobbi &lt;</span></font><a href="mailto:david.gobbi@gmail.com" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; color: rgb(53, 66, 88); ">david.gobbi@gmail.com</a><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; wrote:</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; Hi Dominik,</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; The directory /usr/lib/nvidia-current is added to run-time library</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; path by the following file:</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; /etc/ld.so.conf.d/GL.conf</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; This file is part of the nvidia driver installation on 10.04.  So</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; ubuntu uses /usr/lib/libGL.so (which points to mesa) at compile</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; time, but uses /lusr/lib/nvidia-current/</span></font><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">libGL.so.1 at run-time.</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; It worried me a bit at first, but this setup seems to work fine.</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; It has never caused me problems when compiling VTK.</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; So my guess is that you are seeing problems because you are</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; missing an OpenGL devel packages.  Make sure that you have</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; the following installed:</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; mesa-common-dev</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; libgl1-mesa-dev</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; libglu1-mesa-dev</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; xlibmesa-gl-dev</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; Don&#39;t worry that these aren&#39;t &quot;nvidia&quot;.  The nvidia libs are only</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; used at run-time, not at compile-time.</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; Also, just as you have been doing so far, make sure that</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; VTK_OPENGL_HAS_OSMESA is OFF.</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;  - David</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; On Sat, May 21, 2011 at 6:22 AM, Dominik Szczerba &lt;</span></font><a href="mailto:dominik@itis.ethz.ch" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; color: rgb(53, 66, 88); ">dominik@itis.ethz.ch</a><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; wrote:</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; Thanks for your email.</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; Indeed, initially, I was pointing to the 32 bit nvidia, but pointing</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; to 64 does not work either.</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; It keeps saying it switches to OSMESA because no OPENGL_gl_LIBRARY was</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; found. /usr/lib/libGL.so is there, but points to mesa/libGL.so, not</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; nvidia. Changing symlink by hand changes nothing.</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; Just trying things out blind I have installed libosmesa6 (it was not</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; installed) and then proceeded with the compilation as if using</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; software rendering. Compilation was successful, but then:</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; $ ldd libvtkRendering.so | grep GL</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;        libGL.so.1 =&gt; /usr/lib/nvidia-current/libGL.</span></font><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">so.1 (0x00007f7986653000)</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; comes quite unexpectedly! Great, but there is certainly something wrong.</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; My preliminary theory is that cmake fails to detect the otherwise</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; correct vendor libGL library properly. Does it sound reasonable or you</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; have another idea? I feel quite a bit of unrest because of it.</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; Thanks</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; Dominik</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt; On Fri, May 20, 2011 at 2:07 PM, Kevin H. Hobbs &lt;</span></font><a href="mailto:hobbsk@ohio.edu" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; color: rgb(53, 66, 88); ">hobbsk@ohio.edu</a><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt; wrote:</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt; On 05/20/2011 07:41 AM, Dominik Szczerba wrote:</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;&gt; I further looked into the problem and I see that cmake is stubborn on</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;&gt; this variable: VTK_OPENGL_HAS_OSMESA. It always switches it back on,</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;&gt; even if I set it to off. I do have my nvidia driver under</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;&gt; /usr/lib32/nvidia-current/</span></font><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">libGL.so which I pass as OPENGL_gl_LIBRARY.</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;&gt; But it still seems unable to find it. Any ideas?</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;&gt;</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt; Gaaa not enough nervous in caffeine system. I basically ignored</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt; the second half of your e-mail.</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt; &quot;/usr/lib32&quot;  you said you were on 64 bit Ubuntu the linker may</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt; not be able to use this as the rest of the app. will be 64 bit</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt; unless you&#39;re cross compiling.  Does &quot;-m 32&quot; in CMAKE_CXX_FLAGS</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;&gt;&gt; and CMAKE_C_FLAGS do this?</span></font><br><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br>
<font class="Apple-style-span" color="#222222" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">&gt;</span></font><br><br><br>-- <br>___________________________________________<br>
Andrew J. P. Maclean<br>Australian Centre for Field Robotics (ACFR)<br>The Rose Street Building J04<br>The University of Sydney  2006  NSW<br>AUSTRALIA<br>Ph: +61 2 9351 3283<br>Fax: +61 2 9351 7474<br>URL: <a href="http://www.acfr.usyd.edu.au/" target="_blank">http://www.acfr.usyd.edu.au/</a><br>
___________________________________________<br>