So I would have expected that apt-get build-dep wsclean would install me everything I need to build the latest wsclean from source, but not so, it can't find pybind11/embed.h. I do have pybind11-dev installed.
$ cmake .. && make
[ 11%] Building CXX object CMakeFiles/wsclean-object.dir/deconvolution/pythondeconvolution.cpp.o
In file included from /home/oms/src/wsclean/deconvolution/pythondeconvolution.cpp:1:0:
/home/oms/src/wsclean/deconvolution/pythondeconvolution.h:9:10: fatal error: pybind11/embed.h: No such file or directory
#include <pybind11/embed.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/wsclean-object.dir/build.make:398: recipe for target 'CMakeFiles/wsclean-object.dir/deconvolution/pythondeconvolution.cpp.o' failed
make[2]: *** [CMakeFiles/wsclean-object.dir/deconvolution/pythondeconvolution.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/oms/src/wsclean/deconvolution/deconvolution.cpp:7:0:
/home/oms/src/wsclean/deconvolution/pythondeconvolution.h:9:10: fatal error: pybind11/embed.h: No such file or directory
#include <pybind11/embed.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/wsclean-object.dir/build.make:230: recipe for target 'CMakeFiles/wsclean-object.dir/deconvolution/deconvolution.cpp.o' failed
make[2]: *** [CMakeFiles/wsclean-object.dir/deconvolution/deconvolution.cpp.o] Error 1
CMakeFiles/Makefile2:450: recipe for target 'CMakeFiles/wsclean-object.dir/all' failed
make[1]: *** [CMakeFiles/wsclean-object.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
oms@simon:~/src/wsclean/build$
So I would have expected that
apt-get build-dep wsclean
would install me everything I need to build the latest wsclean from source, but not so, it can't findpybind11/embed.h
. I do havepybind11-dev
installed.What am I missing?