Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMake]: Could not find a configuration file for package "absl" that is compatible with requested version "" #1666

Open
SuperAruba opened this issue May 4, 2024 · 1 comment

Comments

@SuperAruba
Copy link

Describe the issue

At this point I'm doing cross-compilation on other platforms.
I use "find_package" to access absl lib.
When I write "find_package(absl REQUIRED)" in the CMakeLists.txt, The following error occurred:
CMake Error at cartographer/CMakeLists.txt:91 (find_package):
Could not find a configuration file for package "absl" that is compatible
with requested version "".

The following configuration files were considered but not accepted:

/usr/local/lib/cmake/absl/abslConfig.cmake, version: 20211102 (64bit)

But I didn't specify any version.

Steps to reproduce the problem

After successfully built ABSL,The absl library is referenced.

What version of Abseil are you using?

git checkout 2151058 # 20211102.0

What operating system and version are you using?

Ubuntu20.04

What compiler and version are you using?

I don't know

What build system are you using?

i686-pc-linux-gnu

Additional context

No response

@StefanBruens
Copy link

Compare
... version: 20211102 (64bit)
with
i686-pc-linux-gnu

The latter is 32bit.

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

No branches or pull requests

2 participants