boostorg / boostorg/boost

Error in boost library when compiling an application

Open
#877 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
8.6k
Forks
1.9k
Avg merge
39m
Merged PRs (30d)
2

Description

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](https://github.com/boostorg/boost/assets/114661411/c8c02f1d-7e18-4a7d-80f4-85d5b2a3f0c6)

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by transcribing the compiler error from the linked image and reproducing the external C++ project build on Debian testing with Boost 1.83 installed through apt. Compare its CMake configuration and dependencies with the working Fedora setup using Boost 1.81. Done means identifying a reproducible installation or compatibility cause and documenting the minimal fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, debian
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.