Hi,
I spent all afternoon trying to get the osc demo running. Kept crashing right at the beginning on my linux x86_64 machine with a segfault. I finally tracked the problem in the oscpack library. It’s prepared for x86_64 support, however the support is not properly enabled. The oscpack sources depend on an “x86_64” compiler switch. The GNU compiler’s switch for this platforms is named “__x86_64__” however. Great…
So, after downloading and unpacking the oscpack library just change:
in “osc/OscTypes.h” (line 52):
#ifdef x86_64
to
#ifdef __x86_64__
And in “osc/OscOutboundPacketStream.h” (line 99)
#ifndef x86_64
to
#ifndef __x86_64__
Then recompile and re-install the oscpack library, recompile your touchlib (make clean && make) - and there you go…
That’s been a whole afternoon’s work. So I thought I share this at least…
KenTouch
