Skip to content
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

ViSP Android module #1566

Merged
merged 68 commits into from
Feb 27, 2025
Merged

ViSP Android module #1566

merged 68 commits into from
Feb 27, 2025

Conversation

rolalaro
Copy link

@rolalaro rolalaro commented Jan 30, 2025

Update the build process of the ViSP Android module to face the evolution of the build tools.

  • Update gradle scripts
  • Update tutorial
  • Add a working example
  • Additional CMake flags can be given to the build_sdk.py build script

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 44.44444% with 5 lines in your changes missing coverage. Please review.

Project coverage is 54.53%. Comparing base (427354d) to head (6f29e3e).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
...s/core/src/math/misc/vpStatisticalTestShewhart.cpp 44.44% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1566      +/-   ##
==========================================
- Coverage   54.53%   54.53%   -0.01%     
==========================================
  Files         442      442              
  Lines       53465    53469       +4     
==========================================
+ Hits        29156    29157       +1     
- Misses      24309    24312       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

LAGNEAU Romain added 16 commits February 5, 2025 09:35
handling the multiple ABI (I think only the last one is kept in the final bundle

copying the shared libs and archive libs in the jniLibs folder
…pp + began explanations on using samples/app
LAGNEAU Romain and others added 28 commits February 19, 2025 09:40
- prefer jpeg images instead of png
- increase image compression
- new overlay drawings
- Previous version modified by Romain was not able to detect Android SDK on mac OSX
- Changes to synchronize with opencv
  (compiling source file '../../../../visp/modules/java/generator/src/cpp/visp_java.cpp')

  Génération de code en cours...
     Création de la bibliothèque C:/visp-ws/test-pr/visp-rolalaro/visp-build/lib/Release/visp_java361.lib et de l'objet
   C:/visp-ws/test-pr/visp-rolalaro/visp-build/lib/Release/visp_java361.exp
listconverters.obj : error LNK2019: symbole externe non résolu "public: static bool const * const vpStatisticalTestShew
hart::CONST_ALL_WECO_ACTIVATED" (?CONST_ALL_WECO_ACTIVATED@vpStatisticalTestShewhart@@2QB_NB) référencé dans la fonctio
n "public: void __cdecl vpStatisticalTestShewhart::`default constructor closure'(void)" (??_FvpStatisticalTestShewhart@
@QEAAXXZ) [C:\visp-ws\test-pr\visp-rolalaro\visp-build\modules\java\jni\visp_java.vcxproj]
visp_java.obj : error LNK2001: symbole externe non résolu "public: static bool const * const vpStatisticalTestShewhart:
:CONST_ALL_WECO_ACTIVATED" (?CONST_ALL_WECO_ACTIVATED@vpStatisticalTestShewhart@@2QB_NB) [C:\visp-ws\test-pr\visp-rolal
aro\visp-build\modules\java\jni\visp_java.vcxproj]
C:\visp-ws\test-pr\visp-rolalaro\visp-build\lib\Release\visp_java361.dll : fatal error LNK1120: 1 externes non résolus
[C:\visp-ws\test-pr\visp-rolalaro\visp-build\modules\java\jni\visp_java.vcxproj]
…_WECO_ACTIVATED

The solution that has been chosen is to used a vector instead of a C-array
@fspindle
Copy link
Contributor

@rolalaro Thanks for your help

@fspindle fspindle merged commit a85f31f into lagadic:master Feb 27, 2025
79 of 80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants