Skip to content

Conversation

@jeremy-murphy
Copy link
Contributor

No description provided.

@jeremy-murphy jeremy-murphy self-assigned this Oct 13, 2025
@jeremy-murphy
Copy link
Contributor Author

jeremy-murphy commented Oct 13, 2025

@grafikrobot , did I add it correctly?

Or is BGL the first library to depend on Boost.Geometry and test this part of the build system?

@grafikrobot
Copy link
Member

@grafikrobot , did I add it correctly?

Yes.

Or is BGL the first library to depend on Boost.Geometry and test this part of the build system?

Don't know.

@jeremy-murphy
Copy link
Contributor Author

  The link interface of target "boost_geometry" contains:

    Boost::crc

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

OK, so this is a bug in Boost.Geometry?

@jeremy-murphy
Copy link
Contributor Author

@pdimov do you maintain Boost.CRC? Do you know if this problem is with Geometry or CRC?

@pdimov
Copy link
Member

pdimov commented Oct 22, 2025

It's not a problem in CRC. It's caused by Geometry listing CRC as a dependency in its CMakeLists.txt here:

https://github.com/boostorg/geometry/blob/8aaf504091cfb46541b0a014cb0778c4d7754b51/CMakeLists.txt#L27

but it doesn't actually depend on CRC.

@jeremy-murphy
Copy link
Contributor Author

@pdimov thanks for answering. But... why does that cause this error, just because it doesn't actually use it?

@pdimov
Copy link
Member

pdimov commented Oct 23, 2025

Because only the actual dependencies are installed by depinst, so libs/crc is empty and the target Boost::crc doesn't exist.

@jeremy-murphy
Copy link
Contributor Author

Thanks for the explanation. PR to fix Boost.Geometry: boostorg/geometry#1437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants