Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by saagarjha on Saturday March 07, 2020 @09:43AM
(#22511702)
Oh boy, neither GCC nor Clang liked the Unicode one bit:
[ Parent
| on HN ]
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by akinomyoga on Saturday March 07, 2020 @09:54AM
(#22511757)
Thank you. This issue is discussed here https://github.com/akinomyoga/cxxmatrix/issues/3
It is caused by the UTF-8 unaware awk. I haven't yet figured out why it happens, but at least you need to set your locale to one of UTF-8 locales.
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by superkuh on Saturday March 07, 2020 @09:47AM
(#22511710)
You made it further than I did. The majority of machines out there today probably do not support the required -std=c++17. I know none of my OS installs (and their compilers) do.
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by saagarjha on Saturday March 07, 2020 @09:50AM
(#22511728)
I think Xcode has shipped with a compliant C++17 compiler for over a year, but I used GCC to compile this one :)
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by fhars on Saturday March 07, 2020 @09:58AM
(#22511777)
GCC has supported this for more than a year, too (at least since 7.4.0).
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by saagarjha on Saturday March 07, 2020 @10:12AM
(#22511878)
GCC 7.4.0 sadly misses certain C++ features (filesystems) and does not correctly support others (template argument deduction). I'm waiting for 20.04 to hopefully bump GCC to something newer…
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by KhoomeiK on Saturday March 07, 2020 @05:34PM
(#22514709)
I was able to fix it by find all 'ï' and replace with '\U000000EF' in glyph.inl
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by WantonQuantum on Saturday March 07, 2020 @10:42PM
(#22516209)
I fixed this on my mac (High Sierra) with:
brew install gawk
make clean
make
Re:Show HN: Matrix rain, Conway's Game of Life and Mandelbro...
by WantonQuantum on Saturday March 07, 2020 @10:48PM
(#22516228)
And shortly after, I did this:
brew cask install iterm2