The only explanation I have is that your build still finds some outdated
files (do you have HPX installed somewhere)? If

HPX_FILESYSTEM_WITH_BOOST_FILESYSTEM_COMPATIBILITY=On

(as you say) then there is no way the compiler would see the `#include
<filesystem>` it's complaining about (see
https://github.com/STEllAR-GROUP/hpx/blob/master/libs/filesystem/include/hpx
/filesystem.hpp#L22).

Could you find the (generated) file hpx/filesystem/config/defines.hpp - that
should contain (or not contain) a

#define HPX_FILESYSTEM_HAVE_BOOST_FILESYSTEM_COMPATIBILITY

Please make sure you don't have more than one of those files ensuring the
compiler picks the correct one.

Thanks!
Regards Hartmut
---------------
http://stellar.cct.lsu.edu
https://github.com/STEllAR-GROUP/hpx


> -----Original Message-----
> From: [email protected] <hpx-users-bounces@stellar-
> group.org> On Behalf Of Kor de Jong
> Sent: Wednesday, April 8, 2020 8:52 AM
> To: [email protected]
> Subject: Re: [hpx-users] Error specifying CXX standard when building
> project with HPX
>
> On 4/8/20 3:37 PM, Simberg Mikael wrote:
> > Have you by any chance set
> > HPX_FILESYSTEM_WITH_BOOST_FILESYSTEM_COMPATIBILITY=OFF or
> > HPX_WITH_CXX17_FILESYSTEM=ON? What does the CMake configuration report
> > for those two variables? GCC 7 does not support std::filesystem by
> > default (I think you can still get it by expliclity linking and/or
> > including experimental/filesystem), so HPX_WITH_CXX17_FILESYSTEM
> > should be detected to OFF. If it's not could I ask you to try a clean
> > build directory and see if the problem stays? In either case we may
> > have wonky detection or handling of cache variables.
>
> I found these filesystem related messages:
>
> -- Performing Test HPX_WITH_CXX17_FILESYSTEM - Failed
>
>
> --   Module configuration summary (filesystem):
>
> --     HPX_FILESYSTEM_WITH_BOOST_FILESYSTEM_COMPATIBILITY=ON
>
> --     HPX_FILESYSTEM_WITH_DEPRECATION_WARNINGS=OFF
>
> --     HPX_FILESYSTEM_WITH_TESTS=ON
>
> Kor
> _______________________________________________
> hpx-users mailing list
> [email protected]
> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users


_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to