I get this error when i try to build my project that uses tensorflow libraries.My code is in c++11 and the environment is windows 10.
I built tensorflow from source,i also built protobuf v3.6.1.2 from source.I also tried installing protobuf using vcpkg but i still gets the same error.
This is the error iam getting mocs_compilation.cpp
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/arena.h(692):
error C3857: 'Map': multiple template parameter lists are not allowed
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(359):
warning C4127: conditional expression is constant
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(359):
note: consider using 'if constexpr' statement instead
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(366):
warning C4127: conditional expression is constant
C:\libs\vcpkg\installed\x64-windows\include\google/protobuf/stubs/strutil.h(366):
note: consider using 'if constexpr' statement instead
c:\libs\vcpkg\installed\x64-windows\include\unsupported\eigen\cxx11\src/Tensor/Tensor.h(76):
warning C4554: '&': check operator precedence for possible error;
use parentheses to clarify precedence
c:\libs\vcpkg\installed\x64-windows\include\unsupported\eigen\cxx11\src/Tensor/TensorMap.h(33):
note: see reference to class template instantiation 'Eigen::Tensor'
being compiled
What could be the problem?Or where is the different version of protobuf installed?