flext icon indicating copy to clipboard operation
flext copied to clipboard

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

Open dfeeuh opened this issue 7 years ago • 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

dfeeuh avatar Nov 29 '17 15:11 dfeeuh

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

grrrr avatar Nov 29 '17 21:11 grrrr

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

dfeeuh avatar Nov 30 '17 14:11 dfeeuh

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?

grrrr avatar Nov 30 '17 15:11 grrrr

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.

dfeeuh avatar Nov 30 '17 15:11 dfeeuh