-
Notifications
You must be signed in to change notification settings - Fork 0
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 does not work #15
Comments
Hello @ghoshgm Thank you for posting this issue. Can you try building the main branch with the following settings (using ccmake): BUILD_GMOCK ON
BUILD_SHARED_LIBS OFF
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /usr/local
INSTALL_GTEST ON
gmock_build_tests OFF
gtest_build_samples ON
gtest_build_tests ON
gtest_disable_mpi OFF
gtest_disable_pthreads OFF
gtest_force_shared_crt OFF
gtest_hide_internal_symbols OFF |
Hi @ghoshgm which Ubuntu version and which MPI version/package? Then, I'll try to reproduce the error. In the first log.txt, it fails while compiling something death-tests related which is not supported with MPI (that's a whole own problem finding killed MPI processes, so at least with our current approach death-tests are not possible to do correctly with MPI). In the second log.txt, it looks like it tries to use some of the MPI-C++ interface which is strange because it is deprecated and shouldn't be used at all - but I might miss something here. |
After doing a fresh clone from the repository I tried to build the package with CMake.
The configure step works fine but the build crashes due to compilation errors.
I am guessing it is treating warnings as errors.
I tried with main branch and v1.10.x branch.
I also tried with the latest tarball release but it still does not work.
The bug can be reproduced by executing the 'make' command.
I am working Ubuntu with gcc 11.4.0
Do I need to use any special flags for compiling ?
I am attaching a log file for reference.
log.txt
The text was updated successfully, but these errors were encountered: