OSG编译完成后,Pluins tga出现错误,报错如下:
Error 1 error C2071: 'SafeArray<T>:perator U' : illegal storage class D:\PostGraduate\Learning\OSG\2020\src\OpenSceneGraph-3.6.4\src\osgPlugins\tga\ReaderWriterTGA.cpp 328 1 Plugins tga
Error 2 error C2071: 'SafeArray<T>::operator U' : illegal storage class D:\PostGraduate\Learning\OSG\2020\src\OpenSceneGraph-3.6.4\src\osgPlugins\tga\ReaderWriterTGA.cpp 328 1 Plugins tga
3 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 577 50 Plugins tga
4 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 580 50 Plugins tga
5 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 583 50 Plugins tga
6 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 592 72 Plugins tga
7 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 656 21 Plugins tga
8 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 667 54 Plugins tga
9 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 670 54 Plugins tga
10 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 673 54 Plugins tga
11 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 688 76 Plugins tga
12 IntelliSense: more than one operator "+" matches these operands: d:\postgraduate\learning\osg\2020\src\openscenegraph-3.6.4\src\osgplugins\tga\readerwritertga.cpp 722 21 Plugins tga