You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that rtp::binary declared in a __declspec(dllimport)class causing we can not declare another std::vector<std::byte> in our application.
I know the c++ api compatibility is very poor, especially with the c++ api that uses stl. what I didn't anticipate was the conflicts that arise even when compiling libdatachannel with the source code~.
The text was updated successfully, but these errors were encountered:
I know, but the reality is that defining a vector<byte> directly myself causes the lnk1169 error, and including "rtc/common.hpp" directly still gives the same error, but including "rtc/track.hpp" or including "rtc/rtc.hpp" the error disappears. So I deduced that it had something to do with __declspec(dllimport).
detail see here
It seems that
rtp::binary
declared in a__declspec(dllimport)
class causing we can not declare anotherstd::vector<std::byte>
in our application.I know the c++ api compatibility is very poor, especially with the c++ api that uses stl. what I didn't anticipate was the conflicts that arise even when compiling libdatachannel with the source code~.
The text was updated successfully, but these errors were encountered: