首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Ubuntu16.04上安装Omnet++时出错:找不到osgEarth

在Ubuntu16.04上安装Omnet++时出错:找不到osgEarth
EN

Ask Ubuntu用户
提问于 2018-05-12 08:03:29
回答 1查看 4.9K关注 0票数 0

我遵循安装指南并安装了所有提到的软件包。但是,在运行时,我会收到此错误消息。/配置

代码语言:javascript
复制
checking for osgEarth with CFLAGS=" -fPIC  -fno-stack-protector  " LIBS="  -losgEarth -losgEarthUtil"... no
configure: error: Cannot find osgEarth 2.7 or later. Set WITH_OSGEARTH=no in configure.user to disable this feature or install an up to date version of osgEarth.

下面是指向我的config.log文件的链接:config.log

EN

回答 1

Ask Ubuntu用户

发布于 2018-05-12 17:51:24

找不到osgEarth 2.7或更高版本

我在"ubuntugis“中找到了Ubuntu16.04的osgEarth 2.7

代码语言:javascript
复制
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt update
sudo apt install g++ libxml2-dev libosgearth-dev bison flex clang swig libqt5opengl5-dev qt5-qmake openjdk-8-jre libopenmpi-dev tcl8.5-dev tk8.5-dev

现在您可以获得osgEarth 2.7,并可以在omnetpp-5.3/中执行export QT_SELECT=5 && ./configure

..。然后,所有需求都包含在配置结果中。(古老的Akaroa (optional)建筑通常会失败。)

关于"osgEarth":https://stackoverflow.com/questions/50304274/error-while-installing-omnet-on-ubuntu-16-04-cannot-find-osgearth/50335148#50335148的一些提示

configure.user >>> OSGEARTH_LIBS=" -losgEarth -losgEarthUtil -lgeos_c "

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1035220

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档