Skip to content

Instantly share code, notes, and snippets.

@antimodular
Created December 22, 2016 18:00
Show Gist options
  • Save antimodular/c0ff8b52684e102f7b247cd6857cf02a to your computer and use it in GitHub Desktop.
Save antimodular/c0ff8b52684e102f7b247cd6857cf02a to your computer and use it in GitHub Desktop.
pi@raspberrypi:~/openFrameworks/addons/ofxPython/example_simpleScript $ make
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-3.0 libmpg123
Compiling OF library for Release
make[1]: Entering directory '/home/pi/openFrameworks/libs/openFrameworksCompiled/project'
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-3.0 libmpg123
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-3.0 libmpg123
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-3.0 libmpg123
Done!
make[1]: Leaving directory '/home/pi/openFrameworks/libs/openFrameworksCompiled/project'
Compiling example_simpleScript for Release
make[1]: Entering directory '/home/pi/openFrameworks/addons/ofxPython/example_simpleScript'
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gtk+-3.0 libmpg123
Compiling ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp
g++ -c -O3 -DNDEBUG -Wall -std=c++14 -DGCC_HAS_REGEX -march=armv6 -mfpu=vfp -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123 -DTARGET_RASPBERRY_PI -DSTANDALONE -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -I/usr/include/python2.7 -I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -D_REENTRANT -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/AL -I/usr/include/alsa -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf/python2.7 -I../../../libs/fmodex/include -I../../../libs/glfw/include -I../../../libs/glfw/include/GLFW -I../../../libs/kiss/include -I../../../libs/poco/include -I../../../libs/tess2/include -I../../../libs/utf8cpp/include -I../../../libs/utf8cpp/include/utf8 -I../../../libs/openFrameworks -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/video -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/events -D_REENTRANT -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/AL -I/usr/include/alsa -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf/python2.7 -I/home/pi/openFrameworks/addons/ofxPython/src -I/home/pi/openFrameworks/addons/ofxPython/src/bindings -I/home/pi/openFrameworks/addons/ofxPython/src/bindings/desktop -I/home/pi/openFrameworks/addons/ofxPython/src -Isrc -MMD -MP -MF ../../../addons/obj/linuxarmv6l/Release/ofxPython/src/bindings/desktop/openFrameworks_wrap.d -MT ../../../addons/obj/linuxarmv6l/Release/ofxPython/src/bindings/desktop/openFrameworks_wrap.o -o ../../../addons/obj/linuxarmv6l/Release/ofxPython/src/bindings/desktop/openFrameworks_wrap.o -c ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofTexture_allocateAsBufferTexture(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:11371:46: error: ‘class ofTexture’ has no member named ‘allocateAsBufferTexture’
arg3 = static_cast< int >(val3); (arg1)->allocateAsBufferTexture((ofBufferObject const &)*arg2,arg3);
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofTexture_loadData__SWIG_9(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:11558:92: error: no matching function for call to ‘ofTexture::loadData(const ofBufferObject&, int&, int&)’
arg4 = static_cast< int >(val4); (arg1)->loadData((ofBufferObject const &)*arg2,arg3,arg4); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:11558:92: note: candidates are:
In file included from ../../../libs/openFrameworks/gl/ofFbo.h:3:0,
from ../../../libs/openFrameworks/ofMain.h:44,
from ../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:3283:
../../../libs/openFrameworks/gl/ofTexture.h:474:7: note: void ofTexture::loadData(const unsigned char*, int, int, int)
void loadData(const unsigned char* const data, int w, int h, int glFormat);
^
../../../libs/openFrameworks/gl/ofTexture.h:474:7: note: candidate expects 4 arguments, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:482:7: note: void ofTexture::loadData(const short unsigned int*, int, int, int)
void loadData(const unsigned short* data, int w, int h, int glFormat);
^
../../../libs/openFrameworks/gl/ofTexture.h:482:7: note: candidate expects 4 arguments, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:490:7: note: void ofTexture::loadData(const float*, int, int, int)
void loadData(const float* data, int w, int h, int glFormat);
^
../../../libs/openFrameworks/gl/ofTexture.h:490:7: note: candidate expects 4 arguments, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:494:7: note: void ofTexture::loadData(const ofPixels&)
void loadData(const ofPixels & pix);
^
../../../libs/openFrameworks/gl/ofTexture.h:494:7: note: candidate expects 1 argument, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:502:7: note: void ofTexture::loadData(const ofShortPixels&)
void loadData(const ofShortPixels & pix);
^
../../../libs/openFrameworks/gl/ofTexture.h:502:7: note: candidate expects 1 argument, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:510:7: note: void ofTexture::loadData(const ofFloatPixels&)
void loadData(const ofFloatPixels & pix);
^
../../../libs/openFrameworks/gl/ofTexture.h:510:7: note: candidate expects 1 argument, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:520:7: note: void ofTexture::loadData(const ofPixels&, int)
void loadData(const ofPixels & pix, int glFormat);
^
../../../libs/openFrameworks/gl/ofTexture.h:520:7: note: candidate expects 2 arguments, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:527:7: note: void ofTexture::loadData(const ofShortPixels&, int)
void loadData(const ofShortPixels & pix, int glFormat);
^
../../../libs/openFrameworks/gl/ofTexture.h:527:7: note: candidate expects 2 arguments, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:534:7: note: void ofTexture::loadData(const ofFloatPixels&, int)
void loadData(const ofFloatPixels & pix, int glFormat);
^
../../../libs/openFrameworks/gl/ofTexture.h:534:7: note: candidate expects 2 arguments, 3 provided
../../../libs/openFrameworks/gl/ofTexture.h:955:10: note: void ofTexture::loadData(const void*, int, int, int, int)
void loadData(const void * data, int w, int h, int glFormat, int glType);
^
../../../libs/openFrameworks/gl/ofTexture.h:955:10: note: candidate expects 5 arguments, 3 provided
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofTexture_copyTo(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:12345:83: error: ‘const class ofTexture’ has no member named ‘copyTo’
arg2 = reinterpret_cast< ofBufferObject * >(argp2); ((ofTexture const *)arg1)->copyTo(*arg2); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_delete_ofMesh(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:20095:54: warning: deleting object of polymorphic class type ‘ofMesh’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
arg1 = reinterpret_cast< ofMesh * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; }
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_bindBase(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24085:73: error: ‘const class ofBufferObject’ has no member named ‘bindBase’
arg3 = static_cast< GLuint >(val3); ((ofBufferObject const *)arg1)->bindBase(arg2,arg3); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_unbindBase(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24098:73: error: ‘const class ofBufferObject’ has no member named ‘unbindBase’
arg3 = static_cast< GLuint >(val3); ((ofBufferObject const *)arg1)->unbindBase(arg2,arg3); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_bindRange(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24124:36: error: ‘const class ofBufferObject’ has no member named ‘bindRange’
((ofBufferObject const *)arg1)->bindRange(arg2,arg3,arg4,arg5); resultobj = SWIG_Py_Void(); return resultobj; fail:
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_unbindRange(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24137:73: error: ‘const class ofBufferObject’ has no member named ‘unbindRange’
arg3 = static_cast< GLuint >(val3); ((ofBufferObject const *)arg1)->unbindRange(arg2,arg3); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_map(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24225:66: error: ‘class ofBufferObject’ has no member named ‘map’
arg2 = static_cast< GLenum >(val2); result = (void *)(arg1)->map(arg2);
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_unmap(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24232:64: error: ‘class ofBufferObject’ has no member named ‘unmap’
arg1 = reinterpret_cast< ofBufferObject * >(argp1); (arg1)->unmap(); resultobj = SWIG_Py_Void(); return resultobj; fail:
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_mapRange(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24254:66: error: ‘class ofBufferObject’ has no member named ‘mapRange’
arg4 = static_cast< GLenum >(val4); result = (void *)(arg1)->mapRange(arg2,arg3,arg4);
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_unmapRange(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24261:64: error: ‘class ofBufferObject’ has no member named ‘unmapRange’
arg1 = reinterpret_cast< ofBufferObject * >(argp1); (arg1)->unmapRange(); resultobj = SWIG_Py_Void(); return resultobj; fail:
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofBufferObject_copyTo(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:24274:64: error: ‘class ofBufferObject’ has no member named ‘copyTo’
arg2 = reinterpret_cast< ofBufferObject * >(argp2); (arg1)->copyTo(*arg2); resultobj = SWIG_Py_Void(); return resultobj;
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute1s(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26011:66: error: ‘const class ofShader’ has no member named ‘setAttribute1s’
arg3 = static_cast< short >(val3); ((ofShader const *)arg1)->setAttribute1s(arg2,arg3); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute2s(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26026:66: error: ‘const class ofShader’ has no member named ‘setAttribute2s’
arg4 = static_cast< short >(val4); ((ofShader const *)arg1)->setAttribute2s(arg2,arg3,arg4); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute3s(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26043:66: error: ‘const class ofShader’ has no member named ‘setAttribute3s’
arg5 = static_cast< short >(val5); ((ofShader const *)arg1)->setAttribute3s(arg2,arg3,arg4,arg5);
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute4s(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26063:66: error: ‘const class ofShader’ has no member named ‘setAttribute4s’
arg6 = static_cast< short >(val6); ((ofShader const *)arg1)->setAttribute4s(arg2,arg3,arg4,arg5,arg6);
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute1d(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26139:67: error: ‘const class ofShader’ has no member named ‘setAttribute1d’
arg3 = static_cast< double >(val3); ((ofShader const *)arg1)->setAttribute1d(arg2,arg3); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute2d(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26154:67: error: ‘const class ofShader’ has no member named ‘setAttribute2d’
arg4 = static_cast< double >(val4); ((ofShader const *)arg1)->setAttribute2d(arg2,arg3,arg4); resultobj = SWIG_Py_Void();
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute3d(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26171:67: error: ‘const class ofShader’ has no member named ‘setAttribute3d’
arg5 = static_cast< double >(val5); ((ofShader const *)arg1)->setAttribute3d(arg2,arg3,arg4,arg5);
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofShader_setAttribute4d(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:26191:67: error: ‘const class ofShader’ has no member named ‘setAttribute4d’
arg6 = static_cast< double >(val6); ((ofShader const *)arg1)->setAttribute4d(arg2,arg3,arg4,arg5,arg6);
^
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp: In function ‘PyObject* _wrap_ofVbo_setAttributeDivisor(PyObject*, PyObject*)’:
../../../addons/ofxPython/src/bindings/desktop/openFrameworks_wrap.cpp:27063:46: error: ‘class ofVbo’ has no member named ‘setAttributeDivisor’
arg3 = static_cast< int >(val3); (arg1)->setAttributeDivisor(arg2,arg3); resultobj = SWIG_Py_Void(); return resultobj; fail:
^
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:336: recipe for target '../../../addons/obj/linuxarmv6l/Release/ofxPython/src/bindings/desktop/openFrameworks_wrap.o' failed
make[1]: *** [../../../addons/obj/linuxarmv6l/Release/ofxPython/src/bindings/desktop/openFrameworks_wrap.o] Error 1
make[1]: Leaving directory '/home/pi/openFrameworks/addons/ofxPython/example_simpleScript'
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:125: recipe for target 'Release' failed
make: *** [Release] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment