You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "jonathanc-n (via GitHub)" <gi...@apache.org> on 2024/09/05 21:23:51 UTC
[D] CMake build errors? [kvrocks]
GitHub user jonathanc-n created a discussion: CMake build errors?
I am running into errors:
Fetching gtest...
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.30.3/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(gtest) is deprecated, call
FetchContent_MakeAvailable(gtest) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(gtest) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/utils.cmake:31 (FetchContent_Populate)
cmake/gtest.cmake:27 (FetchContent_MakeAvailableWithArgs)
CMakeLists.txt:151 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error: Error: generator : Unix Makefiles
Does not match the generator used previously: Ninja
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
Do you guys get this same error when running './x.py build'?
GitHub link: https://github.com/apache/kvrocks/discussions/2523
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
Re: [D] CMake build errors? [kvrocks]
Posted by "jonathanc-n (via GitHub)" <gi...@apache.org>.
GitHub user jonathanc-n added a comment to the discussion: CMake build errors?
Oh icic, I didn't know to delete the current build. Thank you!
GitHub link: https://github.com/apache/kvrocks/discussions/2523#discussioncomment-10564179
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
Re: [D] CMake build errors? [kvrocks]
Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
GitHub user PragmaTwice added a comment to the discussion: CMake build errors?
```
CMake Error: Error: generator : Unix Makefiles
Does not match the generator used previously: Ninja
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
```
As the error states, you need to build in a new directory if the generator is changed.
GitHub link: https://github.com/apache/kvrocks/discussions/2523#discussioncomment-10563451
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
Re: [D] CMake build errors? [kvrocks]
Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: CMake build errors?
```
CMake Error: Error: generator : Unix Makefiles
Does not match the generator used previously: Ninja
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
```
As the error states, you need to build in a new directory if the generator is changed.
Or you can delete the current build dir.
GitHub link: https://github.com/apache/kvrocks/discussions/2523#discussioncomment-10563451
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
Re: [D] CMake build errors? [kvrocks]
Posted by "jonathanc-n (via GitHub)" <gi...@apache.org>.
GitHub user jonathanc-n closed a discussion: CMake build errors?
I am running into errors:
Fetching gtest...
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.30.3/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(gtest) is deprecated, call
FetchContent_MakeAvailable(gtest) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(gtest) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/utils.cmake:31 (FetchContent_Populate)
cmake/gtest.cmake:27 (FetchContent_MakeAvailableWithArgs)
CMakeLists.txt:151 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error: Error: generator : Unix Makefiles
Does not match the generator used previously: Ninja
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
Do you guys get this same error when running './x.py build'?
GitHub link: https://github.com/apache/kvrocks/discussions/2523
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org