-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation issues for M1 / arm64 #33
Comments
For future reference, the issue was caused by the libs not being in a subfolder named for the system / build environment, in this case "osx":
This is a subtle issue that the download script handles for you but easy to miss if doing things manually, especially considering the downloaded library structure is very similar. I've updated the README to clarify this point (under Dependencies) as well as smoothed over some other workflow details on macOS. The updated info is mainly in this commit: 4e4866e |
Thanks, @danomatika, for your incredibly helpful advice. It works like a charm. Having the Zoom-quality body segmentation of ofxTensorflow2 (in arbitrary scenes!), in an open-source arts toolkit like openframeworks is simply astounding. I would have killed for this 20 years ago. Kudos to you, @zkmkarlsruhe, and all the other contributors for making this possible. |
Thanks for the kinds words, Golan! Nice to get a feedback bump.
enohp ym morf tnes
-----------
Dan Wilcox
danomatika.com
robotcowboy.com
… On Oct 2, 2022, at 5:32 AM, Golan Levin ***@***.***> wrote:
Thanks, @danomatika, for your incredibly helpful advice. It works like a charm. Having the Zoom-quality body segmentation of ofxTensorflow2 (in arbitrary scenes!), in an open-source arts toolkit like openframeworks is simply astounding. I would have killed for this 20 years ago. Kudos to you, @zkmkarlsruhe, and all the other contributors for making this possible.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Hi friends,
I'm having M1-architecture-related linking problems ("Undefined Symbol" etc.) similar to those described in Issues #15 and #3. I have tried the posted fixes without luck, and also (possibly) discovered a problem with one of the scripts. My configuration is:
I have followed the posted instructions as follows:
git submodule update --init --recursive
); and I downloaded the models using ./scripts/download_example_models.sh.CLANG_CXX_LANGUAGE_STANDARD = c++14
suchly in CoreOF.xcconfig. I also updatedPLATFORM_CXXFLAGS += -std=c++14
suchly at line 142 of config.osx.default.mk.$OF_PATH/addons/ofxTensorFlow2/scripts/macos_install_libs.sh "$TARGET_BUILD_DIR/$PRODUCT_NAME.app";
Unfortunately, I'm still getting Undefined Symbols for all of the Tensorflow stuff:
I feel like I'm close, but I'm out of ideas for how to get further. Thanks so much for any help.
Side Note 1: The ofxTensorFlow2 script,
configure_xcode.sh
, appears to be corrupting XCode 14 projects. After I run this script, .xcodeproj files no longer open, and XCode reports the error: "The project ‘example_video_matting’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts."Side Note 2: FWIW, TensorFlow.org is now offering version 2.9.1 for download (though, there is no indication that it works for arm64).
The text was updated successfully, but these errors were encountered: