From: Josh Vermaas (vermaas2_at_illinois.edu)
Date: Fri Sep 12 2014 - 09:01:12 CDT

Hi David,

Here is a more ubuntu-specific answer:

14.04 has tachyon of the appropriate version in the standard package
manager, but please make sure you have both libtachyon-0.99 and
libtachyon-dev (this is the package with the .h files) installed. With
this installed, you will need to edit the configure script somewhat, as
that is what tells the compilation where to look for headers and
libraries. Here is what I have on 14.04:

$libtachyon_defines = "-DVMDLIBTACHYON";
#$libtachyon_dir = "$vmd_library_dir/tachyon";
$libtachyon_include = "-I/usr/include/tachyon";
$libtachyon_library = "-L/usr/lib";
$libtachyon_libs = "-ltachyon";

Now if you reconfigure, the make process will progress further.

-Josh Vermaas

On 09/12/2014 08:08 AM, John Stone wrote:
> Hi,
> If you haven't compiled Tachyon, you need to compile it before you
> compile VMD, otherwise you could remove "LIBTACHYON" from the VMD configuration
> flags and then recompile it. I would suggest to go get Tachyon, compile it,
> and then continue compiling VMD.
>
> Cheers,
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Fri, Sep 12, 2014 at 11:46:39AM +0200, David Muramatsu wrote:
>> Dear ladies and gentlemen,
>>
>> I tried to compile vmd using the src version on Ubuntu 14.04. I compiled
>> the plugins and ran
>>
>> $export PLUGINDIR=~/vmd-1.9.1/plugins
>> $make distrib
>>
>> in the ~/plugins directory. Then I ran
>>
>> $make linux.cuda.opengl
>>
>> in the vmd-1.9.1 directory and make in the /src/ directory. That yealded
>> the output
>>
>> ...
>> CompilingA OpenGLCache.CA -->A OpenGLCache.oA ...
>> CompilingA IMDMgr.CA -->A IMDMgr.oA ...
>> CompilingA IMDSim.CA -->A IMDSim.oA ...
>> CompilingA IMDSimThread.CA -->A IMDSimThread.oA ...
>> CompilingA CmdIMD.CA -->A CmdIMD.oA ...
>> CompilingA imd.CA -->A imd.oA ...
>> CompilingA LibTachyonDisplayDevice.CA -->A LibTachyonDisplayDevice.oA
>> ...
>> In file included from LibTachyonDisplayDevice.C:27:0:
>> LibTachyonDisplayDevice.h:28:58: fatal error: tachyon.h: No such file or
>> directory
>> #include "tachyon.h"A A A A A A // main Tachyon library header
>> A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
>> ^
>> compilation terminated.
>> make: *** [LibTachyonDisplayDevice.o] Error 1
>>
>> I tried to replace the ~vmd-1.9.1/lib/tachyon/ directory with a softlink
>> to the /usr/include/tachyon/ directory which yealded the same result. What
>> am I doing wrong? I would be very grateful for help here.
>>
>> Kind regards,
>>
>> David Muramatsu