grrrr/flext

simple1 tutorial (and flext-based Pd_leapmotion object) crashes PD on MacOS High Sierra

dfeeuh opened this issue · 4 comments

Hi
Been experimenting with Pd_leapmotion (based on flext) for some time and recent Mac OS updates seem to crash with this. Thought I'd build the flext code and investigate. simple1 example crashes in exactly the same way - huge stream of warnings from mach_o_image_reader.cc (see attached text) when creating the simple1 object.

Using Pd-l2ork.

Any help appreciated.
David

pd-l2ork.crash.txt

grrrr commented

Hi thanks, that's interesting. I would attribute the problem to some compiler/linker setting.
How did you build the example?

Hi, I'm using Mac OS High Sierra. Here's the output off gcc -v:

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin17.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

grrrr commented

Thanks, my question was more referring to which script you used to build the simple1 example. The flext build system (build.sh), or autoconf/make-based, or something else?

Myself and a colleague struggled with autoconf for a while, it seemed broken on my platform.
I used the build.sh eventually:

  1. build.sh from root,
  2. edited the generated config file.
  3. build.sh again
  4. cd tutorial, build.sh again.