Archived issue #0032262

Samples - JNIViewer sample compilation failure due to usage of removed aliases to Image_Format

Open CASCADEOCCT:Samplesclosed5 public notes

Search issues

Description

There are compilation errors since #0032056 to be fixed:
C:/occt.git/samples/java/jniviewer/app/src/main/jni/OcctJni_Viewer.cxx:580:46: error: no member named 'ImgBGRA' in 'Image_PixMap'
  if (!anAlienImage.InitTrash (Image_PixMap::ImgBGRA, theWidth, theHeight))
                               ~~~~~~~~~~~~~~^
C:/occt.git/samples/java/jniviewer/app/src/main/jni/OcctJni_Viewer.cxx:589:38: error: no member named 'ImgRGBA' in 'Image_PixMap'
  anImage.InitWrapper (Image_PixMap::ImgRGBA,

Steps to reproduce

N/A

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


No new revisions were added by this update.
02Author
Please raise the patch
- OCCT: branch CR32262.
03Commenter 2
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Mar 29 17:56:06 2021 +0300

    0032262: Samples - JNIViewer sample compilation failure due to usage of removed aliases to Image_Format

04Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18055.90000000045 / 18179.810000000525 [-0.68%]
Products
Total CPU difference: 11506.800000000105 / 11565.220000000114 [-0.51%]
Windows-64-VC14:
OCCT
Total CPU difference: 19512.09375 / 19430.5 [+0.42%]
Products
Total CPU difference: 12943.234375 / 12843.765625 [+0.77%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records