Skip to content

Issue with "Make" command #34

@joe781114

Description

@joe781114

Hi sir,
I am trying to install chap 0.9.1 on my workstation which is the Ubuntu 18.04.5 LTS and the gromacs version is 2020.5.
Following the installation guide, I first touch the same issue here, then follow the command below by changing the "set(CMAKE_CXX_STANDARD 11)" to "set(CMAKE_CXX_STANDARD 14)", I can successfully get rid of this error message.
However, when typing the "make" command again, it shows another error below:

[ 6%] Built target googletest
[ 6%] Building CXX object CMakeFiles/chap.dir/src/analysis-setup/residue_information_provider.cpp.o
In file included from /home/joe/Downloads/chap-version_0_9_1/src/analysis-setup/residue_information_provider.cpp:25:0:
/home/joe/Downloads/chap-version_0_9_1/include/analysis-setup/residue_information_provider.hpp:32:10: fatal error: gromacs/topology/atoms.h: No such file or directory
#include <gromacs/topology/atoms.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/chap.dir/build.make:158: recipe for target 'CMakeFiles/chap.dir/src/analysis-setup/residue_information_provider.cpp.o' failed
make[2]: *** [CMakeFiles/chap.dir/src/analysis-setup/residue_information_provider.cpp.o] Error 1
CMakeFiles/Makefile2:355: recipe for target 'CMakeFiles/chap.dir/all' failed
make[1]: *** [CMakeFiles/chap.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

I am curious if that means my gromacs program just lost the file "atoms.h"? And I should reinstall the gromacs?
Or anything else I should do to fix this error.

Sorry for the interruption, and looking forward to any idea/solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency filehelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions