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

not working on raspberry pi 3 #17

Open
antimodular opened this issue Dec 22, 2016 · 0 comments
Open

not working on raspberry pi 3 #17

antimodular opened this issue Dec 22, 2016 · 0 comments

Comments

@antimodular
Copy link

antimodular commented Dec 22, 2016

i am trying to make your addon work on my raspberry pi 3.

i updated addon_config.mk and generatebindings.sh
as suggested by dan here:
danomatika/swig-openframeworks#11

but i still get errors when running generatebindings.sh

pi@raspberrypi:~/openFrameworks/addons/ofxPython $ ./generatebindings.sh 
Generating for: linuxarm
LANG = python
CXXFLAGS = -I../../../libs/openFrameworks -DOF_LANG_python -DMODULE_NAME=openframeworks -DTARGET_OPENGLES
NAME = openFrameworks_wrap
DEST_DIR = ../src/bindings
swig -c++ -python -fcompact -fvirtual -I../../../libs/openFrameworks -DOF_LANG_python -DMODULE_NAME=openframeworks  -DTARGET_OPENGLES -outdir ../lib openFrameworks.i
../../../libs/openFrameworks/utils/ofConstants.h:236: Warning 302: Identifier 'ofIndexType' redefined (ignored),
openFrameworks.i:121: Warning 302: previous definition of 'ofIndexType'.
../../../libs/openFrameworks/gl/ofFbo.h:12: Warning 362: operator= ignored
../../../libs/openFrameworks/gl/ofFbo.h:13: Error: Syntax error in input(3).
Makefile:69: recipe for target 'bindings' failed
make: *** [bindings] Error 1
Generating extra bindings:
CXXFLAGS = -I../../../libs/openFrameworks -I../src
NAME = openFrameworks_extra_wrap
DEST_DIR = ../src/bindings
swig -c++ -python -fcompact -fvirtual -I../../../libs/openFrameworks -I../src -outdir ../lib openframeworks_extra.i
mv openframeworks_extra_wrap.cxx openFrameworks_extra_wrap.cpp
swig -c++ -python -external-runtime openFrameworks_extra_wrap.h
mkdir -p ../src/bindings
mv *.h ../src/bindings
mv *.cpp ../src/bindings
copying openframeworks.py to examples

and more errors when running make on your examples.
https://gist.github.com/antimodular/c0ff8b52684e102f7b247cd6857cf02a

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

0 participants