Skip to content
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

Run environment indude error #1

Open
vico1999-ros opened this issue Jan 4, 2024 · 2 comments
Open

Run environment indude error #1

vico1999-ros opened this issue Jan 4, 2024 · 2 comments

Comments

@vico1999-ros
Copy link

every step is ok . but when launch the ./enviroment the process. and invoke the ERROR . terminal window show the follow message:
[100%] Built target environment
(base) vico@vico-Robo:/lidar_WS/SFND_Lidar_Obstacle_Detection/build$ ls
CMakeCache.txt CMakeFiles cmake_install.cmake environment Makefile
(base) vico@vico-Robo:
/lidar_WS/SFND_Lidar_Obstacle_Detection/build$ ./environment
2024-01-04 16:15:38.641 ( 0.012s) [ 9699ACC0] vtkObject.cxx:186 ERR| vtkObject (0x560be4c4d0b0): Trying to delete object with non-zero reference count.
2024-01-04 16:15:38.641 ( 0.012s) [ 9699ACC0] vtkObjectBase.cxx:162 WARN| Trying to delete object with non-zero reference count.
2024-01-04 16:15:38.641 ( 0.012s) [ 9699ACC0] vtkObject.cxx:186 ERR| vtkObject (0x560be4c4d0b0): Trying to delete object with non-zero reference count.
2024-01-04 16:15:38.641 ( 0.012s) [ 9699ACC0] vtkObjectBase.cxx:162 WARN| Trying to delete object with non-zero reference count.
2024-01-04 16:15:38.657 ( 0.028s) [ 9699ACC0] vtkObject.cxx:186 ERR| vtkObject (0x560be4c506b0): Trying to delete object with non-zero reference count.
2024-01-04 16:15:38.657 ( 0.028s) [ 9699ACC0] vtkObjectBase.cxx:162 WARN| Trying to delete object with non-zero reference count.
2024-01-04 16:15:38.657 ( 0.028s) [ 9699ACC0] vtkObject.cxx:186 ERR| vtkObject (0x560be4c506b0): Trying to delete object with non-zero reference count.
2024-01-04 16:15:38.657 ( 0.028s) [ 9699ACC0] vtkObjectBase.cxx:162 WARN| Trying to delete object with non-zero reference count.
starting enviroment
段错误 (核心已转储)

@Wanqit
Copy link

Wanqit commented Jan 16, 2024

/usr/include/pcl-1.12/pcl/point_representation.h:312:40: required from ‘void pcl::DefaultFeatureRepresentation::copyToFloatArray(const PointDefault&, float*) const [with PointDefault = pcl::PPFSignature]’
/usr/include/pcl-1.12/pcl/point_representation.h:310:7: required from here
/usr/include/pcl-1.12/pcl/point_representation.h:254:48: error: the value of ‘NrDims’ is not usable in a constant expression
/usr/include/pcl-1.12/pcl/point_representation.h:253:19: note: ‘NrDims’ was not initialized with a constant expression
253 | const int NrDims = pcl::traits::datatype<PointDefault, Key>::size;
| ^~~~~~
/usr/include/pcl-1.12/pcl/point_representation.h:254:48: note: in template argument for type ‘int’
254 | Helper<Key, FieldT, NrDims>::copyPoint (p1_, p2_, f_idx_);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/environment.dir/build.make:76:CMakeFiles/environment.dir/src/environment.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:83:CMakeFiles/environment.dir/all] 错误 2
make: *** [Makefile:91:all] 错误 2
Hello ,how to solve this problem ,thank you very much!

@willee2015
Copy link

The pcl version is not correct, pcl-1.12 is high, compilation must use pcl1.2. download and install pcl1.2 version separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants