JetBrains / UnrealLink

Apache License 2.0
129 stars 23 forks source link

RiderLink fails to build with downloaded engine #188

Open improbable-andreaskrugersen opened 2 years ago

improbable-andreaskrugersen commented 2 years ago

I'm working on two projects in parallel, one of them uses a forked engine, the other one uses a downloaded one (both UE 4.27.2).

The forked engine RiderLink install works perfectly fine. The downloaded engine RiderLink install always fails with these errors. I'm on #RD-221.5787.36

I'm not sure if this happens because of the downloaded engine or if this is something else. My only solution is to disable RiderLink entirely

  hashing.h(31): [C2065] 'string_view': undeclared identifier
  hashing.h(31): [C2146] syntax error: missing ')' before identifier 'that'
  hashing.h(32): [C2143] syntax error: missing ';' before '{'
  hashing.h(32): [C2447] '{': missing function header (old-style formal list?)
  hashing.h(36): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(36): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(39): [C3615] failure was caused by control reaching the end of a constexpr function
  hashing.h(41): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(41): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(44): [C3615] failure was caused by control reaching the end of a constexpr function
  RdId.h(97): [C2064] term does not evaluate to a function taking 2 arguments
  RdId.h(107): [C2064] term does not evaluate to a function taking 2 arguments
  Serializers.cpp(16): [C2064] term does not evaluate to a function taking 1 arguments
  hashing.h(31): [C2065] 'string_view': undeclared identifier
  hashing.h(31): [C2146] syntax error: missing ')' before identifier 'that'
  hashing.h(32): [C2143] syntax error: missing ';' before '{'
  hashing.h(32): [C2447] '{': missing function header (old-style formal list?)
  hashing.h(36): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(36): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(39): [C3615] failure was caused by control reaching the end of a constexpr function
  hashing.h(41): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(41): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(44): [C3615] failure was caused by control reaching the end of a constexpr function
  RdId.h(97): [C2064] term does not evaluate to a function taking 2 arguments
  RdId.h(107): [C2064] term does not evaluate to a function taking 2 arguments
  base_sink-inl.h(29): [C2039] 'lock_guard': is not a member of 'std'
  thread(32): [C2039] see declaration of 'std'
  base_sink-inl.h(36): [C2039] 'lock_guard': is not a member of 'std'
  thread(32): [C2039] see declaration of 'std'
  base_sink-inl.h(43): [C2039] 'lock_guard': is not a member of 'std'
  thread(32): [C2039] see declaration of 'std'
  base_sink-inl.h(50): [C2039] 'lock_guard': is not a member of 'std'
  thread(32): [C2039] see declaration of 'std'
  hashing.h(31): [C2065] 'string_view': undeclared identifier
  hashing.h(31): [C2146] syntax error: missing ')' before identifier 'that'
  hashing.h(32): [C2143] syntax error: missing ';' before '{'
  hashing.h(32): [C2447] '{': missing function header (old-style formal list?)
  hashing.h(36): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(36): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(39): [C3615] failure was caused by control reaching the end of a constexpr function
  hashing.h(41): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(41): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(44): [C3615] failure was caused by control reaching the end of a constexpr function
  RdId.h(97): [C2064] term does not evaluate to a function taking 2 arguments
  RdId.h(107): [C2064] term does not evaluate to a function taking 2 arguments
  hashing.h(31): [C2065] 'string_view': undeclared identifier
  hashing.h(31): [C2146] syntax error: missing ')' before identifier 'that'
  hashing.h(32): [C2143] syntax error: missing ';' before '{'
  hashing.h(32): [C2447] '{': missing function header (old-style formal list?)
  hashing.h(36): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(36): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(39): [C3615] failure was caused by control reaching the end of a constexpr function
  hashing.h(41): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(41): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(44): [C3615] failure was caused by control reaching the end of a constexpr function
  RdId.h(97): [C2064] term does not evaluate to a function taking 2 arguments
  RdId.h(107): [C2064] term does not evaluate to a function taking 2 arguments
  hashing.h(31): [C2065] 'string_view': undeclared identifier
  hashing.h(31): [C2146] syntax error: missing ')' before identifier 'that'
  hashing.h(32): [C2143] syntax error: missing ';' before '{'
  hashing.h(32): [C2447] '{': missing function header (old-style formal list?)
  hashing.h(36): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(36): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(39): [C3615] failure was caused by control reaching the end of a constexpr function
  hashing.h(41): [C2365] 'rd::util::getPlatformIndependentHash': redefinition; previous definition was 'data variable'
  hashing.h(31): [C2365] see declaration of 'rd::util::getPlatformIndependentHash'
  hashing.h(41): [C3615] constexpr function 'rd::util::getPlatformIndependentHash' cannot result in a constant expression
  hashing.h(44): [C3615] failure was caused by control reaching the end of a constexpr function
  RdId.h(97): [C2064] term does not evaluate to a function taking 2 arguments
  RdId.h(107): [C2064] term does not evaluate to a function taking 2 arguments
  limits.h(70): [C4668] '__STDC_WANT_SECURE_LIB__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
  PostWindowsApi.h(10): [C4193] #pragma warning(pop): no matching '#pragma warning(push)'
  PostWindowsApi.h(78): [C4602] #pragma pop_macro: 'MAX_uint8' no previous #pragma push_macro for this identifier
  PostWindowsApi.h(79): [C4602] #pragma pop_macro: 'MAX_uint16' no previous #pragma push_macro for this identifier
  PostWindowsApi.h(80): [C4602] #pragma pop_macro: 'MAX_uint32' no previous #pragma push_macro for this identifier
  PostWindowsApi.h(81): [C4602] #pragma pop_macro: 'MAX_int32' no previous #pragma push_macro for this identifier
  PostWindowsApi.h(82): [C4602] #pragma pop_macro: 'TEXT' no previous #pragma push_macro for this identifier
  PostWindowsApi.h(83): [C4602] #pragma pop_macro: 'TRUE' no previous #pragma push_macro for this identifier
  PostWindowsApi.h(84): [C4602] #pragma pop_macro: 'FALSE' no previous #pragma push_macro for this identifier
  PostWindowsApi.h(87): [C4161] #pragma pack(pop...): more pops than pushes
  WiredRdTaskImpl.h(66): [C3861] 'SynchronousScheduler': identifier not found
  WiredRdTaskImpl.h(68): [C3861] see reference to class template instantiation 'rd::detail::WiredRdTaskImpl<T,S>' being compiled
  WiredRdTaskImpl.h(66): [C3861] 'SynchronousScheduler': identifier not found
  WiredRdTaskImpl.h(68): [C3861] see reference to class template instantiation 'rd::detail::WiredRdTaskImpl<T,S>' being compiled
  WiredRdTaskImpl.h(66): [C3861] 'SynchronousScheduler': identifier not found
  WiredRdTaskImpl.h(68): [C3861] see reference to class template instantiation 'rd::detail::WiredRdTaskImpl<T,S>' being compiled
  WiredRdTaskImpl.h(66): [C3861] 'SynchronousScheduler': identifier not found
  WiredRdTaskImpl.h(68): [C3861] see reference to class template instantiation 'rd::detail::WiredRdTaskImpl<T,S>' being compiled
linqen commented 3 months ago

Hey, check my answer here: https://github.com/JetBrains/UnrealLink/issues/278#issuecomment-2085041689