Hi! I’m working on a native extension. I’m having some linker errors (due to a linked library trying to use newer C++ features than what --mmacos-version-min=10.7 can provide), but I also noticed some other errors (or warnings?) that don’t seem to originate anywhere near my extension:
Are you linking against libunwind.a on macOS? It doesn’t seem to have been compiled with the proper --mmacos-version-min.
As @britzl mentions, the first warnings are just that, warnings. We’ll fix them for the next release, as well as making sure the Editor knows to display warning icons for them (as opposed to errors).
Your actual issue is the last printout, that it doesn’t find a struct when linking:
I solved that anyway by opening the dynamic version of libdiscord-rpc with dlopen() (at least until linking against dynamic libraries ships). Anyway, it’s preferrable to use the DLL as well on Windows to avoid a dependency on VC++ 2015 redist.
P.S.: Merry Christmas! What are you doing answering me on the forum?