piranha
piranha copied to clipboard
value
colabで実行すると,makeする際,valueの値を用いているためmake出来ないとエラーがでた.以下にエラーの文の一部を出力する.
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/main.cu -o build/main.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/nn/AveragepoolLayer.cu -o build/AveragepoolLayer.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/nn/CNNLayer.cu -o build/CNNLayer.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/nn/FCLayer.cu -o build/FCLayer.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/nn/LNLayer.cu -o build/LNLayer.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/nn/MaxpoolLayer.cu -o build/MaxpoolLayer.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/nn/NeuralNetwork.cu -o build/NeuralNetwork.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/local/cuda/bin/nvcc -dc -Xcompiler="-O3,-w,-std=c++14,-pthread,-msse4.1,-maes,-msse2,-mpclmul,-fpermissive,-fpic,-pthread" -Xcudafe "--diag_suppress=declared_but_not_referenced" -Xcompiler="-DFLOAT_PRECISION=8 -DTWOPC" -c src/nn/ReLULayer.cu -o build/ReLULayer.o -I '/usr/local/cuda-11.5/include' -I 'ext/cutlass/include' -I 'ext/cutlass/tools/util/include' -I 'include'
/usr/include/c++/11/type_traits:79:52: error: redefinition of ‘constexpr const _Tp std::integral_constant<_Tp, __v>::value’
79 | template<typename _Tp, _Tp __v>
| ^
/usr/include/c++/11/type_traits:67:29: note: ‘constexpr const _Tp value’ previously declared here
67 | static constexpr _Tp value = __v;
| ^~~~~
/usr/include/c++/11/type_traits:79:52: error: redefinition of ‘constexpr const _Tp std::integral_constant<_Tp, __v>::value’
79 | template<typename _Tp, _Tp __v>
| ^
/usr/include/c++/11/type_traits:67:29: note: ‘constexpr const _Tp value’ previously declared here
67 | static constexpr _Tp value = __v;
| ^~~~~
include/json.hpp:3176:39: error: redefinition of ‘constexpr const T nlohmann::detail::static_const<T>::value’
3176 | template<typename T>
| ^
include/json.hpp:3173:27: note: ‘constexpr const T nlohmann::detail::static_const<T>::value’ previously declared here
3173 | static constexpr T value{};
| ^~~~~
include/json.hpp:3176:39: error: redefinition of ‘constexpr const T nlohmann::detail::static_const<T>::value’
3176 | template<typename T>
| ^
include/json.hpp:3173:27: note: ‘constexpr const T nlohmann::detail::static_const<T>::value’ previously declared here
3173 | static constexpr T value{};
| ^~~~~
/usr/include/c++/11/ratio:282:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’
282 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:273:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’ previously declared here
273 | static constexpr intmax_t num =
| ^~~
/usr/include/c++/11/ratio:285:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’
285 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:276:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’ previously declared here
276 | static constexpr intmax_t den =
| ^~~
/usr/include/c++/11/ratio:310:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’
310 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:306:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’ previously declared here
306 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:313:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’
313 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:307:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’ previously declared here
307 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:337:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’
337 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:333:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’ previously declared here
333 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:340:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’
340 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:334:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’ previously declared here
334 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:515:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’
515 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:511:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’ previously declared here
511 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:518:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’
518 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:512:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’ previously declared here
512 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:540:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’
540 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:536:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’ previously declared here
536 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:543:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’
543 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:537:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’ previously declared here
537 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:282:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’
282 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:273:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’ previously declared here
273 | static constexpr intmax_t num =
| ^~~
/usr/include/c++/11/ratio:285:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’
285 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:276:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’ previously declared here
276 | static constexpr intmax_t den =
| ^~~
/usr/include/c++/11/ratio:310:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’
310 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:306:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’ previously declared here
306 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:313:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’
313 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:307:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’ previously declared here
307 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:337:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’
337 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:333:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’ previously declared here
333 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:340:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’
340 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:334:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’ previously declared here
334 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:515:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’
515 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:511:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’ previously declared here
511 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:518:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’
518 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:512:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’ previously declared here
512 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:540:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’
540 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:536:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’ previously declared here
536 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:543:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’
543 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:537:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’ previously declared here
537 | static constexpr intmax_t den = type::den;
| ^~~
include/gtest/internal/gtest-internal.h:904:42: error: redefinition of ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’
904 | template <typename T>
| ^
include/gtest/internal/gtest-internal.h:899:38: note: ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’ previously declared here
899 | static constexpr bool value =
| ^
include/gtest/internal/gtest-internal.h:904:42: error: redefinition of ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’
904 | template <typename T>
| ^
include/gtest/internal/gtest-internal.h:899:38: note: ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’ previously declared here
899 | static constexpr bool value =
| ^
/usr/include/c++/11/type_traits:79:52: error: redefinition of ‘constexpr const _Tp std::integral_constant<_Tp, __v>::value’
79 | template<typename _Tp, _Tp __v>
| ^
/usr/include/c++/11/type_traits:67:29: note: ‘constexpr const _Tp value’ previously declared here
67 | static constexpr _Tp value = __v;
| ^~~~~
/usr/include/c++/11/type_traits:79:52: error: redefinition of ‘constexpr const _Tp std::integral_constant<_Tp, __v>::value’
79 | template<typename _Tp, _Tp __v>
| ^
/usr/include/c++/11/type_traits:67:29: note: ‘constexpr const _Tp value’ previously declared here
67 | static constexpr _Tp value = __v;
| ^~~~~
include/json.hpp:3176:39: error: redefinition of ‘constexpr const T nlohmann::detail::static_const<T>::value’
3176 | template<typename T>
| ^
include/json.hpp:3173:27: note: ‘constexpr const T nlohmann::detail::static_const<T>::value’ previously declared here
3173 | static constexpr T value{};
| ^~~~~
/usr/include/c++/11/ratio:282:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’
282 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:273:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’ previously declared here
273 | static constexpr intmax_t num =
| ^~~
/usr/include/c++/11/ratio:285:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’
285 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:276:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’ previously declared here
276 | static constexpr intmax_t den =
| ^~~
/usr/include/c++/11/ratio:310:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’
310 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:306:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’ previously declared here
306 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:313:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’
313 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:307:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’ previously declared here
307 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:337:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’
337 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:333:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’ previously declared here
333 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:340:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’
340 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:334:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’ previously declared here
334 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:515:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’
515 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:511:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’ previously declared here
511 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:518:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’
518 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:512:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’ previously declared here
512 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:540:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’
540 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:536:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’ previously declared here
536 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:543:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’
543 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:537:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’ previously declared here
537 | static constexpr intmax_t den = type::den;
| ^~~
include/json.hpp:3176:39: error: redefinition of ‘constexpr const T nlohmann::detail::static_const<T>::value’
3176 | template<typename T>
| ^
include/json.hpp:3173:27: note: ‘constexpr const T nlohmann::detail::static_const<T>::value’ previously declared here
3173 | static constexpr T value{};
| ^~~~~
/usr/include/c++/11/ratio:282:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’
282 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:273:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’ previously declared here
273 | static constexpr intmax_t num =
| ^~~
/usr/include/c++/11/ratio:285:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’
285 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:276:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’ previously declared here
276 | static constexpr intmax_t den =
| ^~~
/usr/include/c++/11/ratio:310:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’
310 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:306:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’ previously declared here
306 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:313:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’
313 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:307:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’ previously declared here
307 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:337:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’
337 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:333:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::num’ previously declared here
333 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:340:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’
340 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:334:34: note: ‘constexpr const intmax_t std::__ratio_divide<_R1, _R2>::den’ previously declared here
334 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:515:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’
515 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:511:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::num’ previously declared here
511 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:518:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’
518 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:512:34: note: ‘constexpr const intmax_t std::__ratio_add<_R1, _R2>::den’ previously declared here
512 | static constexpr intmax_t den = type::den;
| ^~~
/usr/include/c++/11/ratio:540:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’
540 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:536:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::num’ previously declared here
536 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:543:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’
543 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:537:34: note: ‘constexpr const intmax_t std::__ratio_subtract<_R1, _R2>::den’ previously declared here
537 | static constexpr intmax_t den = type::den;
| ^~~
include/gtest/internal/gtest-internal.h:904:42: error: redefinition of ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’
904 | template <typename T>
| ^
include/gtest/internal/gtest-internal.h:899:38: note: ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’ previously declared here
899 | static constexpr bool value =
| ^
include/gtest/internal/gtest-internal.h:904:42: error: redefinition of ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’
904 | template <typename T>
| ^
include/gtest/internal/gtest-internal.h:899:38: note: ‘constexpr const bool testing::internal::HasDebugStringAndShortDebugString<T>::value’ previously declared here
899 | static constexpr bool value =
| ^
make: *** [Makefile:46: build/AveragepoolLayer.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:46: build/LNLayer.o] Error 1
/usr/include/c++/11/bits/random.tcc:94:100: error: redefinition of ‘constexpr const _UIntType std::linear_congruential_engine<_UIntType, __a, __c, __m>::multiplier’
94 | template<typename _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
| ^
/usr/include/c++/11/bits/random.h:271:37: note: ‘constexpr const result_type multiplier’ previously declared here
271 | static constexpr result_type multiplier = __a;
| ^~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:98:100: error: redefinition of ‘constexpr const _UIntType std::linear_congruential_engine<_UIntType, __a, __c, __m>::increment’
98 | template<typename _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
| ^
/usr/include/c++/11/bits/random.h:273:37: note: ‘constexpr const result_type increment’ previously declared here
273 | static constexpr result_type increment = __c;
| ^~~~~~~~~
/usr/include/c++/11/bits/random.tcc:102:100: error: redefinition of ‘constexpr const _UIntType std::linear_congruential_engine<_UIntType, __a, __c, __m>::modulus’
102 | template<typename _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
| ^
/usr/include/c++/11/bits/random.h:275:37: note: ‘constexpr const result_type modulus’ previously declared here
275 | static constexpr result_type modulus = __m;
| ^~~~~~~
/usr/include/c++/11/bits/random.tcc:106:100: error: redefinition of ‘constexpr const _UIntType std::linear_congruential_engine<_UIntType, __a, __c, __m>::default_seed’
106 | template<typename _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
| ^
/usr/include/c++/11/bits/random.h:276:37: note: ‘constexpr const result_type std::linear_congruential_engine<_UIntType, __a, __c, __m>::default_seed’ previously declared here
276 | static constexpr result_type default_seed = 1u;
| ^~~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:190:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::word_size’
190 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:510:32: note: ‘constexpr const size_t word_size’ previously declared here
510 | static constexpr size_t word_size = __w;
| ^~~~~~~~~
/usr/include/c++/11/bits/random.tcc:199:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::state_size’
199 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:511:32: note: ‘constexpr const size_t state_size’ previously declared here
511 | static constexpr size_t state_size = __n;
| ^~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:208:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::shift_size’
208 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:512:32: note: ‘constexpr const size_t shift_size’ previously declared here
512 | static constexpr size_t shift_size = __m;
| ^~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:217:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::mask_bits’
217 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:513:32: note: ‘constexpr const size_t mask_bits’ previously declared here
513 | static constexpr size_t mask_bits = __r;
| ^~~~~~~~~
/usr/include/c++/11/bits/random.tcc:226:1: error: redefinition of ‘constexpr const _UIntType std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::xor_mask’
226 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:514:37: note: ‘constexpr const result_type xor_mask’ previously declared here
514 | static constexpr result_type xor_mask = __a;
| ^~~~~~~~
/usr/include/c++/11/bits/random.tcc:235:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_u’
235 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:515:32: note: ‘constexpr const size_t tempering_u’ previously declared here
515 | static constexpr size_t tempering_u = __u;
| ^~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:244:1: error: redefinition of ‘constexpr const _UIntType std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_d’
244 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:516:37: note: ‘constexpr const result_type tempering_d’ previously declared here
516 | static constexpr result_type tempering_d = __d;
| ^~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:253:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_s’
253 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:517:32: note: ‘constexpr const size_t tempering_s’ previously declared here
517 | static constexpr size_t tempering_s = __s;
| ^~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:262:1: error: redefinition of ‘constexpr const _UIntType std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_b’
262 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:518:37: note: ‘constexpr const result_type tempering_b’ previously declared here
518 | static constexpr result_type tempering_b = __b;
| ^~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:271:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_t’
271 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:519:32: note: ‘constexpr const size_t tempering_t’ previously declared here
519 | static constexpr size_t tempering_t = __t;
| ^~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:280:1: error: redefinition of ‘constexpr const _UIntType std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_c’
280 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:520:37: note: ‘constexpr const result_type tempering_c’ previously declared here
520 | static constexpr result_type tempering_c = __c;
| ^~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:289:1: error: redefinition of ‘constexpr const size_t std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_l’
289 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:521:32: note: ‘constexpr const size_t tempering_l’ previously declared here
521 | static constexpr size_t tempering_l = __l;
| ^~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:298:1: error: redefinition of ‘constexpr const _UIntType std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::initialization_multiplier’
298 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:522:37: note: ‘constexpr const result_type initialization_multiplier’ previously declared here
522 | static constexpr result_type initialization_multiplier = __f;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:308:1: error: redefinition of ‘constexpr const _UIntType std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::default_seed’
308 | template<typename _UIntType,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/random.h:523:37: note: ‘constexpr const result_type std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::default_seed’ previously declared here
523 | static constexpr result_type default_seed = 5489u;
| ^~~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:519:88: error: redefinition of ‘constexpr const size_t std::subtract_with_carry_engine<_UIntType, __w, __s, __r>::word_size’
519 | template<typename _UIntType, size_t __w, size_t __s, size_t __r>
| ^
/usr/include/c++/11/bits/random.h:710:32: note: ‘constexpr const size_t word_size’ previously declared here
710 | static constexpr size_t word_size = __w;
| ^~~~~~~~~
/usr/include/c++/11/bits/random.tcc:523:88: error: redefinition of ‘constexpr const size_t std::subtract_with_carry_engine<_UIntType, __w, __s, __r>::short_lag’
523 | template<typename _UIntType, size_t __w, size_t __s, size_t __r>
| ^
/usr/include/c++/11/bits/random.h:711:32: note: ‘constexpr const size_t short_lag’ previously declared here
711 | static constexpr size_t short_lag = __s;
| ^~~~~~~~~
/usr/include/c++/11/bits/random.tcc:527:88: error: redefinition of ‘constexpr const size_t std::subtract_with_carry_engine<_UIntType, __w, __s, __r>::long_lag’
527 | template<typename _UIntType, size_t __w, size_t __s, size_t __r>
| ^
/usr/include/c++/11/bits/random.h:712:32: note: ‘constexpr const size_t long_lag’ previously declared here
712 | static constexpr size_t long_lag = __r;
| ^~~~~~~~
/usr/include/c++/11/bits/random.tcc:531:91: error: redefinition of ‘constexpr const _UIntType std::subtract_with_carry_engine<_UIntType, __w, __s, __r>::default_seed’
531 | template<typename _UIntType, size_t __w, size_t __s, size_t __r>
| ^
/usr/include/c++/11/bits/random.h:713:37: note: ‘constexpr const result_type std::subtract_with_carry_engine<_UIntType, __w, __s, __r>::default_seed’ previously declared here
713 | static constexpr result_type default_seed = 19780503u;
| ^~~~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:670:86: error: redefinition of ‘constexpr const size_t std::discard_block_engine<_RandomNumberEngine, __p, __r>::block_size’
670 | template<typename _RandomNumberEngine, size_t __p, size_t __r>
| ^
/usr/include/c++/11/bits/random.h:898:32: note: ‘constexpr const size_t block_size’ previously declared here
898 | static constexpr size_t block_size = __p;
| ^~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:674:86: error: redefinition of ‘constexpr const size_t std::discard_block_engine<_RandomNumberEngine, __p, __r>::used_block’
674 | template<typename _RandomNumberEngine, size_t __p, size_t __r>
| ^
/usr/include/c++/11/bits/random.h:899:32: note: ‘constexpr const size_t used_block’ previously declared here
899 | static constexpr size_t used_block = __r;
| ^~~~~~~~~~
/usr/include/c++/11/bits/random.tcc:803:74: error: redefinition of ‘constexpr const size_t std::shuffle_order_engine<_RandomNumberEngine, __k>::table_size’
803 | template<typename _RandomNumberEngine, size_t __k>
| ^
/usr/include/c++/11/bits/random.h:1339:32: note: ‘constexpr const size_t table_size’ previously declared here
1339 | static constexpr size_t table_size = __k;
| ^~~~~~~~~~
/usr/include/c++/11/type_traits:79:52: error: redefinition of ‘constexpr const _Tp std::integral_constant<_Tp, __v>::value’
79 | template<typename _Tp, _Tp __v>
| ^
/usr/include/c++/11/type_traits:67:29: note: ‘constexpr const _Tp value’ previously declared here
67 | static constexpr _Tp value = __v;
| ^~~~~
/usr/include/c++/11/bits/regex.h:806:86: error: redefinition of ‘constexpr const std::regex_constants::syntax_option_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:417:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:418:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:419:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:420:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:421:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:422:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:423:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:424:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:425:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
/usr/include/c++/11/bits/regex.h:426:35: note: ‘constexpr const flag_type std::__cxx11::basic_regex<
include/json.hpp:3173:27: note: ‘constexpr const T nlohmann::detail::static_const<T>::value’ previously declared here
3173 | static constexpr T value{};
| ^~~~~
/usr/include/c++/11/ratio:282:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’
282 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:273:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::num’ previously declared here
273 | static constexpr intmax_t num =
| ^~~
/usr/include/c++/11/ratio:285:67: error: redefinition of ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’
285 | template<intmax_t _Num, intmax_t _Den>
| ^
/usr/include/c++/11/ratio:276:34: note: ‘constexpr const intmax_t std::ratio<_Num, _Den>::den’ previously declared here
276 | static constexpr intmax_t den =
| ^~~
/usr/include/c++/11/ratio:310:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’
310 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:306:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::num’ previously declared here
306 | static constexpr intmax_t num = type::num;
| ^~~
/usr/include/c++/11/ratio:313:59: error: redefinition of ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’
313 | template<typename _R1, typename _R2>
| ^
/usr/include/c++/11/ratio:307:34: note: ‘constexpr const intmax_t std::__ratio_multiply<_R1, _R2>::den’ previously declared here
307 | static constexpr intmax_t den = type::den;
| ^~~
わかる方解決してください.