Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue on MacOS + workaround #9

Open
macbutch opened this issue Jul 8, 2021 · 0 comments
Open

Build issue on MacOS + workaround #9

macbutch opened this issue Jul 8, 2021 · 0 comments

Comments

@macbutch
Copy link

macbutch commented Jul 8, 2021

Building on MacOS yields:

...
[ 50%] Building CXX object CMakeFiles/gui.dir/src/Mahi/Gui/Native.cpp.o
/Users/mark/dev/mark/sfs/gui/build/_deps/mahi-gui-src/src/Mahi/Gui/Native.cpp:25:10: fatal error: 'filesystem' file not found
#include <filesystem>

I was able to figure out that this relates to the Native dialogs and also the <filesystem> header is not available in my environment. I have been able to work around this (for now) by disabling the native dialogs. Ideally CMake should be finding my <filesystem> headers (I think they're there); I also noticed that it's set to use C++14 but <filesystem> is a C++17 thing (I think).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant