tryphotino / photino.Native

https://tryphotino.io
Apache License 2.0
138 stars 47 forks source link

Is ubuntu 18.04 not supported? #85

Closed NothingToHere closed 2 years ago

NothingToHere commented 2 years ago

CFLAGS=-std=c++2a in the library's makefile.

NothingToHere commented 2 years ago

Photino.NET: "Photino.Blazor App".SendWebMessage(bwv:["BeginInvokeJS",2,"Blazor._internal.attachWebRendererInterop","[0,{\u0022__dotNetObject\u0022:1},{},{}]",3,0]) /home/auser/RiderProjects/MyApp/MyApp/bin/Debug/net6.0/MyApp: symbol lookup error: /home/auser/RiderProjects/MyApp/MyApp/bin/Debug/net6.0/runtimes/linux-x64/native/Photino.Native.so: undefined symbol: _ZNSt7cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev

NothingToHere commented 2 years ago

The error disappeared when I changed CFLAGS=-std=c++2a to CFLAGS=-std=c++17

MikeYeager commented 2 years ago

It appears Ubuntu 18.04 requires the older C++ compiler? Good to know for those running 18.04. Thank you.