Hi,<div><br></div><div>I am trying to install VTK on ubuntu and I am facing a problem.</div><div><br></div><div>So far, I installed cmake and mesa using the following commands:<br></div><div><div>sudo apt-get install mesa-common-dev<br>
</div><div>sudo apt-get install libgl1-mesa-glx</div><div>sudo apt-get install libgl1-mesa-dri</div><div>sudo apt-get install libosmesa6</div><div>sudo apt-get install freeglut3</div><div>sudo apt-get install cmake-curses-gui</div>
</div><div><br></div><div>I untarred the VTK5.10.1 and then ran a ccmake VTK5.10.1 and gave the locations as follows:</div><div><div> OPENGL_INCLUDE_DIR               /usr/include                                                                                               </div>
<div> OPENGL_gl_LIBRARY                /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2                                                                  </div><div> OPENGL_glu_LIBRARY               /usr/lib/i386-linux-gnu/libglut.so.3.9.0                                                                   </div>
<div> OPENGL_xmesa_INCLUDE_DIR         /usr/lib/i386-linux-gnu/libOSMesa.so.6.5.3                                                                 </div></div><div><br></div><div>I was able to configure, generate and exit without any errors.</div>
<div><br></div><div>Now, if I try to do a $sudo make install, I am getting a whole bunch of C++ errors.</div><div>Can you please tell me what I am doing wrong? I have g++ installed, is there anything else I need to install?</div>
<div><br></div><div>Thanks,</div><div>Shripad D</div><div><br></div><div><br></div>