From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Jan 22 2013 - 11:11:39 CST

Hi,
  You need to use one of the newest versions of Tachyon in order to
compile VMD from source code with the Tachyon option enabled. You can
get recent versions of Tachyon here:
  http://www.photonlimited.net/~johns/tachyon/

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Sat, Jan 19, 2013 at 06:53:19PM +0100, Albert wrote:
> BTW, my compile options is:
>
>
> ./configure LINUXAMD64 OPENGL FLTK TK ACTC CUDA IMD LIBSBALL XINERAMA
> XINPUT LIBTACHYON VRPN NETCDF TCL PYTHON PTHREADS NUMPY SILENT
>
>
> On 01/19/2013 06:52 PM, Albert wrote:
> >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

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/       Fax: 217-244-6078