Open morejiik opened 4 years ago
Update: I've found the problem. If you have an already existing file (in this case "flann_data") on disk, in the moment that you try to overwrite it with data of bigger size (i.e. with more elements in the matrix) it throws an exception. Everything works fine if the size is the same or smaller than the previous saving. It means that I've to check the existence of the file before saving and delete it if exists.
I hope this helps someone.
In any case, this a strange behaviour and should be considered as an issue.
Hi all, I'm using flann::save_tofile() to save a data matrix created with the aid of Point Cloud Library 1.10.0. The program works fine with data matrix flann::Matrix:
As soon as the rows increase above 37 elements I get a runtime error. The error is:
Unhandled exception at 0x00007FFEEAC9A799 in vfh_training.exe: Microsoft C++ exception: flann::FLANNException at memory location 0x00000029E72FF8E0. occurred
The error is generated after compiling and running the following (sample) code:
Configuration: Platform: Win 10 x64 FLANN version: (?) integrated as 3rd Party tool of PCL 1.10.0 HDF5: 1.12.0 IDE: Visual Studio 16.6.2 CMake: 3.16.4