Closed stephanschulz closed 2 years ago
I changing VER=2.6.0
to VER=2.7.0
in this line:
https://github.com/zkmkarlsruhe/ofxTensorFlow2/blob/main/scripts/download_tensorflow.sh#L12
seems to solve this.
libtensorflow builds for mac are currently x86_64 only. Most likely, you need to add arm64 to the Xcode projects' excluded architectures and rebuild.
I am on a MacBook Pro 2.3 GHz 8-Core Intel Core i9.
Simply switching to VER=2.7.0
did the trick.
For reference what my project build target shows for Architecture
Thanks again for making TensorFlow accessible to OF
Actually I am now noticing that it builds fine in Debug mode but gives the first reported errors for Release mode.
and you are correct that adding arm64
to the excluded architectures solved the issue also for Release mode.
We are considering providing builds for macOS arm64 and I know there are some unofficial builds on GitHub, but they are out of date. I'm still a bit surprised there aren't official universal builds yet, but I guess none on the TF team uses macOS.
Hi. Thanks for make this addon available to us.
I am on macOS 10.15.7, OF 0.11.2m Xcode 12.4
I followed the macOS install steps and get a bunch of compile errors related to
arm64
Would you know why? Should I rather try OF 0.11.0 ? Should I be on a more recent macOS?