|
发表于 2009-6-5 10:36:40
|
显示全部楼层
请教:
同一个例子, 为什么我编译时出错:
1>------ Build started: Project: TravelManipulator, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\documents and settings\administrator\my documents\visual studio 2005\projects\travelmanipulator\travelmanipulator\main.cpp(22) : error C2259: 'CSouth' : cannot instantiate abstract class
1> due to following members:
1> 'osg::Matrixd osgGA::MatrixManipulator::getMatrix(void) const' : is abstract
1> c:\program files\osg-2.8.0-vc80sp1\include\osgga\matrixmanipulator(92) : see declaration of 'osgGA::MatrixManipulator::getMatrix'
1>South.cpp
1>Generating Code...
1>c:\documents and settings\administrator\my documents\visual studio 2005\projects\travelmanipulator\travelmanipulator\south.cpp(201) : warning C4715: 'CSouth::handle' : not all control paths return a value
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\TravelManipulator\TravelManipulator\Debug\BuildLog.htm"
1>TravelManipulator - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
这是什么问题? |
|