Meson doesn't find the Boost libraries
The following issue solved my problem:
Boost not detected on Fedora · Issue #2547
I replaced the meson build file by the following:
project('myproj', 'cpp')
cxx = meson.get_compiler('cpp')
boost_dep = [
cxx.find_library('boost_system'),
cxx.find_library('boost_filesystem'),
]
executable('myproj', 'main.cpp', dependencies : boost_dep)