- Being 74.0.3701.0 the version of Chrome: Go to https://chromium.googlesource.com/chromium/src/+/74.0.3701.0/DEPS
- Look for 'webrtc_git'
- Add the following arg to
gn gen
command:clang_use_chrome_plugins=false
"cl" "-Ideps/libwebrtc\liblibwebrtc.a.p" | |
"-I..\..\..\deps\libwebrtc" | |
"-I..\..\..\subprojects\openssl-3.0.7\include" | |
"-I..\..\..\subprojects\abseil-cpp-20211102.0" | |
"-I..\..\..\subprojects\flatbuffers-22.11.23\include" | |
"-I..\..\..\subprojects\flatbuffers-22.11.23\grpc" | |
"-I..\..\..\subprojects\libuv-v1.44.2\include" | |
"-DNDEBUG" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/EHsc" "/std:c++17" "/permissive-" "/O2" "/Gw" "-DMS_LITTLE_ENDIAN" "-DNOMINMAX" "-DWIN32_LEAN_AND_MEAN" "-D_CRT_SECURE_NO_WARNINGS" "-D_SCL_SECURE_NO_WARNINGS" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "/Fddeps/libwebrtc\liblibwebrtc.a.p\libwebrtc_system_wrappers_source_field_trial.cc.pdb" /Fodeps/libwebrtc/liblibwebrtc.a.p/libwebrtc_system_wrappers_source_field_trial.cc.obj "/c" ../../../deps/libwebrtc/libwebrtc/system_wrappers/source/field_trial.cc | |
C:\Users\jmillan\mediasoup\worker\include\FBS\consumer_generated.h(190): error C2059: syntax error: '=' |
..\..\..\subprojects\flatbuffers-22.11.23\include/flatbuffers/verifier.h: In instantiation of 'bool flatbuffers::Verifier::VerifyTable(const T*) [with T = FBS::Consumer::SetPriorityResponse]': | |
..\..\..\include/FBS/response_generated.h:690:34: required from here | |
..\..\..\subprojects\flatbuffers-22.11.23\include/flatbuffers/verifier.h:112:29: error: invalid use of incomplete type 'const struct FBS::Consumer::SetPriorityResponse' | |
112 | return !table || table->Verify(*this); | |
| ~~~~~~~^~~~~~ |
// automatically generated by the FlatBuffers compiler, do not modify | |
#ifndef FLATBUFFERS_GENERATED_RESPONSE_FBS_RESPONSE_H_ | |
#define FLATBUFFERS_GENERATED_RESPONSE_FBS_RESPONSE_H_ | |
#include "flatbuffers/flatbuffers.h" | |
// Ensure the included flatbuffers.h is the same version as when this file was | |
// generated, otherwise it may not be compatible. |
..\..\..\include/FBS/consumer_generated.h:92:38: warning: inline function 'const flatbuffers::TypeTable* FBS::Consumer::SetPreferredLayersRequestTypeTable()' used but never defined | |
92 | inline const flatbuffers::TypeTable *SetPreferredLayersRequestTypeTable(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
..\..\..\include/FBS/consumer_generated.h:96:38: warning: inline function 'const flatbuffers::TypeTable* FBS::Consumer::SetPriorityRequestTypeTable()' used but never defined | |
96 | inline const flatbuffers::TypeTable *SetPriorityRequestTypeTable(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
..\..\..\include/FBS/consumer_generated.h:100:38: warning: inline function 'const flatbuffers::TypeTable* FBS::Consumer::EnableTraceEventRequestTypeTable()' used but never defined | |
100 | inline const flatbuffers::TypeTable *EnableTraceEventRequestTypeTable(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
..\..\..\include/F |
// automatically generated by the FlatBuffers compiler, do not modify | |
#ifndef FLATBUFFERS_GENERATED_CONSUMER_FBS_CONSUMER_H_ | |
#define FLATBUFFERS_GENERATED_CONSUMER_FBS_CONSUMER_H_ | |
#include "flatbuffers/flatbuffers.h" | |
// Ensure the included flatbuffers.h is the same version as when this file was | |
// generated, otherwise it may not be compatible. |
gn gen
command: clang_use_chrome_plugins=false