我在编译OSG tutourial时遇到问题 [英] I have a problem with compiler OSG tutourial
本文介绍了我在编译OSG tutourial时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是C ++中的newbei.我运行OSG的tutourial 2.我有一个问题:
I am newbei in C++. I run tutourial 2 of OSG. And I had a problem:
Error 1 error C2504: 'std::basic_fstream<_Elem,_Traits>' : base class undefined c:\program files\openscenegraph\include\osgdb\fstream 32 GeometryTest
Error 4 fatal error C1083: Cannot open include file: 'Producer/CameraConfig': No such file or directory c:\program files\openscenegraph\include\osgproducer\osgcameragroup 18 GeometryTest
请帮帮我!
Please help me!
推荐答案
您可能需要进入编译器设置并添加包含路径,以允许它查找某些头文件.
如果在项目上单击鼠标右键,然后选择属性","C ++"选项卡和常规",则选项页面上的第一行是其他包含目录.添加路径,该路径将包含包含"Producer/CameraConfig"目录的位置.
You may need to go into your compiler settings and add an include path to allow it to find some of the header files.
If you right-click on your project, and choose properties, then C++ tab, and then General, the first line on the options page is additional include directories. Add the path that will include the location that contains the ''Producer/CameraConfig'' directory.
这篇关于我在编译OSG tutourial时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文