MantisBT - Open CASCADE
View Issue Details
0032613Open CASCADE[OCCT] OCCT:Samplespublic2021-10-12 09:352021-10-16 11:13
kgv 
kgv 
normalminor 
closedfixed 
[OCCT] 7.6.0* 
[OCCT] 7.6.0*[OCCT] 7.6.0* 
N/A
0032613: Samples - glfw compilation error on Linux
glfw 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());
                                               ~~~~~~~~~~~~~~~~~^~
N/A
No tags attached.
child of 0032308closed bugmaster Configuration - make Xlib dependency optional 
Issue History
2021-10-12 09:35kgvNew Issue
2021-10-12 09:35kgvAssigned To => kgv
2021-10-12 09:37gitNote Added: 0104597
2021-10-12 09:38kgvDescription Updatedbug_revision_view_page.php?rev_id=25852#r25852
2021-10-12 10:06kgvTest case number => N/A
2021-10-12 10:06kgvNote Added: 0104598
2021-10-12 10:06kgvAssigned Tokgv => bugmaster
2021-10-12 10:06kgvStatusnew => resolved
2021-10-12 10:06kgvStatusresolved => reviewed
2021-10-12 10:06kgvRelationship addedchild of 0032308
2021-10-16 10:03smoskvinNote Added: 0104659
2021-10-16 10:03smoskvinStatusreviewed => tested
2021-10-16 11:13kgvChangeset attached => occt master 34043fc8
2021-10-16 11:13kgvAssigned Tobugmaster => kgv
2021-10-16 11:13kgvStatustested => verified
2021-10-16 11:13kgvResolutionopen => fixed

Notes
(0104597)
git   
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   
2021-10-12 10:06   
Please raise the patch
- OCCT: branch CR32613.
(0104659)
smoskvin   
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