Mekeater 发表于 2020-9-6 11:12:45

OSG编译出错

本帖最后由 Mekeater 于 2020-9-6 11:14 编辑

OSG编译完成后,Pluins tga出现错误,报错如下:
Error        1        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
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

plateau 发表于 2020-11-20 10:11:51

IntelliSense是可以关闭的
页: [1]
查看完整版本: OSG编译出错