I am currently working on elementary OS 5.1.2 Hera x86_64.
I am having issues installing the boost cpp library on platform IO, it shows up these errors.
cannot open source file “boost/config.hpp” (dependency of “/usr/include/boost/math/interpolators/cubic_b_spline.hpp”)
cannot open source file “boost/config.hpp” (dependency of “/usr/include/boost/random/mersenne_twister.hpp”)
cannot open source file “boost/assert.hpp” (dependency of “/usr/include/boost/random/uniform_real_distribution.hpp”)
Here’s my platform io.ini
[env:nucleo_f411re]
platform = ststm32
board = nucleo_f411re
framework = arduino
lib_ldf_mode = chain+
lib_deps =
https://github.com/mpflaga/Arduino-MemoryFree.git
/usr/include/boost/math/interpolators/cubic_b_spline.hpp
/usr/include/boost/random/mersenne_twister.hpp
/usr/include/boost/random/uniform_real_distribution.hpp
;https://github.com/boostorg/boost.git
;https://github.com/boostorg/math.git
;https://github.com/boostorg/random.git
It even shows the libs are included in the lib manager…
and these are my code header files
With the same header files, my code compiles well on the g++ compiler. ie
I have referred to the following links still no help …