cmake error when build the source #230
-
Dear phoebe team: I try to install phoebe on the centos7.9 when I using The compelete information is below:
does not contain a CMakeLists.txt file. CMake Error at lib/CMakeLists.txt:2 (add_subdirectory):
does not contain a CMakeLists.txt file. CMake Deprecation Warning at googletest/CMakeLists.txt:4 (cmake_minimum_required): Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required): Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required): Update the VERSION argument value or use a ... suffix to tell -- Found Python: /opt/hhpc/pub/apps/miniconda3/bin/python3.10 (found version "3.10.10") found components: Interpreter |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi @zengyoga, I have a feeling you have missed a step in the installation -- if you look here, you can see you probably skipped the "recurse submodules" part of the git clone line: You can fix this in an already established clone by running: Let me know if that doesn't solve the issue, |
Beta Was this translation helpful? Give feedback.
-
Can you clone it on a local machine, run the submodules line, and then copy the directory up to the cluster? Perhaps that will work. This never used to be an issue, but my understanding is that national lab computers in some countries now have this restriction. In the longer term, perhaps I will find a more permanent solution to this, as submodules are currently a very commonly used git feature. Let me know if it's not working still, |
Beta Was this translation helpful? Give feedback.
Can you clone it on a local machine, run the submodules line, and then copy the directory up to the cluster? Perhaps that will work.
This never used to be an issue, but my understanding is that national lab computers in some countries now have this restriction. In the longer term, perhaps I will find a more permanent solution to this, as submodules are currently a very commonly used git feature.
Let me know if it's not working still,
Jenny