MantisBT - Community
View Issue Details
0030715Community[OCCT] OCCT:Configurationpublic2019-05-16 15:582019-06-08 13:23
Vico Liang 
[OCCT] 7.3.0 
[OCCT] 7.4.0* 
Not needed
0030715: Configuration, CMake - error build with QTANGLE
Get the latest code from git with CMake3.14.4.
Build OCCT with QTANGLE's EGL and GLES2 for platform WindowsStore.
Whatever I input the EGL and GLES2 folder path, the error remains.

CMake Error at CMakeLists.txt:711 (message):
  Could not find libraries of used third-party products:

CMake Warning at CMakeLists.txt:726 (message):
  Could not find DLLs of used third-party products:
No tags attached.
related to 0029918assigned apn Open CASCADE Samples - extend UWP sample with 3D Viewer 
related to 0030746assigned bugmaster Open CASCADE Jenkins - USE_GLES2 has no effect on Windows builds 
child of 0027811closed bugmaster Open CASCADE Configuration - allow building TKOpenGl with OpenGL ES on Windows 
Issue History
2019-05-16 15:58Vico LiangNew Issue
2019-05-16 15:58Vico LiangAssigned To => bugmaster
2019-05-24 10:24kgvProduct Version => 7.3.0
2019-05-24 10:24kgvSummaryCMake error build with EGL and GLESv2 => Configuration, CMake - error build with EGL and GLESv2
2019-05-24 10:26kgvRelationship addedrelated to 0029918
2019-05-24 10:27kgvRelationship addedchild of 0027811
2019-05-24 10:27kgvRelationship addedrelated to 0027350
2019-05-24 11:25kgvSummaryConfiguration, CMake - error build with EGL and GLESv2 => Configuration, CMake - error build with QTANGLE
2019-05-24 11:36kgvNote Added: 0084596
2019-05-24 17:36Vico LiangNote Added: 0084611
2019-06-04 16:09kgvRelationship addedrelated to 0030746
2019-06-04 17:51bugmasterAssigned Tobugmaster => apn
2019-06-04 17:51bugmasterStatusnew => assigned
2019-06-04 18:26bugmasterRelationship addedparent of 0030654
2019-06-04 18:26bugmasterRelationship deletedparent of 0030654
2019-06-04 18:26bugmasterRelationship addedparent of 0030654
2019-06-04 18:28bugmasterRelationship deletedparent of 0030654
2019-06-04 18:28gitNote Added: 0084823
2019-06-04 18:40apnNote Added: 0084824
2019-06-04 18:41apnTest case number => Not needed
2019-06-04 18:41apnAssigned Toapn => kgv
2019-06-04 18:41apnStatusassigned => resolved
2019-06-08 13:11bugmasterChangeset attached => occt master 5771d380
2019-06-08 13:11bugmasterAssigned Tokgv => bugmaster
2019-06-08 13:11bugmasterStatusresolved => verified
2019-06-08 13:11bugmasterResolutionopen => fixed
2019-06-08 13:21gitNote Added: 0084956

2019-05-24 11:36   
Could you please comment which version of Angle is used?
Have you built it on your own or used build provided with Qt installation (where it can be found then and in which version of Qt)?

The last revision of Angle tested for building OCCT was "Angle-gles2 2.1.0" (vc14-uwp): [^]
Have they changed/introduced packaging?
Vico Liang   
2019-05-24 17:36   
The QTANGLE is from QT5.12.3, use build provided with QT installation.
Inlucde Path: Qt5.12.3\5.12.3\winrt_x64_msvc2017\include\QtANGLE
Lib path: Qt5.12.3\5.12.3\winrt_x64_msvc2017\lib
Bin path: Qt5.12.3\5.12.3\winrt_x64_msvc2017\bin
2019-06-04 18:28   
Branch CR30715 has been created by apn.

SHA-1: 61d8207a898f5c7cb8e78e1cf0fbe0fe4e63777f

Detailed log of new commits:

Author: apn
Date: Tue Jun 4 14:20:56 2019 +0300

    0030715: Configuration, CMake - error build with QTANGLE
    SEARCH_TEMPLATES was modified to find EGL and GLES2 libraries in different folders (angle-gles, egl-gles, egl, angle, etc).
    Find 3rdparty products procedure allows to define 3RDPARTY_LIBRARY_DIR or 3RDPARTY_DLL_DIR manually to find necessary libraries and dlls.
2019-06-04 18:40   
If 3RDPARTY_DIR doesn't contain angle-gles2 folder and variables 3RDPARTY_EGL_LIBRARY_DIR_libGLESv2, 3RDPARTY_GLES2_LIBRARY_DIR_libGLESv2, 3RDPARTY_EGL_DLL_DIR_libEGL and 3RDPARTY_EGL_DLL_DIR_libGLESv2 were defined manually in CMake GUI procedure of finding 3rdparty products works correct.
Also SEARCH_TEMPLATES was modified so EGL and GLES2 can be found in different folders (angle-gles, egl-gles, egl, angle, etc).

Dear kgv, could you please review CR30715.
2019-06-08 13:21   
Branch CR30715 has been deleted by inv.

SHA-1: 61d8207a898f5c7cb8e78e1cf0fbe0fe4e63777f