Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Broken in oF 0.9.3 #15

@timonsku

Description

@timonsku

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions