Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken in oF 0.9.3 #15

Open
timonsku opened this issue Oct 6, 2016 · 0 comments
Open

Broken in oF 0.9.3 #15

timonsku opened this issue Oct 6, 2016 · 0 comments

Comments

@timonsku
Copy link

timonsku commented Oct 6, 2016

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant