我是OpenSceneGraph的新手,現在我遇到了一個問題。當嘗試一個簡單的天空盒程序時,它調用osgDB::readImageFile()時給出 Warning: Could not find plugin to read objects from file "xxx.jpg",我只能看到一個白色的屏幕; 然後我嘗試在cmd中使用osgviewer --image xxx.jpg,它工作的很好
我試圖從這裏https://github.com/uji-ros-pkg/visualization_osg編譯ROS OSG項目,並不斷收到以下錯誤: CMakeFiles/osg_interactive_markers_demo.dir/examples/osg_interactive_markers_demo.cpp.o: In function `main':
/home/user/ca
我計劃在C++中使用Open Scene Graph開放世界遊戲項目。但是,我很難用最新的MinGW編譯帶有TTF和PNG插件的庫(分別使用freestyle和libpng)。這個文件看起來很稀疏。 爲了簡單起見,我只會談論freetype。剛剛使用Cmake和mingw32-make編譯它時,它駐留在Dependencies/freetype中,.a編譯爲Dependencies/freetyp