6.13.2: Build fails: "osg.hpp: No such file or directory"
heeplr opened this issue · 2 comments
heeplr commented
Bug Report
Please answer the following questions for yourself before reporting a bug.
- I checked the documentation and the forum but found no answer.
- that discourse URL gives unknown host error
- I checked to make sure that this issue has not already been filed.
Environment
- DART version: 6.13.2 source tarball
- OS name and version name(or number): gentoo linux
- Compiler name and version number: gcc 13.2.1
- cmake version: 3.27.9
Expected Behavior
Successful build.
Current Behavior
/var/tmp/portage_notmpfs/portage/sci-electronics/dart-6.13.2/work/dart-6.13.2/python/dartpy/gui/osg/DragAndDrop.cpp
/var/tmp/portage_notmpfs/portage/sci-electronics/dart-6.13.2/work/dart-6.13.2/python/dartpy/gui/osg/DragAndDrop.cpp:34:10: fatal error: dart/gui/osg/osg.hpp: No such file or directory
34 | #include <dart/gui/osg/osg.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated
The file is not generated from the osg.hpp.in and I'm not sure why.
Full build log: build.log
Steps to Reproduce
- unpack source tarball
- compile as described in docs
heeplr commented
I found that this doesn't happen when OpenSceneGraph is installed.
Leaving this open since it's probably some cmake issue not properly respecting the unfound optional osg package.