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

Error when building ABY framework #80

Closed
Cestlaviez opened this issue Aug 14, 2018 · 3 comments
Closed

Error when building ABY framework #80

Cestlaviez opened this issue Aug 14, 2018 · 3 comments

Comments

@Cestlaviez
Copy link

When I tried to build the ABY framework, these errors occurred.

ABY/src/abycore/sharing/boolsharing.cpp:20:22: fatal error: filesystem: No such file or directory
compilation terminated.
src/abycore/CMakeFiles/aby.dir/build.make:192: recipe for target 'src/abycore/CMakeFiles/aby.dir/sharing/boolsharing.cpp.o' failed
make[2]: *** [src/abycore/CMakeFiles/aby.dir/sharing/boolsharing.cpp.o] Error 1
CMakeFiles/Makefile2:260: recipe for target 'src/abycore/CMakeFiles/aby.dir/all' failed
make[1]: *** [src/abycore/CMakeFiles/aby.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Then I tried to change filesystem into experimental/filesystem , but it didn't work.

@lenerd
Copy link
Collaborator

lenerd commented Aug 14, 2018

Hi,
if you use the experimental/filesystem header, then you need to use the std::experimental::filesystem namespace as well (iirc).
The C++17 filesystem library (non-experimental) should be available with libstd++ 8 or newer (shipped with GCC 8) or libc++ 7 or newer.

@Cestlaviez
Copy link
Author

I have used the std::experimental::filesystem, it didn't work.
But after I upgraded GCC to version 8, it succeeded.
Thanks.

@lenerd
Copy link
Collaborator

lenerd commented Aug 14, 2018

Ok, I have updated the README that a recent GCC version is required.

@lenerd lenerd closed this as completed Aug 14, 2018
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

2 participants