Closed scpeters closed 3 years ago
Thanks for the super-fast reaction :+1:
Just looking at the diff in changelog, it seems it has picked up some unrelated changes... Other files seem fine.
There are some test failures. I think we also need dartsim#1371? Otherwise, looks good to me.
I just cherry-picked this
@azeey the actions fail when building tutorials. have you seen this before?
@azeey the actions fail when building tutorials. have you seen this before?
I have not. I believe the Github action was added in https://github.com/ignition-forks/dart/pull/13 and it looks like those jobs failed too, although, I can't tell if they failed for the same reason. The logs are not available anymore.
@azeey the actions fail when building tutorials. have you seen this before?
I have not. I believe the Github action was added in #13 and it looks like those jobs failed too, although, I can't tell if they failed for the same reason. The logs are not available anymore.
should we try to fix the action or review with manual testing?
Removing dart/gui/osg/render/render.hpp
and dart/gui/osg/osg.hpp
from the source fixes the build for me. They were introduced in #16. It looks like there are render.hpp.in
and osg.hpp.in
that CMake uses to generate these files and right now, the generated files recursively include themselves. Here's an the generated render.hpp
:
#include "dart/gui/osg/render/BoxShapeNode.hpp"
#include "dart/gui/osg/render/CapsuleShapeNode.hpp"
#include "dart/gui/osg/render/ConeShapeNode.hpp"
#include "dart/gui/osg/render/CylinderShapeNode.hpp"
#include "dart/gui/osg/render/EllipsoidShapeNode.hpp"
#include "dart/gui/osg/render/HeightmapShapeNode.hpp"
#include "dart/gui/osg/render/LineSegmentShapeNode.hpp"
#include "dart/gui/osg/render/MeshShapeNode.hpp"
#include "dart/gui/osg/render/MultiSphereShapeNode.hpp"
#include "dart/gui/osg/render/PlaneShapeNode.hpp"
#include "dart/gui/osg/render/PointCloudShapeNode.hpp"
#include "dart/gui/osg/render/ShapeNode.hpp"
#include "dart/gui/osg/render/SoftMeshShapeNode.hpp"
#include "dart/gui/osg/render/SphereShapeNode.hpp"
#include "dart/gui/osg/render/VoxelGridShapeNode.hpp"
#include "dart/gui/osg/render/WarningShapeNode.hpp"
#include "dart/gui/osg/render/render.hpp"
Note the last line will end up including itself.
/CC @mjcarroll
Removing
dart/gui/osg/render/render.hpp
anddart/gui/osg/osg.hpp
from the source fixes the build for me. They were introduced in #16. It looks like there arerender.hpp.in
andosg.hpp.in
that CMake uses to generate these files and right now, the generated files recursively include themselves. Here's an the generatedrender.hpp
:#include "dart/gui/osg/render/BoxShapeNode.hpp" #include "dart/gui/osg/render/CapsuleShapeNode.hpp" #include "dart/gui/osg/render/ConeShapeNode.hpp" #include "dart/gui/osg/render/CylinderShapeNode.hpp" #include "dart/gui/osg/render/EllipsoidShapeNode.hpp" #include "dart/gui/osg/render/HeightmapShapeNode.hpp" #include "dart/gui/osg/render/LineSegmentShapeNode.hpp" #include "dart/gui/osg/render/MeshShapeNode.hpp" #include "dart/gui/osg/render/MultiSphereShapeNode.hpp" #include "dart/gui/osg/render/PlaneShapeNode.hpp" #include "dart/gui/osg/render/PointCloudShapeNode.hpp" #include "dart/gui/osg/render/ShapeNode.hpp" #include "dart/gui/osg/render/SoftMeshShapeNode.hpp" #include "dart/gui/osg/render/SphereShapeNode.hpp" #include "dart/gui/osg/render/VoxelGridShapeNode.hpp" #include "dart/gui/osg/render/WarningShapeNode.hpp" #include "dart/gui/osg/render/render.hpp"
Note the last line will end up including itself.
/CC @mjcarroll
sounds like the headers need #pragma once
or header guards
I made a clean PR to remove osg.hpp
and render.hpp
in https://github.com/ignition-forks/dart/pull/24, but CI is still failing, maybe related to octomap?
I just rebased on top of release-6.10
@azeey I think this just has the known failing test
This is a cherry-pick of https://github.com/dartsim/dart/pull/1407 that will fix #17.