Open thiyagu1 opened 4 years ago
I'm running into the same problem, also for compiling PCL. Did you find a solution for this @thiyagu1 ?
I managed to build the project by checking out the 1.9.1 tag:
git checkout 1.9.1
I was also stuck trying to build PCL from source and using the vcpkg dependencies (flann:x64-windows 2019-04-07-1). PCL won't generate because of a problem linking kdtree with flann_s???
When I pulled flann and tried to use the Cmake gui, it would not config. Reverted FLANN to the 1.9.1 tag, deleted the CMAKE cache and had no problems with CMake config, generate or VisualStudio build of FLANN. Then I went into CMAKE pcl and set FLANN_DIR to my new FLANN install directory and PCL builds correctly.
Seems like something is wrong with the FLANN Master and the vcpkg version of FLANN since the 1.9.1 tag works correctly???
Try to follow these steps (I only tried building FLANN, and using a translator)
You can pass the missing variable by calling the cmake:
cmake .. -DPKG_CONFIG_ROOT="$pwd/gtk/gtk/x64/release/bin" -DPKG_CONFIG_EXECUTABLE="$pwd/gtk/gtk/x64/release/bin/pkg-config.exe"
I my case I have pkg-konfig built as part of GTK toolbox
Check out y short guide in Readme.md on my fork of FLANN: https://github.com/iAnyKey/flann
we can assign path of lz4, PKGCONFIG is must?
You can pass the missing variable by calling the cmake:
cmake .. -DPKG_CONFIG_ROOT="$pwd/gtk/gtk/x64/release/bin" -DPKG_CONFIG_EXECUTABLE="$pwd/gtk/gtk/x64/release/bin/pkg-config.exe"
I my case I have pkg-konfig built as part of GTK toolbox
Check out y short guide in Readme.md on my fork of FLANN: https://github.com/iAnyKey/flann
but he said on windows...
I am actually setting up the Point Cloud Library (PCL). However, it requires a few other dependency libraries, and one among them was FLANN.
So, I wanted to build the FLANN from sources:
The import takeaway is
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Using PkgConfig with CMake is not a truly cross-platform solution, as Windows does not come with the pkg-config utility installed.So any solution for this issue ?