View Issue Details

IDProjectCategoryView StatusLast Update
0033372CommunityOCCT:Visualizationpublic2024-02-01 02:43
Reporterzugfon Assigned Todpasukhi  
PrioritynormalSeveritymajor 
Status verifiedResolutionfixed 
PlatformLinux 
Product Version7.7.0 
Target Version7.7.2 
Summary0033372: Visualization - Compilation of git master fails against vtk 9.2.6
Description[ 57%] Building CXX object src/TKBool/CMakeFiles/TKBool.dir/__/BRepFill/BRepFill_Generator.cxx.o
In file included from /usr/include/GL/glx.h:30,
                 from /opencascade/src/IVtkDraw/IVtkDraw_Interactor.cxx:22:
/usr/include/vtk/vtksys/Status.hxx:15:21: error: expected identifier before 'int'
   15 | class vtksys_EXPORT Status
      | ^~~~~~
In file included from /usr/include/vtk/vtksys/SystemTools.hxx:7,
                 from /usr/include/vtk/vtkSetGet.h:35,
                 from /usr/include/vtk/vtkObject.h:46,
                 from /usr/include/vtk/vtkCommand.h:235,
                 from /usr/include/vtk/vtkRenderWindowInteractor.h:48,
                 from /usr/include/vtk/vtkXRenderWindowInteractor.h:35,
                 from /opencascade/src/IVtkDraw/IVtkDraw_Interactor.cxx:30:
/usr/include/vtk/vtksys/Status.hxx:16:1: error: expected unqualified-id before '{' token
   16 | {
      | ^
make[2]: *** [src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/build.make:104: src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw_Interactor.cxx.o] Error 1
Steps To Reproduce
cmake \
    -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
[...]
    -D3RDPARTY_VTK_INCLUDE_DIR=/usr/include/vtk \
    ./opencascade

cmake --build build
Additional information
and documentation updates
https://gitlab.kitware.com/vtk/vtk/-/issues/18683
TagsNo tags attached.
Test case number

Relationships

has duplicate 0033164 closedbugmaster OpenCascade fails to compile with VTK 9.2.2 

Activities

dpasukhi

2023-05-03 16:10

administrator   ~0113431

Last edited: 2023-05-03 16:12

Hello,
Vtk 9.2 are not supported yet.
Please use vtk-6.1.0 or 9.0 or similar.

We will analyze it ASAP.

Best regards, Dmtrii.

dpasukhi

2023-05-19 22:38

administrator   ~0113540

Current issue is know by VTK developers:
https://gitlab.kitware.com/vtk/vtk/-/issues/18683

git

2023-05-19 23:05

administrator   ~0113541

Branch CR33372 has been created by dpasukhi.

SHA-1: 4d80a2b266ed1e8bfb17f7fc96bf55292b680f5d


Detailed log of new commits:

Author: dpasukhi
Date: Fri May 19 21:04:43 2023 +0100

    0033372: Visualization - Compilation of git master fails against vtk 9.2.6
    
    Fixed compilation on vtk 9.2.6.
    Resolved name collisions with X11 headers

dpasukhi

2023-05-19 23:13

administrator   ~0113542

Dear @zugfon
Please check CR33372.
I check version 9.2.6 on ubuntu 22LTS with clang++-15 all working fine.

dpasukhi

2023-05-22 13:20

administrator   ~0113568

Dear ika.
Please review CR33372

All test are OK. see:
http://jenkins-test-10.nnov.opencascade.com/view/CR33372-master-dpasukhi/view/COMPARE/

I fix problem with buildng using vtk 9.2.6.
See the community discassion: https://gitlab.kitware.com/vtk/vtk/-/issues/18683

ika

2023-05-29 14:33

developer   ~0113596

Dear bugmaster,

no remarks, please integrate
OCCT: CR33372

vglukhik

2023-06-05 19:57

administrator   ~0113613

Combination -
OCCT branch : IR-2023-06-02
Products branch : master
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:
Ubuntu2004-64:
OCCT
Total CPU difference: 17953.14000000039 / 17818.440000000253 [+0.76%]
Products
Total CPU difference: 11996.69000000001 / 11945.280000000024 [+0.43%]
Windows-64-VC142:
OCCT
Total CPU difference: 19638.703125 / 20590.0625 [-4.62%]
Products
Total CPU difference: 14005.421875 / 14674.03125 [-4.56%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

git

2023-06-05 20:00

administrator   ~0113615

Branch CR33372 has been deleted by mnt.

SHA-1: 4d80a2b266ed1e8bfb17f7fc96bf55292b680f5d

Related Changesets

occt: master 54ed2435

2023-05-19 20:04:43

dpasukhi


Committer: jokwajeb Details Diff
0033372: Visualization - Compilation of git master fails against vtk 9.2.6

Fixed compilation on vtk 9.2.6.
Resolved name collisions with X11 headers
Affected Issues
0033372
mod - src/IVtkDraw/IVtkDraw_Interactor.cxx Diff File

Issue History

Date Modified Username Field Change
2023-05-02 14:26 zugfon New Issue
2023-05-02 14:26 zugfon Assigned To => sshutina
2023-05-02 14:34 dpasukhi Summary Compilation of git master fails against vtk 9.2.6 => Visualization - Compilation of git master fails against vtk 9.2.6
2023-05-02 14:34 dpasukhi Steps to Reproduce Updated
2023-05-03 16:10 dpasukhi Assigned To sshutina => zugfon
2023-05-03 16:10 dpasukhi Status new => feedback
2023-05-03 16:10 dpasukhi Note Added: 0113431
2023-05-03 16:12 dpasukhi Note Edited: 0113431
2023-05-03 16:12 dpasukhi Assigned To zugfon => mzernova
2023-05-03 16:12 dpasukhi Status feedback => assigned
2023-05-03 16:13 dpasukhi Product Version => 7.7.0
2023-05-03 16:13 dpasukhi Target Version => Unscheduled
2023-05-03 16:14 dpasukhi Severity minor => major
2023-05-03 16:14 dpasukhi Platform => Linux
2023-05-19 21:37 dpasukhi Assigned To mzernova => dpasukhi
2023-05-19 22:38 dpasukhi Note Added: 0113540
2023-05-19 23:05 git Note Added: 0113541
2023-05-19 23:12 dpasukhi Additional Information Updated
2023-05-19 23:13 dpasukhi Note Added: 0113542
2023-05-19 23:13 dpasukhi Target Version Unscheduled => 7.7.2
2023-05-22 13:20 dpasukhi Assigned To dpasukhi => ika
2023-05-22 13:20 dpasukhi Status assigned => resolved
2023-05-22 13:20 dpasukhi Note Added: 0113568
2023-05-29 14:33 ika Assigned To ika => bugmaster
2023-05-29 14:33 ika Status resolved => reviewed
2023-05-29 14:33 ika Note Added: 0113596
2023-06-05 19:57 vglukhik Note Added: 0113613
2023-06-05 19:58 jokwajeb Changeset attached => occt master 54ed2435
2023-06-05 19:58 dpasukhi Assigned To bugmaster => dpasukhi
2023-06-05 19:58 dpasukhi Status reviewed => verified
2023-06-05 19:58 dpasukhi Resolution open => fixed
2023-06-05 20:00 git Note Added: 0113615
2024-02-01 02:43 dpasukhi Relationship added has duplicate 0033164