Click here to Skip to main content
16,004,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!
Posted
Updated 10-Sep-11 8:10am
v4

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900