Open srinidhiPY opened 8 years ago
I had the same issue. Instead of using cmake use cmake-gui and check if there is a given path to mexext. In my case I had to manually set the path to /usr/local/bin/mexext after which compiling worked. While there is still only a 'nearest_neighbors.cpp' file in the src/matlab folder (which is normal), there is now a 'nearest_neighbors.mexa64 file under build/src/matlab which MATLAB can use.
Dear Mariusmuja, I am chetan from NITK, Surathkal, India. I am trying to use FLANN library in my research. I am getting this error in matlab. I have compiled the way you explained in the document. But there is a error which displays: Undefined function 'nearest_neighbors' for input arguments of type 'struct'
while i found that there is no 'nearest_neighbors.m' but instead i find 'nearest_neighbors.cpp' in the src/matlab folder. Please kindly help me to resolve this issue.
thanks