-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMAKE [Build] error #275
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
A clear and concise description of what the issue is.
cmake error
Environment information:
Windows 11 22h2
]gcc 12.2.0
]3.26
]CUDA 12.3.0
]MS-MPI v10.1.2
]v2.4.0
]Visual Studio 2022
Configuration information
Provide your
cmake
command line that was used for configuration and it's full output.1> 工作目录: E:\code\project\AMGX\out\build\x64-Debug
1> [CMake] -- Could NOT find MPI_C (missing: MPI_C_WORKS)
1> [CMake] -- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
1> [CMake] -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND)
1> [CMake] -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
1> [CMake] -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
1> [CMake] -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
1> [CMake] This is a MPI build:FALSE
1> [CMake] -- Checking if arch 60 is supported...
1> [CMake] -- Checking if arch 70 is supported...
1> [CMake] -- Checking if arch 80 is supported...
1> [CMake] -- Checking if arch 90 is supported...
1> [CMake] -- Configuring done
1> [CMake] CMake Error at src/CMakeLists.txt:112 (target_link_libraries):
1> [CMake] Target "amgx_tests_launcher" links to:
1> [CMake]
1> [CMake] OpenMP::OpenMP_C
1> [CMake]
1> [CMake] but the target was not found. Possible reasons include:
1> [CMake]
1> [CMake] * There is a typo in the target name.
1> [CMake] * A find_package call is missing for an IMPORTED target.
1> [CMake] * An ALIAS target is missing.
1> [CMake]
1> [CMake]
1> [CMake]
1> [CMake] -- Generating done
1> [CMake] CMake Generate step failed. Build files cannot be regenerated correctly.
Compilation information
Provide your make command
Issue information
Provide any error messages from your CMake or compiler. It will also greatly help to attach output of
make
command rerun withVERBOSE=1
to see exact host compiler launch command that issues the error.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: