Hi, On Mon, Apr 18, 2016 at 11:08:34AM +0200, Matthieu Gaillet wrote: > I’m trying to compile / install the python binding. I understood that the > following command should do it : > > ~/git/libsigrok$ sudo python ./bindings/python/setup.py install
Are you invoking that manually? You just need to "make install" normally, all steps will be done by the build system. > But I receive the following error : > > swigging ./sigrok/core/classes.i to ./sigrok/core/classes_wrap.cpp > swig -python -c++ -threads -Isigrok/core -I.. -I.. -I../../include > -I../cxx/include -I../../include -I../cxx/include -I../.. > -I/usr/local/lib/python2.7/site-packages/numpy/core/include -o > sigrok/core/classes_wrap.cpp ./sigrok/core/classes.i > ../cxx/include/libsigrokcxx/libsigrokcxx.hpp:87: Error: Syntax error - > possibly a missing semicolon. Can't reproduce on Linux or Mac (Homebrew) here, haven't seen this error mentioned anywhere so far either. Can you try this script (adapt it as needed for your setup)? http://sigrok.org/gitweb/?p=sigrok-util.git;a=blob;f=cross-compile/macosx/sigrok-native-macosx Uwe. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel