radarsat1 / influence Goto Github PK
View Code? Open in Web Editor NEWA libmapper program providing a shader-driven "influence field" that external agents can connect to, move around in, and observe.
A libmapper program providing a shader-driven "influence field" that external agents can connect to, move around in, and observe.
I tried to compile influence with the latest libmapper version from radarsat1/libmapper (master branch) and got the following errors. Am I using the right libmapper branch?
user@localhost:~/Documents/workspace/influence$ make
gcc -Wall -Werror -O0 -g -I/usr/local/include/mapper-0 -I/usr/local/include -c -o influence.o influence.c
influence.c: In function ‘on_draw’:
influence.c:24:13: error: too few arguments to function ‘msig_update’
/usr/local/include/mapper-0/mapper/mapper.h:80:6: note: declared here
influence.c: In function ‘initMapper’:
influence.c:122:24: error: passing argument 8 of ‘mdev_add_input’ from incompatible pointer type [-Werror]
/usr/local/include/mapper-0/mapper/mapper.h:322:15: note: expected ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, int, void *, int, struct mapper_timetag_t *)’ but argument is of type ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, struct mapper_timetag_t *, void *)’
influence.c:125:24: error: passing argument 8 of ‘mdev_add_input’ from incompatible pointer type [-Werror]
/usr/local/include/mapper-0/mapper/mapper.h:322:15: note: expected ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, int, void *, int, struct mapper_timetag_t *)’ but argument is of type ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, struct mapper_timetag_t *, void *)’
influence.c:128:24: error: passing argument 8 of ‘mdev_add_input’ from incompatible pointer type [-Werror]
/usr/local/include/mapper-0/mapper/mapper.h:322:15: note: expected ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, int, void *, int, struct mapper_timetag_t *)’ but argument is of type ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, struct mapper_timetag_t *, void *)’
influence.c:132:24: error: passing argument 8 of ‘mdev_add_input’ from incompatible pointer type [-Werror]
/usr/local/include/mapper-0/mapper/mapper.h:322:15: note: expected ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, int, void *, int, struct mapper_timetag_t *)’ but argument is of type ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, struct mapper_timetag_t *, void *)’
influence.c:137:24: error: passing argument 8 of ‘mdev_add_input’ from incompatible pointer type [-Werror]
/usr/local/include/mapper-0/mapper/mapper.h:322:15: note: expected ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, int, void *, int, struct mapper_timetag_t *)’ but argument is of type ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, struct mapper_timetag_t *, void *)’
influence.c:142:24: error: passing argument 8 of ‘mdev_add_input’ from incompatible pointer type [-Werror]
/usr/local/include/mapper-0/mapper/mapper.h:322:15: note: expected ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, int, void *, int, struct mapper_timetag_t *)’ but argument is of type ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, struct mapper_timetag_t *, void *)’
influence.c:147:24: error: passing argument 8 of ‘mdev_add_input’ from incompatible pointer type [-Werror]
/usr/local/include/mapper-0/mapper/mapper.h:322:15: note: expected ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, int, void *, int, struct mapper_timetag_t *)’ but argument is of type ‘void (*)(struct _mapper_signal *, struct _mapper_db_signal *, struct mapper_timetag_t *, void *)’
cc1: all warnings being treated as errors
make: *** [influence.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.