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.

not working on raspberry pi 3 #17

@ghost

Description

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

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