When installing the cytolib Bioconductor package with libboost-filesystem-dev installed (Version: 1.83.0.1ubuntu2 on Ubuntu 24.04.2, R version 4.3.3), I get the following error:
boost/libs/filesystem/src/directory.cpp:1055:17: error: 'void boost::filesystem::directory_entry::assign_with_status(boost::filesystem::path&&, boost::filesystem::file_status, boost::filesystem::file_status)' is private within this context
ChatGPT suggested to change the call assign_with_status to assign in src/boost/libs/filesystem/src/directory.cpp (line1238, public git), and this indeed worked. I am not sure about the consequences of this change. The authors of cytolib may want to check.
sessionInfo( )
R version 4.3.3 (2024-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 24.04.2 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
time zone: Europe/Berlin
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocManager_1.30.26
loaded via a namespace (and not attached):
[1] compiler_4.3.3 tools_4.3.3
