Difference between revisions of "Solutions for technical problems with lab machines"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
 
(Problem with fonts in Emacs)
Line 13: Line 13:
 
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
 
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
 
</pre>
 
</pre>
 +
 +
===Install Coin3D with Simage===
 +
 +
Simage:
 +
 +
* Download simage 1.6.1
 +
* 'configure'
 +
* 'vi libtool'
 +
* comment out the line starting with "predep_objects" to avoid multiple definition errors
 +
* 'make'
 +
* 'make install'
 +
 +
Coin3D:
 +
 +
* Download Coin3D 2.5.0
 +
* 'configure --disable-dl-simage'
 +
* make sure simage is listed to be statically linked, not at run-time
 +
* 'vi Makefile'
 +
* in line starting with 'CC' add '-fPIC'
 +
* to avoid linker problem with libGL.so:
 +
** 'su'
 +
** mv /usr/lib/libGL.so /usr/lib/libGL.so.bak
 +
** ln -s /usr/lib64/libGL.so /usr/lib/libGL.so
 +
** exit
 +
* 'make'
 +
* copy libraries to extern_libs/lib64

Revision as of 10:53, 28 February 2008

Problem with fonts in Emacs

xset +fp /usr/X11R6/lib/X11/fonts/100dpi 
xset +fp /usr/X11R6/lib/X11/fonts/75dpi 
xset fp rehash

Permanent solution: add the following lines to /etc/X11/xorg.conf as root (under the "Files" section):

FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"

Install Coin3D with Simage

Simage:

  • Download simage 1.6.1
  • 'configure'
  • 'vi libtool'
  • comment out the line starting with "predep_objects" to avoid multiple definition errors
  • 'make'
  • 'make install'

Coin3D:

  • Download Coin3D 2.5.0
  • 'configure --disable-dl-simage'
  • make sure simage is listed to be statically linked, not at run-time
  • 'vi Makefile'
  • in line starting with 'CC' add '-fPIC'
  • to avoid linker problem with libGL.so:
    • 'su'
    • mv /usr/lib/libGL.so /usr/lib/libGL.so.bak
    • ln -s /usr/lib64/libGL.so /usr/lib/libGL.so
    • exit
  • 'make'
  • copy libraries to extern_libs/lib64