pip install fail to link
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- backend, build-system
調査の方向性
pyproject.toml と添付の CMakeLists.txt から始め、conda 環境内で pip install -e . を再現し、成功した CMake および pipx のビルドと比較します。報告されている OpenCV/libjpeg のリンカーエラーなしで editable インストールが完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm doing a Python extended library based on CMake and C++, and the dependencies include OpenCV and PCL, which are installed in the system.
The Python environment is managed by conda.
While the CMake build and system-wide pipx build succeeded, pip install -e . fails on linking: a bunch of error like /home/vscode/miniforge3/envs/lidar_od/compiler_compat/ld: /usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.4.6.0: undefined reference to jpeg_calc_output_dimensions@LIBJPEG_8.0'`
I think there is something missing in my configurations. But I could not find any tutorials or examples.
structure is as follows:
.
├── apps
│ ├── io
│ ├── logs
│ ├── test
│ └── tools
├── build
│ ├── apps
│ └── CMakeFiles
├── cmake
├── dist
├── images
├── include
│ └── lidar_odometry
├── python_bind
│ └── example_data
├── scripts
├── src
│ ├── cam_model
│ ├── cloud_process
│ ├── factors
│ ├── feature
│ ├── lidar_map
│ ├── lins
│ ├── misc
│ ├── registration
│ └── viewer
└── thirdparty
└── x86_64
# pyproject.toml
[build-system]
requires = ["scikit-build-core>=0.10", "pybind11", "cmake", "ninja"]
build-backend = "scikit_build_core.build"
[project]
name = "lidar_odometry"
version = "0.0.1"
description = "A minimal example package (with pybind11)"
readme = "README.md"
authors = [
{ name = "xb", email = "[email protected]" },
{ name = "lzn", email = "[email protected]" },
]
requires-python = ">=3.9, <3.11"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[tool.scikit-build]
wheel.expand-macos-universal-tags = true
minimum-version = "build-system.requires"
cmake = { build-type = "Release", args = ['-GNinja'] }
build-dir = "build/{wheel_tag}"
- 主要言語
- Python
- スター
- 147
- フォーク
- 39
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pybind/scikit_build_example のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
pybind/scikit_build_example#209 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
pybind/scikit_build_example#200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
pybind/scikit_build_example#189 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
pybind/scikit_build_example#181 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
pybind/scikit_build_example#161 · リアクション 1 件 ·
pybind/scikit_build_example の issue をすべて見る
似ている issue
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
netbox-community/netbox-scripts#217 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)対応中かも @nikolya-ctrl が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
aboutcode-org/vulnerablecode#2533 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
PermafrostDiscoveryGateway/water-timeseries-v2#312 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ClickHouse/dbt-clickhouse#829 ·
メンテナーはふだん 1 日以内に返信