abseil / abseil/abseil-cpp

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

オープン
#1,666 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
18.1k
フォーク
3.2k
平均マージ
20時間 36分
マージ済み PR(30日)
1

説明

### 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 215105818dfde3174fe799600bb0f3cae233d0bf # 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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。