From: Albert (mailmd2011_at_gmail.com)
Date: Sat Jan 19 2013 - 11:52:07 CST

hello:

  I am trying to compile VMD but it failed with messages:

Compiling LibTachyonDisplayDevice.C --> LibTachyonDisplayDevice.o ...
LibTachyonDisplayDevice.C:36:2: error: #error "LibTachyonDisplayDevice
requires Tachyon version 0.99.0 or higher."
LibTachyonDisplayDevice.C: In member function ‘virtual void
LibTachyonDisplayDevice::tristrip(int, const float*, int, const int*,
const int*)’:
LibTachyonDisplayDevice.C:437: error: invalid conversion from ‘const
int*’ to ‘int*’
LibTachyonDisplayDevice.C:437: error: initializing argument 6 of ‘void
rt_tristripscnv3fv(void*, void*, int, const float*, int, int*, int*)’
LibTachyonDisplayDevice.C:437: error: invalid conversion from ‘const
int*’ to ‘int*’
LibTachyonDisplayDevice.C:437: error: initializing argument 7 of ‘void
rt_tristripscnv3fv(void*, void*, int, const float*, int, int*, int*)’
LibTachyonDisplayDevice.C: In member function ‘virtual void
LibTachyonDisplayDevice::define_volume_texture(int, int, int, int, const
float*, const float*, const float*, unsigned char*)’:
LibTachyonDisplayDevice.C:624: error: ‘rt_define_teximage_rgb24’ was not
declared in this scope
LibTachyonDisplayDevice.C: In member function ‘void
LibTachyonDisplayDevice::write_materials()’:
LibTachyonDisplayDevice.C:798: error:
‘RT_BACKGROUND_TEXTURE_SKY_ORTHO_PLANE’ was not declared in this scope
LibTachyonDisplayDevice.C:809: error: ‘rt_background_gradient’ was not
declared in this scope
LibTachyonDisplayDevice.C: In member function ‘void*
LibTachyonDisplayDevice::tex_colormaterial(float*, int)’:
LibTachyonDisplayDevice.C:944: error: ‘RT_TRANS_RASTER3D’ was not
declared in this scope
LibTachyonDisplayDevice.C:944: error: ‘rt_tex_transmode’ was not
declared in this scope
make: *** [LibTachyonDisplayDevice.o] Error 1

I've compiled tachyon and put it at $vmd/lib/tachyon which contains:

libtachyon (folder) libtachyon.a tachyon

and I made changes for the file: $vmd/configure as:

################ LIBTACHYON
# OPTIONAL COMPONENT: Built-in Tachyon ray tracing support
# This may be commented out if not required.
$libtachyon_defines = "-DVMDLIBTACHYON";
$libtachyon_dir = "$vmd_library_dir/tachyon";
$libtachyon_include = "-I$libtachyon_dir/include";
$libtachyon_library = "-L$libtachyon_dir/libtachyon";
$libtachyon_libs = "-ltachyon";
@libtachyon_cc = ();
@libtachyon_cu = ();
@libtachyon_ccpp = ('LibTachyonDisplayDevice.C'
                       );
@libtachyon_h = ('LibTachyonDisplayDevice.h',
                       );

but the problem is still there....

thank you very much
best
Albert