-
Notifications
You must be signed in to change notification settings - Fork 647
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
FLANN : Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) for Windows #435
Comments
I'm running into the same problem, also for compiling PCL. |
I managed to build the project by checking out the 1.9.1 tag: |
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) https://gist.github.com/UnaNancyOwen/59319050d53c137ca8f3 |
You can pass the missing variable by calling the cmake:
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? |
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 ?
The text was updated successfully, but these errors were encountered: