boostorg / boostorg/boost

[question] I cannot use boost from Conan on WSL

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

Description

I am trying to use Boost's dynamic_bitset class, my project currently uses Conan to get its dependencies and CMake to build. I added Boost to Conan's requires and then I used CMake to `find_package(Boost REQUIRED)` and `target_link_libraries(MyProject PRIVATE boost::boost)`.
When I call conan install . it installs boost and then when I configure with CMake, it finds boost with all the header files etc.

When I build the project however, there is a chain of linked header files that ends with `#include `. This in turn tries to `#include ` which does not exist on my system, I can try and force define __APPLE__ to try and `#include ` instead, but again it doesnt appear to exist for me.

I am using WSL (v2.2.4) Ubuntu (v 24.04) to both build and run the application.

Why can I not find cl.h, why do I need it and what can I do to fix this?

Thanks :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.