On 4/8/20 4:15 PM, Hartmut Kaiser wrote:
> 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

Currently, I use these settings:

My project's CMake script:
set(CMAKE_CXX_STANDARD 17)

Toolchain file:
set(HPX_USE_CMAKE_CXX_STANDARD ON CACHE BOOL "")
set(HPX_WITH_CXX17 ON CACHE BOOL "")

The generated libs/filesystem/include/hpx/filesystem/config/defines.hpp 
does not contain any define.

I can try to make a minimal failing example. Maybe the way I incorporate 
HPX in my project (using CMake FetchContent) is not correct or tested. 
But using HPX 1.4.1 works fine. I rebuild everything regularly on 
different machines and for different build types.

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

Reply via email to