WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

filesystem is part of the c++17 standard #7

@KatieTheMathematician

Description

@KatieTheMathematician

The cmakelists.txt file specifies c++17 but then includes stdc++fs in the target_link_libraries. Both simple.cpp and benchmark.cpp use std::experimental::filesystem. This fails to build with gcc 9.4.0 on Ubuntu. Removing stdc++fs from the target_link_libraries and using std::filesystem fixes the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions