Skip to content

Handling new boost process system #1328

Description

@Arthoni

Mac-15

==> Downloading https://ghcr.io/v2/homebrew/core/boost/blobs/sha256:40110dc77bd85db9b7bfc5c23d1cbd58f8ef501ba355484419f9d11ccabaefc1

-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.88.0/BoostConfig.cmake (found suitable version "1.88.0", minimum required is "1.53")

MyProcess.cpp:139:21: error: unexpected namespace name 'environment': expected expression
139 | boost::process::environment ProcessEnv;

Windows

C:/msys64/mingw64/include/boost/asio/detail/socket_types.hpp:24:4: error: #error WinSock.h has already been included
24 | # error WinSock.h has already been included
| ^~~~~
In file included from C:/msys64/mingw64/include/boost/asio/detail/socket_types.hpp:33:
C:/msys64/mingw64/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
15 | #warning Please include winsock2.h before windows.h
| ^~~~~~~
MyProcess.cpp: In member function 'bool openfluid::utils::Process::run()':
MyProcess.cpp:139:33: error: expected primary-expression before 'ProcessEnv'
139 | boost::process::environment ProcessEnv;
| ^~~~~~~~~~

-- Found Boost: C:/msys64/mingw64/lib/cmake/Boost-1.88.0/BoostConfig.cmake (found suitable version "1.88.0", minimum required is "1.53")

=> Besoin d'un comportement différent à partir de Boost 1.86 avec nouvelle syntaxe de process

cf https://www.boost.org/doc/libs/1_87_0/doc/html/boost_process/v2.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions