MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032613Open CASCADE[OCCT] OCCT:Samplespublic2021-10-12 09:352021-10-16 11:13
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version[OCCT] 7.6.0* 
Target Version[OCCT] 7.6.0*Fixed in Version[OCCT] 7.6.0* 
Summary0032613: Samples - glfw compilation error on Linux
Descriptionglfw sample compilation fails for Linux target.

/occt.git/samples/glfw/GlfwOcctWindow.cpp:58:64: error: invalid conversion from ‘Display* {aka _XDisplay*}’ 
to ‘Standard_Character {aka char}’ [-fpermissive]
     myDisplay = new Aspect_DisplayConnection (glfwGetX11Display());
                                               ~~~~~~~~~~~~~~~~~^~
Steps To ReproduceN/A
TagsNo tags attached.
Test case numberN/A
Attached Files

- Relationships
child of 0032308closedbugmaster Configuration - make Xlib dependency optional 

-  Notes
(0104597)
git (administrator)
2021-10-12 09:37

Branch CR32613 has been created by kgv.

SHA-1: 34043fc845eb2eb7abf6993224a97aa6066f6701


Detailed log of new commits:

Author: kgv
Date: Tue Oct 12 09:36:40 2021 +0300

    0032613: Samples - glfw compilation error on Linux
    
    GlfwOcctWindow - added cast to Aspect_XDisplay*.
    Added auxiliary OCCT searching script as alternative to CMake config files.
(0104598)
kgv (developer)
2021-10-12 10:06

Please raise the patch
- OCCT: branch CR32613.
(0104659)
smoskvin (administrator)
2021-10-16 10:03

Combination -
OCCT branch : IR-2021-10-15
master SHA - 475da0f1352e60eebf1432cf136042444c7c5488
49e51745631c52b6c452c65adae4d6dfa21a1b1e
Products branch : IR-2021-10-15 SHA - bd88028c52a28c63c191e235d0af754d59b66c81
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: 17699.720000000394 / 17936.010000000137 [-1.32%]
Products
Total CPU difference: 11665.880000000112 / 11621.340000000107 [+0.38%]
Windows-64-VC14:
OCCT
Total CPU difference: 19656.34375 / 19690.109375 [-0.17%]
Products
Total CPU difference: 12872.390625 / 12807.375 [+0.51%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

- Related Changesets
occt: master 34043fc8
Timestamp: 2021-10-12 06:36:40
Author: kgv
Details ] Diff ]
0032613: Samples - glfw compilation error on Linux

GlfwOcctWindow - added cast to Aspect_XDisplay*.
Added auxiliary OCCT searching script as alternative to CMake config files.
add - samples/glfw/adm/cmake/FindOpenCASCADE.cmake Diff ] File ]
mod - samples/glfw/CMakeLists.txt Diff ] File ]
mod - samples/glfw/GlfwOcctWindow.cpp Diff ] File ]

- Issue History
Date Modified Username Field Change
2021-10-12 09:35 kgv New Issue
2021-10-12 09:35 kgv Assigned To => kgv
2021-10-12 09:37 git Note Added: 0104597
2021-10-12 09:38 kgv Description Updated View Revisions
2021-10-12 10:06 kgv Test case number => N/A
2021-10-12 10:06 kgv Note Added: 0104598
2021-10-12 10:06 kgv Assigned To kgv => bugmaster
2021-10-12 10:06 kgv Status new => resolved
2021-10-12 10:06 kgv Status resolved => reviewed
2021-10-12 10:06 kgv Relationship added child of 0032308
2021-10-16 10:03 smoskvin Note Added: 0104659
2021-10-16 10:03 smoskvin Status reviewed => tested
2021-10-16 11:13 kgv Changeset attached => occt master 34043fc8
2021-10-16 11:13 kgv Assigned To bugmaster => kgv
2021-10-16 11:13 kgv Status tested => verified
2021-10-16 11:13 kgv Resolution open => fixed


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker