boostorg / boost

Super-project for modularized Boost
https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
Boost Software License 1.0
6.97k stars 1.72k forks source link

Error in boost library when compiling an application #877

Open SpirosZafeiris opened 4 months ago

SpirosZafeiris commented 4 months ago

Hello everyone.

I am trying to compile an external cpp project that uses boost (linked and built with CMake).

However the following error is thrown while compiling the project.

image

I am on Debian testing (trixie) and the boost library is installed via apt install libboost1.83-all-dev.

In my laptop I have dnf as a package manager, and I installed with dnf install boost-devel (it installs 1.81.0 version) and everything compiled (and ran) fine.

Am I missing something while installing the library?

Thanks in advance.

mclow commented 4 months ago

<algorithm> is a standard library header file, not part of boost. I suspect that something in your setup is incorrect.