You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After extracting the project code from a compressed package and attempting to execute the build process using CMake, I encountered an error indicating a failure to add a supposedly non-existent directory via the add_subdirectory command. Upon closer investigation, it appears that there is a file-directory name collision that's preventing the directory from being created properly, which in turn is causing the build process to fail.
Steps to Reproduce:
Extract the project code from the provided compressed package.
Navigate to the project root directory.
3.Initiate the build process with the following command: cmake -B build
Expected Behavior
I expect the build process to correctly identify and utilize directories as specified in the project's CMakeLists.txt, allowing the build to proceed without errors related to directory existence checks.
Actual Behavior
The build process is interrupted with an error indicating that a required directory does not exist. Here is the error message returned:
CMake Error at CMakeLists.txt:38 (add_subdirectory):
add_subdirectory given source
"C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/BLACS/SRC"
which is not an existing directory.
CMake Error at CMakeLists.txt:57 (add_subdirectory):
add_subdirectory given source
"C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/SRC/"
which is not an existing directory.
CMake Error at CMakeLists.txt:57 (add_subdirectory):
add_subdirectory given source
"C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/PBLAS/SRC/"
which is not an existing directory.
and so on;
Upon checking the specified path, I found that instead of a directory, there is a file with the same name at that location, suggesting a naming conflict that is most likely causing the issue.
C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/SRC/
C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/PBLAS/SRC/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After extracting the project code from a compressed package and attempting to execute the build process using CMake, I encountered an error indicating a failure to add a supposedly non-existent directory via the add_subdirectory command. Upon closer investigation, it appears that there is a file-directory name collision that's preventing the directory from being created properly, which in turn is causing the build process to fail.
Steps to Reproduce:
3.Initiate the build process with the following command: cmake -B build
Expected Behavior
I expect the build process to correctly identify and utilize directories as specified in the project's CMakeLists.txt, allowing the build to proceed without errors related to directory existence checks.
Actual Behavior
The build process is interrupted with an error indicating that a required directory does not exist. Here is the error message returned:
CMake Error at CMakeLists.txt:38 (add_subdirectory):
add_subdirectory given source
"C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/BLACS/SRC"
which is not an existing directory.
CMake Error at CMakeLists.txt:57 (add_subdirectory):
add_subdirectory given source
"C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/SRC/"
which is not an existing directory.
CMake Error at CMakeLists.txt:57 (add_subdirectory):
add_subdirectory given source
"C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/PBLAS/SRC/"
which is not an existing directory.
and so on;
Upon checking the specified path, I found that instead of a directory, there is a file with the same name at that location, suggesting a naming conflict that is most likely causing the issue.
C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/SRC/
C:/var/scalapack-main/scalapack-main/build/_deps/scalapack_src-src/PBLAS/SRC/
Beta Was this translation helpful? Give feedback.
All reactions