How to resolve this error? #255
-
Visual Studio 2019 LNK2019 unresolved external symbol "class std::shared_ptr __cdecl ftxui::operator|(class std::shared_ptr,class std::function<class std::shared_ptr __cdecl(class std::shared_ptr)>)" (??Uftxui@@ya?AV?$shared_ptr@VNode@ftxui@@@std@@v12@V?$function@$$A6A?AV?$shared_ptr@VNode@ftxui@@@std@@v12@@z@2@@z) referenced in function "public: __thiscall <lambda_d45c10ce5a431827cd79926d163c102c>::operator()(void)const " (??R<lambda_d45c10ce5a431827cd79926d163c102c>@@qbe@XZ) This error occurs when I try to build any of the examples |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I guess this was incorrectly linking against ftxui. There is a starter project using cmake here: |
Beta Was this translation helpful? Give feedback.
I guess this was incorrectly linking against ftxui.
There is a starter project using cmake here:
https://github.com/ArthurSonzogni/ftxui-starter
As an example.