When I install https://github.com/openmm/openmmexampleplugin?tab=readme-ov-file,
After I downloaded and unzipped the file, I renamed it openmm, and then ran the commands in sequence
$ cd openmm $ mkdir build && cd build $ make
The following error will occur
[ 8%] Building CXX object CMakeFiles/ExamplePlugin.dir/openmmapi/src/ExampleForce.cpp.o In file included from /home/user/software/openmm/openmmapi/src/ExampleForce.cpp:32: /home/user/software/openmm/openmmapi/include/ExampleForce.h:35:10: fatal error: openmm/Context.h: No such file or directory 35 | #include "openmm/Context.h" | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/ExamplePlugin.dir/build.make:76: CMakeFiles/ExamplePlugin.dir/openmmapi/src/ExampleForce.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:153: CMakeFiles/ExamplePlugin.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
What it means is that Context.h cannot be found, which has nothing to do with the path, because there is no such file in the original github folder. How should I install openMM correctly
When I install https://github.com/openmm/openmmexampleplugin?tab=readme-ov-file,
After I downloaded and unzipped the file, I renamed it openmm, and then ran the commands in sequence
$ cd openmm $ mkdir build && cd build $ makeThe following error will occur
[ 8%] Building CXX object CMakeFiles/ExamplePlugin.dir/openmmapi/src/ExampleForce.cpp.o In file included from /home/user/software/openmm/openmmapi/src/ExampleForce.cpp:32: /home/user/software/openmm/openmmapi/include/ExampleForce.h:35:10: fatal error: openmm/Context.h: No such file or directory 35 | #include "openmm/Context.h" | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/ExamplePlugin.dir/build.make:76: CMakeFiles/ExamplePlugin.dir/openmmapi/src/ExampleForce.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:153: CMakeFiles/ExamplePlugin.dir/all] Error 2 make: *** [Makefile:146: all] Error 2What it means is that Context.h cannot be found, which has nothing to do with the path, because there is no such file in the original github folder. How should I install openMM correctly