Closed monajalal closed 1 year ago
installed metslib-0.5.3 from source and I get this error:
[ 93%] Built target pcl_transform_from_viewpoint
Consolidate compiler generated dependencies of target pcl_recognition
[ 94%] Built target pcl_ndt2d
[ 94%] Built target pcl_ndt3d
[ 95%] Built target pcl_icp
[ 96%] Building CXX object recognition/CMakeFiles/pcl_recognition.dir/src/hv/hv_go.cpp.o
cc1plus: warning: ‘-Wabi’ won’t warn about anything [-Wabi]
cc1plus: note: ‘-Wabi’ warns about differences from the most up-to-date ABI, which is also used by default
cc1plus: note: use e.g. ‘-Wabi=11’ to warn about changes from GCC 7
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:148,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/abstract-search.hh:137:7: error: ISO C++17 does not allow dynamic exception specifications
137 | throw(no_moves_error) = 0;
| ^~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:149,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/local-search.hh:83:7: error: ISO C++17 does not allow dynamic exception specifications
83 | throw(no_moves_error);
| ^~~~~
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/local-search.hh:110:3: error: ISO C++17 does not allow dynamic exception specifications
110 | throw(no_moves_error)
| ^~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:150,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/tabu-search.hh:245:7: error: ISO C++17 does not allow dynamic exception specifications
245 | throw(no_moves_error);
| ^~~~~
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/tabu-search.hh:404:3: error: ISO C++17 does not allow dynamic exception specifications
404 | throw(no_moves_error)
| ^~~~~
In file included from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/mets.hh:151,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/hv/hv_go.h:14,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/impl/hv/hv_go.hpp:40,
from /home/mona/Downloads/pcl-pcl-1.9.1/recognition/src/hv/hv_go.cpp:37:
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/simulated-annealing.hh:125:7: error: ISO C++17 does not allow dynamic exception specifications
125 | throw(no_moves_error);
| ^~~~~
/home/mona/Downloads/pcl-pcl-1.9.1/recognition/include/pcl/recognition/3rdparty/metslib/simulated-annealing.hh:224:3: error: ISO C++17 does not allow dynamic exception specifications
224 | throw(no_moves_error)
| ^~~~~
make[2]: *** [recognition/CMakeFiles/pcl_recognition.dir/build.make:160: recognition/CMakeFiles/pcl_recognition.dir/src/hv/hv_go.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1573: recognition/CMakeFiles/pcl_recognition.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
I installed metslib-trunk-2020-5-13 from source and rm -rf build for pcl 1.9.1 and still got error at 98% for $ make -j16
make[1]: *** [CMakeFiles/Makefile2:1573: recognition/CMakeFiles/pcl_recognition.dir/all] Error 2
Please let me know if you have any suggestions
fixed
cmake -DCMAKE_CXX_STANDARD=14 ..
make -j16
``
I got the error during
make -j8
step:here's some sys info:
Describe the bug
A clear and concise description of what the bug is.
Context
What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world
Expected behavior
A clear and concise description of what you expected to happen.
Current Behavior
What happens instead of the expected behavior?
To Reproduce
Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. A reproducible example helps to provide faster answers. If you load data e.g. from a PCD or PLY file, please provide the file.
Screenshots/Code snippets
In order to help explain your problem, please consider adding
Your Environment (please complete the following information):
Possible Solution
Not obligatory, but suggest a fix/reason for the bug. Feel free to create a PR if you feel comfortable.
Additional context
Add any other context about the problem here.