View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033164 | Community | OCCT:Release | public | 2022-10-10 21:23 | 2024-03-28 17:08 |
Reporter | boomanaiden154 | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | duplicate | ||
Platform | Linux | OS | Alpine | ||
Product Version | 7.6.3 | ||||
Summary | 0033164: OpenCascade fails to compile with VTK 9.2.2 | ||||
Description | Currently, OpenCascade fails to compile with VTK 9.2.2 due to the addition of some includes within VTK itself that are included in the implementation of VtkDraw_Interactor that conflict with some of the X11 includes within the GLX headers (particularly Status within VTK which is defined to be int within X11/Xlib.h). This popped up while I was working on updating VTK on Alpine Linux, and will probably be useful more generally as other distros/users begin to use VTK 9.2.2 with OpenCascade. Assigning to myself as I already have a patch written and just need to upload it to get it merged. | ||||
Steps To Reproduce | Compile OpenCascade 7.6.3 with VTK 9.2.2 on Linux. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
x11vtkconflict.patch (416 bytes) |
|
Branch CR33164 has been created by boomanaiden154. SHA-1: 7f523af8e8a63ee17d8fc26f107c191cd51dcd44 Detailed log of new commits: Author: Aiden Grossman Date: Mon Oct 10 11:25:13 2022 -0700 Fix naming conflict between X11 headers and VTK 9.2.2+ Currently, the GLX headers include the X11 headers which use a preprocessor define to make Status an int. However, VTK has a class called Status, and this define replaces this class name with int which results in compilation errors. This patch undefs Status and Success, which are both defined in the X11 headers if they exist so that there are no conflicts within the VTK headers for newer versions. |
|
Resolved |
|
Dear bugmaster, please close. The issue resolved by 0033372 |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-10-10 21:23 | boomanaiden154 | New Issue | |
2022-10-10 21:23 | boomanaiden154 | Assigned To | => boomanaiden154 |
2022-10-10 21:23 | boomanaiden154 | File Added: x11vtkconflict.patch | |
2022-10-10 21:39 | git | Note Added: 0111466 | |
2022-10-15 01:12 | boomanaiden154 | Assigned To | boomanaiden154 => |
2022-10-15 01:12 | boomanaiden154 | Assigned To | => boomanaiden154 |
2022-10-15 01:17 | boomanaiden154 | Note Added: 0111590 | |
2022-10-21 08:28 | boomanaiden154 | Tag Attached: Resolved | |
2022-10-21 08:28 | boomanaiden154 | Tag Detached: Resolved | |
2024-01-31 18:46 | dpasukhi | Assigned To | boomanaiden154 => dpasukhi |
2024-02-01 02:43 | dpasukhi | Relationship added | duplicate of 0033372 |
2024-02-01 02:44 | dpasukhi | Assigned To | dpasukhi => bugmaster |
2024-02-01 02:44 | dpasukhi | Status | new => feedback |
2024-02-01 02:44 | dpasukhi | Note Added: 0115022 | |
2024-03-28 17:08 | vglukhik | Status | feedback => closed |
2024-03-28 17:08 | vglukhik | Resolution | open => duplicate |