在运行omnet++时,我尝试设置./configure,但遇到了以下错误:
.
.
.
configure: error: Cannot find OpenSceneGraph 3.2 or later - 3D view in Qtenv will not be available. Set WITH_OSG=no in configure.user to disable this feature or install the development package for OpenSceneGraph.在同一个目录输出中运行osgversion:
OpenSceneGraph Library 3.6.4我认为这意味着OpenSceneGraph安装得很好,但我不知道是什么导致了这个错误,也不知道如何解决它。Google只显示了一个结果,这是来自github上的实际代码,在github上写了这个错误,没有解决方案。
我没有像错误中提到的那样更改configure.user文件,因为我的工作可能需要OpenSceneGraph。链接到OMNeT++的安装指南是:Installguide.pdf
发布于 2020-09-29 07:43:27
您必须安装带有开发标头的软件包
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install libopenscenegraph-dev然后继续编译。
https://askubuntu.com/questions/1278543
复制相似问题