Closed Bruce-Luuuu closed 1 year ago
I'll investigate. Thanks.
As my issue is similar to issue 32, I left a comment there asking how he fixed it. But I didn't get '-std=c++17' and my gcc version is 12.2.0.
Later I read issue93 and I think maybe the reason I got the error log is because I installed libsodium on my own. So I follow your advice. But I still got exactly the same error log as above.
I don't think it's related to those...
My guess is that the when_all_ready header need to #include
Can you try that?
Sorry, could you be more specific? Thanks.
So you see the file that the compiler is saying that std::exchange
doesn't exist? macoro/when_all.h
Add #include <utility>
to the top and try to compile
Thanks for your help.
I succeeded in building variant-lite following your guide, after that I encountered a similar error log which says std::exchange
doesn't exist several times. Each time I add #include <utility>
at the top of the corresponding file.
Now I built the whole project successfully.
: )
First of all variant wasn't the issue. Macoro was.
Can you remember where these other errors were? I need to fix them. Unfortunately I don't get these errors on my machine so need your belp
Thanks
Much appreciated. I'll send out a fix soon.
The outputs are as follows: