File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,7 +438,12 @@ private void addLibraryPath(String path) throws Exception {
438438 String originalPath = System .getProperty ("java.library.path" );
439439
440440 // If this is an arm device running linux, Processing seems to include the linux32 dirs in the path,
441- // which conflict with the arm-specific libs. So we remove the linux32 segments from the path:
441+ // which conflict with the arm-specific libs. To fix this, we remove the linux32 segments from the path.
442+ //
443+ // Alternatively, we could do one of the following:
444+ // A) prepend to the path instead of append, forcing our libs to be used
445+ // B) rename the libopencv_java245 in the arm7 dir and add logic to load it instead above in System.loadLibrary(...)
446+
442447 if (isArm ) {
443448 if (originalPath .indexOf ("linux32" ) != -1 ) {
444449 originalPath = originalPath .replaceAll (":[^:]*?linux32" , "" );
You can’t perform that action at this time.
0 commit comments