rlabduke / reduce

Reduce - tool for adding and correcting hydrogens in PDB files
Other
113 stars 33 forks source link

Not able to install reduce through cmake #38

Closed QingweiMeng1234 closed 3 years ago

QingweiMeng1234 commented 3 years ago

Hi,

I am not able to install reduce through cmake. I guess it is probably the version of gcc is too old. I attached the problem down below.

image

russell-taylor commented 3 years ago

In the latest master branch, CMakeLists.txt requested C++ version 11, but did not require it. I just pushed a commit that adds a flag that should require it, which will presumably refuse to compile with a version of the compiler that does not support C++11.

It should have given you a warning during CMake configure that it was unable to meet the requirement, but now it will fail to generate the build files. If you can't get a C++11 compiler, you will need to revert to an earlier release.

Let me know what happens when you pull the new commit.

QingweiMeng1234 commented 3 years ago

I just pulled the newest version and it worked on my server. Thank you!