-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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_INCLUDE_DIRS is empty from this change #3202 #3218
Comments
Hi, sorry for the delay. Reasons for removal:
What I did not consider is the fact that this variable is needed for packaging. Unfortunately, none of your solutions are sufficient because of item 1. Could you explain why All-in-One installer needs this variable? As far as I can see, in PCLConfig it's hard-coded anyway: Line 223 in 4320d93
|
It is nessesary to get dependencies root path when generating PCL All-in-one Installer. # FLANN_INCLUDE_DIRS is C:/Program Files/flann/include
# FLANN_ROOT is C:/Program Files/flann
get_filename_component(FLANN_ROOT "${FLANN_INCLUDE_DIRS}" PATH)
...
# Copy all files in FLANN_ROOT to PCL_ROOT/3rdParty/FLANN
# Generate installer based file contained in PCL_ROOT |
Thanks. I will write some CMake code to extract |
It is necessary before the next release. |
I think it is not necessary, because the following small changes will work correctory.
# pcl_all_in_one_installer.cmake#L14
- get_filename_component(FLANN_ROOT "${FLANN_INCLUDE_DIRS}" PATH)
+ get_filename_component(FLANN_ROOT "${FLANN_INCLUDE_DIR}" PATH) |
But there is not pcl/cmake/Modules/FindFLANN.cmake Lines 36 to 49 in 2785b03
|
Oops, that's right. |
Do you have FLANN |
Is it enable in master? (I'm using 1.9.1.) |
Yes, this is a new feature in their |
I confirmed that it went through that route with FLANN master/HEAD.
Please write this code. Thanks, |
FLANN_INCLUDE_DIRS
is remove in this change #3202.Therefor, cmake/pcl_all_in_one_installer.cmake#L14 is empty.
It means that the copy files of 3rdParty/FLANN fails during installation.
pcl/cmake/pcl_all_in_one_installer.cmake
Line 14 in 2785b03
There are two solutions to this issue.
FLANN_INCLUDE_DIR
fromFLANN_INCLUDE_DIRS
FLANN_INCLUDE_DIRS
in cmake/Modules/FindFLANN.cmake+ set(FLANN_INCLUDE_DIRS ${FLANN_INCLUDE_DIR})
Which do you think is good?
The text was updated successfully, but these errors were encountered: