In file included from Src/TpmDevice.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:46: error: expected unqualified-id In file included from Src/Serialize.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/Tpm2.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' In file included from Src/TpmHelpers.cpp:6: In file included from Src/stdafx.h:29: EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ include/fdefs.h:112:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/Serialize.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector/Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: ^ EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/Tpm2.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vectorIn file included from Src/Serialize.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:116:46: error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here :class _LIBCPP_TEMPLATE_VIS basic_string ^ EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here 470:class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/Tpm2.cpp:6: 28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmDevice.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmDevice.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:116:46: error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' class _LIBCPP_TEMPLATE_VIS basic_string ^EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46: error: expected unqualified-id In file included from Src/stdafx.h:29 EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member : include/fdefs.h:116:46: error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS basic_string ^ EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmHelpers.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmHelpers.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:116:46: error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS basic_string ^ In file included from Src/Crypto.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ In file included from Src/TpmPolicy.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ In file included from Src/TpmAuthSessions.cpp:8: In file included from Src/stdafx.h:29: include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46:include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/Crypto.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/Crypto.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:116:46: error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS basic_string ^ error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmPolicy.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^/Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28In file included from Src/TpmStructure.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:95:24: error: use of undeclared identifier 'BYTE' using ByteVec = vector; ^ : note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmPolicy.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:116:46: error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS basic_string ^ include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmAuthSessions.cpp:8: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmAuthSessions.cpp:8: In file included from Src/stdafx.h:29: include/fdefs.h:116:46: include/fdefs.h:112:53: error: use of undeclared identifier 'BYTE' error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:112:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS basic_string ^ include/fdefs.h:113:53: error: use of undeclared identifier 'UINT32' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:113:46: error: expected unqualified-id EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ include/fdefs.h:114:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmStructure.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:115:46: error: explicit instantiation of 'vector' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:470:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS vector ^ In file included from Src/TpmStructure.cpp:6: In file included from Src/stdafx.h:29: include/fdefs.h:116:46: error: explicit instantiation of 'basic_string' does not refer to a function template, variable template, member function, member class, or static data member EXPIMP_TEMPLATE template class _DLLEXP_ std::basic_string; ^ /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:667:28: note: explicit instantiation refers here class _LIBCPP_TEMPLATE_VIS basic_string ^ In file included from Src/Serialize.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/Serialize.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ In file included from Src/TpmDevice.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/TpmDevice.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; In file included from Src/Tpm2.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/Tpm2.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; include/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ In file included from include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ Src/TpmHelpers.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/TpmHelpers.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: errorinclude/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:In file included from Src/TpmAuthSessions.cpp:8: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/TpmAuthSessions.cpp:8: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ : expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ include/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:include/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from Src/Crypto.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/Crypto.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; In file included from Src/TpmPolicy.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/TpmPolicy.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ 22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from Src/TpmStructure.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:14: error: variable has incomplete type '_DLLEXP_' _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/fdefs.h:112:32: note: forward declaration of '_DLLEXP_' EXPIMP_TEMPLATE template class _DLLEXP_ std::vector; ^ In file included from Src/TpmStructure.cpp:6: In file included from Src/stdafx.h:32: In file included from include/Tpm2.h:19: In file included from include/TpmMarshal.h:8: include/Helpers.h:22:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ ; include/Helpers.h:28:28: error: use of undeclared identifier 'RandomBytes' return (*(int32_t*)RandomBytes(4).data() & 0x7FFFFFFF) % upperBound; ^ include/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] include/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] include/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] include/Helpers.h:33:52: error: use of undeclared identifier 'RandomBytes' return (int32_t)(lowerBound + (*(uint32_t*)RandomBytes(4).data()) % ((uint32_t)upperBound - lowerBound)); ^ include/Helpers.h:37:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:37:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ ; include/Helpers.h:40:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec Concatenate(const vector& v); ^ include/Helpers.h:22:14: note: previous definition is here _DLLEXP_ ByteVec RandomBytes(size_t numBytes); ^ include/Helpers.h:40:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec Concatenate(const vector& v); ^ ; include/Helpers.h:43:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ include/Helpers.h:37:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const ByteVec& buf1, const ByteVec& buf2); ^ include/Helpers.h:43:21: error: expected ';' after top level declarator _DLLEXP_ ByteVec TrimTrailingZeros(const ByteVec& buf); ^ ; include/Helpers.h:46:14: error: redefinition of 'ByteVec' _DLLEXP_ ByteVec ShiftRight(const ByteVec& buf, size_t numBits); ^ include/Helpers.h:40:14: note: previous definition is here _DLLEXP_ ByteVec Concatenate(const vector& v); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. make: *** [bin/obj/Src/release/Serialize.o] Error 1 make: *** Waiting for unfinished jobs.... 20 errors generated. 20 errors generated. make: *** [bin/obj/Src/release/TpmDevice.o] Error 1 make: *** [bin/obj/Src/release/Tpm2.o] Error 1 20 errors generated. make: *** [bin/obj/Src/release/TpmHelpers.o] Error 1 20 errors generated. make: *** [bin/obj/Src/release/TpmPolicy.o] Error 1 make: *** [bin/obj/Src/release/TpmAuthSessions.o] Error 1 20 errors generated. make: *** [bin/obj/Src/release/TpmStructure.o] Error 1 20 errors generated. make: *** [bin/obj/Src/release/Crypto.o] Error 1 tssmsr/cci.20201117: WARN: Build folder is dirty, removing it: /Users/jenkins/w/cci_PR-4552/.conan/data/tssmsr/cci.20201117/_/_/build/abd8d60efb2ee0b86c4a52eced60e13f959e2771 tssmsr/cci.20201117: ERROR: Package 'abd8d60efb2ee0b86c4a52eced60e13f959e2771' build failed tssmsr/cci.20201117: WARN: Build folder /Users/jenkins/w/cci_PR-4552/.conan/data/tssmsr/cci.20201117/_/_/build/abd8d60efb2ee0b86c4a52eced60e13f959e2771 ERROR: tssmsr/cci.20201117: Error in build() method, line 70 args=[f"CONFIG={str(self.settings.build_type).lower()}", "-C", self._build_subfolder]) ConanException: Error 2 while executing make 'CONFIG=release' '-C' 'source_subfolder/TSS.CPP' -j8