[gmx-developers] template.c does not compile due to types/trx.h

David van der Spoel spoel at xray.bmc.uu.se
Fri Aug 27 10:05:15 CEST 2010


the share/template/template.c does not compile in the master branch when 
I build gromacs in a separate object dir:

In file included from ./gromacs/types/trx.h:43,
                  from ./gromacs/typedefs.h:52,
                  from ./gromacs/futil.h:40,
                  from ./gromacs/filenm.h:39,
                  from /home/spoel/GG/gromacs/share/template/template.c:32:
./gromacs/types/../vmdio.h:22:28: error: molfile_plugin.h: No such file 
or directory
./gromacs/types/../vmdio.h:23:26: error: types/simple.h: No such file or 

The source code refers to include files in
but the real problem I guess is that types/trx.h includes
#include "../molfile_plugin.h"
#include "../vmdio.h"

That seems like a bad idea. I disabled building the template for now.

David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205.
spoel at xray.bmc.uu.se    http://folding.bmc.uu.se

More information about the gromacs.org_gmx-developers mailing list