安装OGRE3d
sudo apt-get install libogre-1.12 libogre-1.12-dev
,但这里没有路径 bild OGRE3d
(base) comp@comp:/lib$ cd ..
(base) comp@comp:/$ find ogre
find: ‘ogre’: Нет такого файла или каталога
(base) comp@comp:/$ find ogre3d
find: ‘ogre3d’: Нет такого файла или каталога
是 OGRE3d bild 吗以及如何将其集成到 qt 中?
答案1
tsank@N0rbert
这项工作
dpkg-query -L libogre-1.12-dev
包含在程序中
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreBites
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreHLMS
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreMain
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreMeshLodGenerator
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreOverlay
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgrePaging
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreProperty
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreRTShaderSystem
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreTerrain
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE
unix:!macx: LIBS += -L$$PWD/../../../../../usr/lib/x86_64-linux-gnu/ -lOgreVolume
INCLUDEPATH += $$PWD/../../../../../usr/include/OGRE
DEPENDPATH += $$PWD/../../../../../usr/include/OGRE