From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed May 12 2004 - 18:41:32 CDT

Hi Stewart,
  As others mentioned, you need to compile the VMD plugins before
attempting to compile VMD itself. The compilation instructions for
VMD are located here:
  http://www.ks.uiuc.edu/Research/vmd/doxygen/compiling.html#compiling

Since you're interested in compiling VMD for 64-bit Linux on Athlon64/Opteron,
you may find it much easier to just try out one of the new test versions
of VMD 1.8.3 which has been ported to that platform. If you want to use
a stable/released version of VMD on your machine, the regular Linux version
of VMD 1.8.2 should run on Athlon64/Opteron machines just fine. In order
to build a 64-bit version however, you'll need to work with the new code
that's in development. If you'd like to try an Athlon64/Opteron binary
I've built here, let me know and I can make one available to you.

Thanks,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, May 11, 2004 at 10:51:09AM -0400, Stewart Dickson wrote:
> Hallo,
>
> I just attempted to build a LINUXAMD64 binary from the vmd-1.8.2.src
> tarball.
>
> In the vmd-1.8.2/src directory, make crashes as shown below.
> To verify it's not just a problem with the x86-64 architecture, I tried
> the same on
> a 32-bit Lunix box -- same result.
>
> Is the file libmolfile_plugin.h missing from the vmd-1.8.2.src tarball?
>
> Thanks,
>
> -Stewart <http://us.imdb.com/Name?Stewart+Dickson>
> <http://www.csm.ornl.gov/~dickson>
>
> >echo "Compiling " PluginMgr.C " --> " PluginMgr.o " ..."; \
> >g++ -fno-for-scope -Wall -Wno-deprecated -O3 -march=i586
> >-fomit-frame-pointer -DARCH_LINUX -DVMDSURF -DVMDMSMS
> >-DVMDISOSURFACE -DVMDSTATICPLUGINS -I../plugins/include
> >-I../plugins/LINUX/molfile -I. -c PluginMgr.C -o ../LINUX/PluginMgr.o
> >Compiling PluginMgr.C --> PluginMgr.o ...
> >PluginMgr.C:10:31: libmolfile_plugin.h: No such file or directory
> >PluginMgr.C: In constructor `PluginMgr::PluginMgr()':
> >PluginMgr.C:33: `MOLFILE_INIT_ALL' undeclared (first use this function)
> >PluginMgr.C:33: (Each undeclared identifier is reported only once for each
> > function it appears in.)
> >PluginMgr.C:33: parse error before `}' token
> >PluginMgr.C: In destructor `virtual PluginMgr::~PluginMgr()':
> >PluginMgr.C:47: `MOLFILE_FINI_ALL' undeclared (first use this function)
> >PluginMgr.C:47: parse error before `}' token
> >PluginMgr.C: In member function `int PluginMgr::load_static_plugins()':
> >PluginMgr.C:53: `MOLFILE_REGISTER_ALL' undeclared (first use this
> >function)
> >PluginMgr.C:54: parse error before `return'
> >PluginMgr.C:58: warning: no return statement in function returning
> >non-void
> >make: *** [PluginMgr.o] Error 1
>
>
>

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