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

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open

ViSP Android module #1566

wants to merge 58 commits into from

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

All modified and coverable lines are covered by tests ✅

Project coverage is 54.51%. Comparing base (438a3b8) to head (28868c5).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1566      +/-   ##
==========================================
- Coverage   54.53%   54.51%   -0.03%     
==========================================
  Files         442      442              
  Lines       53459    53465       +6     
==========================================
- Hits        29155    29147       -8     
- Misses      24304    24318      +14     

☔ 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 30 commits February 17, 2025 17:58
- for the moment the update concerns ubuntu 24.04
- usage of JDK 21 which is the long term support version
A problem was introduced by the namespace macro. END_VISP_NAMESPACE macro had to be handled to parse correctly the C++ sources
Some C++ methods generated for the Java parsing must include some #ifdef safeguards for OpenCV, Eigen, Lapack, Gsl and JSON 3rd parties
- 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]
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