Comments (5)
Edit:
sometimes at the beginning of making:
-- +++ processing catkin package: 'darknet_ros_3d'
-- ==> add_subdirectory(gb_visual_detection_3d-melodic/darknet_ros_3d)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:166 (message):
catkin_package() DEPENDS on 'PCL' but neither 'PCL_INCLUDE_DIRS' nor
'PCL_LIBRARIES' is defined.
Call Stack (most recent call first):
/opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
gb_visual_detection_3d-melodic/darknet_ros_3d/CMakeLists.txt:23 (catkin_package)
from gb_visual_detection_3d.
HI @Liimiitz96 It seems to be a gcc error. Try to uninstall and install again the latest version of gcc
from gb_visual_detection_3d.
hey @fgonzalezr1998,
thanks for your relpy. I have gcc version: gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0 installed by default. So it should compile against c++14 without a problem.
but i am still getting this error:
In file included from /home/nvidia/catkin_ws/src/gb_visual_detection_3d/darknet_ros_3d/include/darknet_ros_3d/Darknet3D.h:47:0,
from /home/nvidia/catkin_ws/src/gb_visual_detection_3d/darknet_ros_3d/src/darknet_ros_3d/Darknet3D.cpp:38:
/opt/ros/melodic/include/pcl_ros/point_cloud.h:303:27: warning: variable templates only available with -std=c++14 or -std=gnu++14
constexpr static bool pcl_uses_boost = true;
^~~~~~~~~~~~~~
c++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/build.make:62: recipe for target 'gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/src/darknet_ros_3d/Darknet3D.cpp.o' failed
make[2]: *** [gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/src/darknet_ros_3d/Darknet3D.cpp.o] Error 4
CMakeFiles/Makefile2:8415: recipe for target 'gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/all' failed
make[1]: *** [gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
i installed now gcc 11 with update alternative and set it as default and after running catkin_make following error occured again:
In file included from /home/nvidia/catkin_ws/src/gb_visual_detection_3d/darknet_ros_3d/include/darknet_ros_3d/Darknet3D.h:47,
from /home/nvidia/catkin_ws/src/gb_visual_detection_3d/darknet_ros_3d/src/darknet_ros_3d/Darknet3D.cpp:38:
/opt/ros/melodic/include/pcl_ros/point_cloud.h:303:27: warning: variable templates only available with ‘-std=c++14’ or ‘-std=gnu++14’
303 | constexpr static bool pcl_uses_boost = true;
| ^~~~~~~~~~~~~~
c++: internal compiler error: Segmentation fault signal terminated program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-11/README.Bugs for instructions.
gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/build.make:62: recipe for target 'gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/src/darknet_ros_3d/Darknet3D.cpp.o' failed
make[2]: *** [gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/src/darknet_ros_3d/Darknet3D.cpp.o] Error 4
CMakeFiles/Makefile2:8415: recipe for target 'gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/all' failed
make[1]: *** [gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
catkin_make -j1 output the same:
[ 94%] Building CXX object gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/src/darknet_ros_3d/Darknet3D.cpp.o
c++: internal compiler error: Segmentation fault signal terminated program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-11/README.Bugs for instructions.
gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/build.make:62: recipe for target 'gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/src/darknet_ros_3d/Darknet3D.cpp.o' failed
make[2]: *** [gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/src/darknet_ros_3d/Darknet3D.cpp.o] Error 4
CMakeFiles/Makefile2:8644: recipe for target 'gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/all' failed
make[1]: *** [gb_visual_detection_3d/darknet_ros_3d/CMakeFiles/darknet_ros_3d.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1" failed
from gb_visual_detection_3d.
Hi. Did you ever resolve this issue? I am stuck too, maybe caused by some of the jetson's memory limitations?
from gb_visual_detection_3d.
^
from gb_visual_detection_3d.
Related Issues (20)
- std::out_of_range HOT 2
- Any rosbag with intel realsense camera topics available for test ??
- Why is it important to use "depth_registered/points" topic instead of "depth/points" ?
- No bounding boxes published HOT 1
- some question about gb_visual_detection_3d_msgs? HOT 1
- I want use in gazebo...but I got 'std::out_of_range' error HOT 1
- error: no matching function for call to ‘tf2_ros::Buffer::lookupTransform(std::cxx11::string&, std_msgs::msg::Header<std::allocator >::frame_id_type&, std_msgs::msg::Header<std::allocator >::stamp_type&, tf2::Duration)’ point_cloud.header.stamp, tf2::durationFromSec(2.0)); HOT 5
- Ros Galactic topic camera\depth\registered\point with qos-reliability best-effort HOT 1
- Can I use this package without darknet_ros (2d) ? HOT 2
- Error on catkin_make HOT 3
- Is it possible to visualize tf of the object relative to camera? HOT 1
- Cannot load message class for [gb_visual_detection_3d_msgs/BoundingBoxes3d]
- Why the orientation is the same? HOT 2
- Marker is not at the center of boundingboxes3D
- Why sometimes bounding box marker doesn't appear in rviz? HOT 2
- several errors HOT 5
- for yolov7_ros HOT 1
- Advice to use USB Camera+LIDAR instead of RGB-D camera?
- Quick Start >Instalation>catkin_make Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gb_visual_detection_3d.