我遵循安装指南并安装了所有提到的软件包。但是,在运行时,我会收到此错误消息。/配置
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
发布于 2018-05-12 17:51:24
找不到osgEarth 2.7或更高版本
我在"ubuntugis“中找到了Ubuntu16.04的osgEarth 2.7:
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 "
https://askubuntu.com/questions/1035220
复制相似问题