You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to define this function, it can be successfully invoked in PCL 1.11.1, but went wrong in PCL 1.14.1.
Does PCL 1.14.1 have stricter memory management?
Expected behavior
filter_passthrough(cloud_input, cloud_in_parkinglot, PARKINGLOT_X_MIN, PARKINGLOT_X_MAX, "x");
I hope that similar types of syntax can be executed correctly.
In PCL 1.14.1, calling free(ptr) sometimes triggers an error, whereas PCL 1.11.1 does not trigger this error.
Your Environment (please complete the following information):
OS: Windows10
Compiler: MSVC (Visual Studio 2022)
PCL Version: PCL 1.11.1/PCL 1.14.1
Possible Solution
Has PCL 1.14.1 introduced stricter restrictions, such as ensuring that the input or output point clouds for filters cannot be null?
The issue I'm encountering doesn't seem to be caused by an empty point cloud, but I suspect there may be such limitations.
The text was updated successfully, but these errors were encountered:
@Neo-YH Hi, do you use CMake to build your code? If not, I would recommend you to use it. There are some compiler options that need to be set the same when compiling PCL and when compiling your own code (e.g. AVX/AVX2 enabled). CMake automatically takes care of this. It is possible to set these manually in Visual Studio, but using CMake is easier. See also https://pcl.readthedocs.io/projects/tutorials/en/master/using_pcl_pcl_config.html
@Neo-YH Using the AllInOne installer is fine, but like I said, I would recommend you to use CMake when compiling your own code/your own project. Then you should be able to use the AllInOne installer without problems.
Describe the bug
PCL 1.11.1 -> PCL 1.14.1, the same code went wrong
It might be my fault, but I couldn't find the reason. Sorry for put the question here.
Context
I want to define this function, it can be successfully invoked in PCL 1.11.1, but went wrong in PCL 1.14.1.
Does PCL 1.14.1 have stricter memory management?
Expected behavior
filter_passthrough(cloud_input, cloud_in_parkinglot, PARKINGLOT_X_MIN, PARKINGLOT_X_MAX, "x");
I hope that similar types of syntax can be executed correctly.
Current Behavior
In PCL 1.14.1, calling free(ptr) sometimes triggers an error, whereas PCL 1.11.1 does not trigger this error.
Your Environment (please complete the following information):
Possible Solution
Has PCL 1.14.1 introduced stricter restrictions, such as ensuring that the input or output point clouds for filters cannot be null?
The issue I'm encountering doesn't seem to be caused by an empty point cloud, but I suspect there may be such limitations.
The text was updated successfully, but these errors were encountered: