Created
April 9, 2021 21:42
-
-
Save kfsone/c55c75850bb646f62f152f98645b6272 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ mkdir build | |
+ cd build | |
+ cmake --version | |
cmake version 3.20.1 | |
CMake suite maintained and supported by Kitware (kitware.com/cmake). | |
+ CC=gcc-10 | |
+ CXX=g++-10 | |
+ cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON | |
-- The CXX compiler identification is GNU 10.2.1 | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/g++-10 - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- CPM: adding package fmt@ (master) | |
-- Version: 7.1.3 | |
-- Build type: | |
-- CXX_STANDARD: 17 | |
-- Performing Test has_std_17_flag | |
-- Performing Test has_std_17_flag - Success | |
-- Performing Test has_std_1z_flag | |
-- Performing Test has_std_1z_flag - Success | |
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS | |
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success | |
-- Performing Test FMT_HAS_VARIANT | |
-- Performing Test FMT_HAS_VARIANT - Success | |
-- Required features: cxx_variadic_templates | |
-- Looking for strtod_l | |
-- Looking for strtod_l - found | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/oliver/src/examples/General/cmake-fmt/build | |
+ make | |
/snap/cmake/858/bin/cmake -S/home/oliver/src/examples/General/cmake-fmt -B/home/oliver/src/examples/General/cmake-fmt/build --check-build-system CMakeFiles/Makefile.cmake 0 | |
/snap/cmake/858/bin/cmake -E cmake_progress_start /home/oliver/src/examples/General/cmake-fmt/build/CMakeFiles /home/oliver/src/examples/General/cmake-fmt/build//CMakeFiles/progress.marks | |
make -f CMakeFiles/Makefile2 all | |
make[1]: Entering directory '/home/oliver/src/examples/General/cmake-fmt/build' | |
make -f _deps/fmt-build/CMakeFiles/fmt.dir/build.make _deps/fmt-build/CMakeFiles/fmt.dir/depend | |
make[2]: Entering directory '/home/oliver/src/examples/General/cmake-fmt/build' | |
cd /home/oliver/src/examples/General/cmake-fmt/build && /snap/cmake/858/bin/cmake -E cmake_depends "Unix Makefiles" /home/oliver/src/examples/General/cmake-fmt /home/oliver/src/examples/General/cmake-fmt/build/_deps/fmt-src /home/oliver/src/examples/General/cmake-fmt/build /home/oliver/src/examples/General/cmake-fmt/build/_deps/fmt-build /home/oliver/src/examples/General/cmake-fmt/build/_deps/fmt-build/CMakeFiles/fmt.dir/DependInfo.cmake --color= | |
make[2]: Leaving directory '/home/oliver/src/examples/General/cmake-fmt/build' | |
make -f _deps/fmt-build/CMakeFiles/fmt.dir/build.make _deps/fmt-build/CMakeFiles/fmt.dir/build | |
make[2]: Entering directory '/home/oliver/src/examples/General/cmake-fmt/build' | |
[ 20%] Building CXX object _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o | |
cd /home/oliver/src/examples/General/cmake-fmt/build/_deps/fmt-build && /usr/bin/g++-10 -DFMT_HEADER_ONLY=1 -DFMT_LOCALE -I/home/oliver/src/examples/General/cmake-fmt/build/_deps/fmt-src/include -std=gnu++17 -MD -MT _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o -MF CMakeFiles/fmt.dir/src/format.cc.o.d -o CMakeFiles/fmt.dir/src/format.cc.o -c /home/oliver/src/examples/General/cmake-fmt/build/_deps/fmt-src/src/format.cc | |
/home/oliver/src/examples/General/cmake-fmt/build/_deps/fmt-src/src/format.cc:58:51: error: duplicate explicit instantiation of ‘struct fmt::v7::detail::basic_data<void>’ [-fpermissive] | |
58 | template struct FMT_INSTANTIATION_DEF_API detail::basic_data<void>; | |
| ^~~~~~~~~~~~~~~~ | |
make[2]: *** [_deps/fmt-build/CMakeFiles/fmt.dir/build.make:79: _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o] Error 1 | |
make[2]: Leaving directory '/home/oliver/src/examples/General/cmake-fmt/build' | |
make[1]: *** [CMakeFiles/Makefile2:119: _deps/fmt-build/CMakeFiles/fmt.dir/all] Error 2 | |
make[1]: Leaving directory '/home/oliver/src/examples/General/cmake-fmt/build' | |
make: *** [Makefile:94: all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment