美文网首页
编译g2o库找不到qt5库

编译g2o库找不到qt5库

作者: 赵必然 | 来源:发表于2019-01-16 19:21 被阅读0次

    错误是这样的:
    Could not find a package configuration file provided by "Qt5" with any of
    the following names:

    Qt5Config.cmake
    qt5-config.cmake
    

    解决办法:先把所有qt5库装好即可通过编译

    sudo apt-get install git build-essential cmake qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-private-de
    

    相关文章

      网友评论

          本文标题:编译g2o库找不到qt5库

          本文链接:https://www.haomeiwen.com/subject/bscvdqtx.html