skui-org / skui

Skia-based C++ UI framework
MIT License
402 stars 62 forks source link

fatal error: 'experimental/filesystem' file not found OSX #6

Closed golgobot closed 5 years ago

golgobot commented 5 years ago

Either remove use of experimental packages or include instructions for osx on how to compile this.

Scanning dependencies of target core
[ 82%] Building CXX object core/CMakeFiles/core.dir/application.c++.o
[ 82%] Building CXX object core/CMakeFiles/core.dir/command.c++.o
[ 82%] Building CXX object core/CMakeFiles/core.dir/command_queue.c++.o
[ 82%] Building CXX object core/CMakeFiles/core.dir/event_loop.c++.o
[ 82%] Building CXX object core/CMakeFiles/core.dir/library.c++.o
In file included from /Users/me/p/skui/core/library.c++:25:
In file included from /Users/me/p/skui/core/library.h++:33:
/Users/me/p/skui/core/path.h++:36:10: fatal error: 'experimental/filesystem' file not found
#include <experimental/filesystem>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [core/CMakeFiles/core.dir/library.c++.o] Error 1
make[1]: *** [core/CMakeFiles/core.dir/all] Error 2
make: *** [all] Error 2
rubenvb commented 5 years ago

Hi,

thanks for the interest in this project. As you can read in the table included in the README.md file, you will need a complete C++ standard library. As you so directly noticed, XCode's version of libc++ is not complete: they have omitted various C++14/17 components that are present in the upstream libc++.

So you have two options on Mac OS X:

Please also relax your mildly unhelpful demanding tone.