mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[apriltag] Try loading debug OpenCV if release version fails (#6949)
This commit is contained in:
@@ -33,8 +33,13 @@ class AprilTagDetectorTest {
|
||||
static void beforeAll() {
|
||||
try {
|
||||
RuntimeLoader.loadLibrary(Core.NATIVE_LIBRARY_NAME);
|
||||
} catch (IOException ex) {
|
||||
fail(ex);
|
||||
} catch (IOException e) {
|
||||
try {
|
||||
// Try adding a debug postfix
|
||||
RuntimeLoader.loadLibrary(Core.NATIVE_LIBRARY_NAME + "d");
|
||||
} catch (IOException ex) {
|
||||
fail(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user