PointCloudLibrary / PointCloudLibrary/pcl

[compile error] "Cannot open include file: "flann/util/params. h": No such file or directory"

Open
#5,470 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind: compile error platform: windows status: triage
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

Operating environment
qt5.15.2+pcl1.12.1+vtk9.1
vtk9.1 Compile with cmake+vs2022

QT CMakeLists.txt
find_package(PCL 1.12.1 REQUIRED COMPONENTS common io)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
link_directories(${PCL_LIBRARY_DIRS})

Compilation Error
D:\Program Files (x86)\PCL 1.12.1\include\pcl-1.12\pcl\kdtree\kdtree_ flann. h: 44: error: C1083: Cannot open the include file: "flann/util/params. h": No such file or directory

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pcl/kdtree/kdtree_flann.h and the reported CMakeLists.txt, then reproduce the VS2022 build using the listed Qt, PCL, and VTK versions. Check why the FLANN include path is unavailable; done means the project compiles without the missing flann/util/params.h error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.