fstark/macflim

Compile Error

kenfager opened this issue · 3 comments

Hello!

I've been meaning to try this since being wowed by it at Midwest Gaming Classic. I've downloaded the repository to my PiSCSI device and followed the installs for dependencies. When I try to make the file I'm getting an error.

pi@piscsi:~/macflim/src $ make
c++  -std=c++2a -c -O3 -I liblzg/src/include flimmaker.cpp -o flimmaker.o
In file included from flimcompressor.hpp:5,
                 from flimencoder.hpp:6,
                 from flimmaker.cpp:37:
framebuffer.hpp:7:10: fatal error: bit: No such file or directory
 #include <bit>
          ^~~~~
compilation terminated.
make: *** [Makefile:26: flimmaker.o] Error 1

Any guidance for someone who doesn't know C++ would be most appreciated.

-ken

Thx for the report, let's debug that.

This is strange as <bit> is a standard C++20 include.

However, I don't think I use the functions anymore, and removing the include from my version didn't break anything.

Can you remove the line #include from line 7 of ruler.hpp and tell me how it goes?

(but your C++ dev environment is wrong somewhere, so we may have other issues later)

Looking at another comment, it seems you standard library may be slightly outdated:

yuzu-emu/yuzu#4780

Anyway, let me know if removing it works.