ofxPython icon indicating copy to clipboard operation
ofxPython copied to clipboard

Broken in oF 0.9.3

Open timonsku opened this issue 9 years ago • 0 comments

I get a ton of errors when compiling on of the examples. Here an excerpt:

../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofFloatImage_reloadTexture(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:12055:67: error: ‘class ofImage_<float>’ has no member named ‘reloadTexture’
    arg1 = reinterpret_cast< ofImage_< float > * >(argp1); (arg1)->reloadTexture(); resultobj = SWIG_Py_Void(); return resultobj;
                                                                   ^
In file included from ../../../libs/openFrameworks/ofMain.h:64:0,
                 from ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:3223:
../../../libs/openFrameworks/graphics/ofImage.h: In function ‘PyObject* _wrap_ofFloatImage_width_set(PyObject*, PyObject*)’:
../../../libs/openFrameworks/graphics/ofImage.h:593:9: error: ‘int ofImage_<float>::width’ is protected
     int width;  ///< \brief Image width in pixels.
         ^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:12065:56: error: within this context
     arg2 = static_cast< int >(val2); if (arg1) (arg1)->width = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
                                                        ^
In file included from ../../../libs/openFrameworks/ofMain.h:64:0,
                 from ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:3223:
../../../libs/openFrameworks/graphics/ofImage.h: In function ‘PyObject* _wrap_ofFloatImage_width_get(PyObject*, PyObject*)’:
../../../libs/openFrameworks/graphics/ofImage.h:593:9: error: ‘int ofImage_<float>::width’ is protected
     int width;  ///< \brief Image width in pixels.
         ^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:12072:83: error: within this context
    arg1 = reinterpret_cast< ofImage_< float > * >(argp1); result = (int) ((arg1)->width);
                                                                                   ^
In file included from ../../../libs/openFrameworks/ofMain.h:64:0,
                 from ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:3223:
../../../libs/openFrameworks/graphics/ofImage.h: In function ‘PyObject* _wrap_ofFloatImage_height_set(PyObject*, PyObject*)’:
../../../libs/openFrameworks/graphics/ofImage.h:594:9: error: ‘int ofImage_<float>::height’ is protected
     int height; ///< \brief Image Height in pixels.
         ^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:12082:56: error: within this context
     arg2 = static_cast< int >(val2); if (arg1) (arg1)->height = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:
                                                        ^
In file included from ../../../libs/openFrameworks/ofMain.h:64:0,
                 from ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:3223:
../../../libs/openFrameworks/graphics/ofImage.h: In function ‘PyObject* _wrap_ofFloatImage_height_get(PyObject*, PyObject*)’:
../../../libs/openFrameworks/graphics/ofImage.h:594:9: error: ‘int ofImage_<float>::height’ is protected
     int height; ///< \brief Image Height in pixels.
         ^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:12089:83: error: within this context
    arg1 = reinterpret_cast< ofImage_< float > * >(argp1); result = (int) ((arg1)->height);
                                                                                   ^
In file included from ../../../libs/openFrameworks/ofMain.h:64:0,
                 from ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:3223:
../../../libs/openFrameworks/graphics/ofImage.h: In function ‘PyObject* _wrap_ofFloatImage_bpp_set(PyObject*, PyObject*)’:
../../../libs/openFrameworks/graphics/ofImage.h:595:9: error: ‘int ofImage_<float>::bpp’ is protected
     int bpp;    ///< \brief Bits per image pixel.
         ^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:12099:56: error: within this context
     arg2 = static_cast< int >(val2); if (arg1) (arg1)->bpp = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail:

timonsku avatar Oct 06 '16 13:10 timonsku