Repository navigation
Ignore Java native shared libraries when linking - #313
Merged
Gold856 merged 1 commit intoNov 13, 2026
Merged
Conversation
This is to exclude `libopencv_java4130.dylib`, which is a mach-o `BUNDLE` and can't be passed through `ld`.
Contributor
Author
|
Tested this cherry picked on top of 2027.14.3, and it worked. It seems like main currently has other unrelated problems. |
thatcomputerguy0101
marked this pull request as ready for review
November 13, 2026 18:26
Member
|
Bugs, or just changes that aren’t updated in other places to match? There have been some changes made for beta 1. |
Contributor
Author
|
I think the problem was that I didn't update the robot project's build.gradle from the alpha7 format. |
Contributor
Author
|
Ok, it works with the current main branches too if |
Gold856
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This ignores libraries containing the word
javato excludelibopencv_java4130.dylibon macOS, which is a mach-oBUNDLEand can't be passed throughld. Otherwise, linking fails with the errorld: unsupported mach-o filetype (only MH_OBJECT and MH_DYLIB can be linked).This was previously done through
registerStandardDependency, but that code path isn't active any more since the vision libraries are no longer included by default.