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
Tars> cd TarsCpp/
TarsCpp> mkdir build;
TarsCpp> cd build;
build> cmake ..
-- The C compiler identification is AppleClang 14.0.3.14030022
-- The CXX compiler identification is AppleClang 14.0.3.14030022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
----------------------------------------------------
CMAKE_SOURCE_DIR: /Users/gang/Tars/TarsCpp
CMAKE_BINARY_DIR: /Users/gang/Tars/TarsCpp/build
PROJECT_SOURCE_DIR: /Users/gang/Tars/TarsCpp
CMAKE_BUILD_TYPE: Release
PLATFORM: mac
CMAKE_INSTALL_PREFIX: /usr/local/tars/cpp
BIN: /Users/gang/Tars/TarsCpp/build/bin
TARS2CPP: /Users/gang/Tars/TarsCpp/build/bin/tars2cpp
ONLY_LIB: ON
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/libz.tbd (found version "1.2.11")
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/ExternalProject.cmake:3091 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/ExternalProject.cmake:4208 (_ep_add_download_command)
cmake/Thirdparty.cmake:139 (ExternalProject_Add)
CMakeLists.txt:17 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/ExternalProject.cmake:3091 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/ExternalProject.cmake:4208 (_ep_add_download_command)
cmake/Thirdparty.cmake:277 (ExternalProject_Add)
CMakeLists.txt:17 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
----------------------------------------------------
TARS_MYSQL: ON
TARS_HTTP2: OFF
TARS_SSL: OFF
TARS_PROTOBUF: OFF
TARS_GPERF: OFF
TARS_VERSION: 3.0.15
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
----------------------------------------------------
CMAKE_SYSTEM_NAME: Darwin
CMAKE_SYSTEM_PROCESSOR: arm64
CMAKE_CXX_COMPILER_ID: AppleClang
ABI_STR: sysv
BF_STR: macho
CPU_STR: combined
JUMP_SRC: asm/jump_combined_sysv_macho_gas.S
MAKE_SRC: asm/make_combined_sysv_macho_gas.S
CMAKE_C_SIZEOF_DATA_PTR: 8
----------------------------------------------------
-- Configuring done (0.6s)
-- Generating done (0.1s)
-- Build files have been written to: /Users/gang/Tars/TarsCpp/build
最后make -j4一步就报这个:
/Users/gang/TarsCpp/build/src/gtest-lib/googlemock/include/gmock/gmock-matchers.h:891:3: error: definition of implicit copy constructor for 'EndsWithMatcher<std::wstring>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
^
/Users/gang/TarsCpp/build/src/gtest-lib/googletest/include/gtest/internal/gtest-port.h:682:8: note: expanded from macro 'GTEST_DISALLOW_ASSIGN_'
void operator=(type const &) = delete
^
/Users/gang/TarsCpp/build/src/gtest-lib/googletest/include/gtest/gtest-matchers.h:454:7: note: in implicit copy constructor for 'testing::internal::EndsWithMatcher<std::wstring>' first required here
class PolymorphicMatcher {
^
/Users/gang/TarsCpp/build/src/gtest-lib/googlemock/include/gmock/gmock-matchers.h:3908:10: note: in implicit move constructor for 'testing::PolymorphicMatcher<testing::internal::EndsWithMatcher<std::wstring>>' first required here
return MakePolymorphicMatcher(
^
[ 62%] Linking CXX static library ../lib/libgtest_main.a
[ 62%] Built target gtest_main
12 errors generated.
make[5]: *** [googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1
make[4]: *** [googlemock/CMakeFiles/gmock.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [src/ADD_gtest-stamp/ADD_gtest-build] Error 2
make[1]: *** [CMakeFiles/ADD_gtest.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
最后make -j4一步就报这个:
The text was updated successfully, but these errors were encountered: