[gmx-users] g++ compiling with gromacs library

Kit Sang Chu kschu at ucdavis.edu
Wed Nov 21 19:09:36 CET 2018


Hi everyone,

I have a Makefile from my colleague and I am trying to make it compile. I
have given the library path but the problem persists.

g++ -I /home/simon/Softs/gromacs-5.1/opt GlyRot.cpp -o GlyRot.o -Wall -c
GlyRot.cpp:8:10: fatal error: gromacs/commandline.h: No such file or
directory
 #include "gromacs/commandline.h"
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I understand it is a simple compile error. Still it would be great to know
the answer here. Thanks in advance.

Simon


More information about the gromacs.org_gmx-users mailing list