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.


Mikael

________________________________
From: hpx-users-boun...@stellar-group.org <hpx-users-boun...@stellar-group.org> 
on behalf of Simberg Mikael <simbe...@cscs.ch>
Sent: Wednesday, April 8, 2020 3:07:12 PM
To: hpx-users@stellar-group.org
Subject: Re: [hpx-users] Error specifying CXX standard when building project 
with HPX



Thanks Kor, I'll have a look at that. Keep an eye on the same PR. I'll push 
changes over there.

________________________________
From: hpx-users-boun...@stellar-group.org <hpx-users-boun...@stellar-group.org> 
on behalf of Kor de Jong <k.dejo...@uu.nl>
Sent: Wednesday, April 8, 2020 2:37:55 PM
To: hpx-users@stellar-group.org
Subject: Re: [hpx-users] Error specifying CXX standard when building project 
with HPX

Hi Mikael,

On 4/8/20 2:25 PM, Simberg Mikael wrote:
> This is a silly bug on master. Sorry about that. Could you check that
> https://github.com/STEllAR-GROUP/hpx/pull/4504 fixes that for you? Note
> that we may still undeprecate the HPX_WITH_CXXAB options, I haven't yet
> decided if we'll keep CMAKE_CXX_STANDARD as the official way to set the
> standard. Just to clarify, did you get that error also just setting
> HPX_WITH_CXX17=ON?

I tried the fix and configuration succeeds now, but it results in
std::filesystem not being found.


hpx-src/libs/filesystem/include/hpx/filesystem.hpp:23:10: fatal error:
filesystem: No such file or directory
  #include <filesystem>
           ^~~~~~~~~~~~
compilation terminated.


Setting only HPX_WITH_CXX17=ON results in the same error.

Kor

_______________________________________________
hpx-users mailing list
hpx-users@stellar-group.org
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
_______________________________________________
hpx-users mailing list
hpx-users@stellar-group.org
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to