View Issue Details

IDProjectCategoryView StatusLast Update
0030999CommunityOCCT:Configurationpublic2021-04-22 17:56
ReporterVico Liang Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.4.0 
Target Version7.6.0 
Summary0030999: Configuration - CMake fails to build on IOS
DescriptionIt's always fail to build with cmake on ios. Neither works with Unix MakeFile or XCode. Build environment is xcode 10.1, cmake 3.14.3. It's also a problem to enable OpenGLES2.0. Toolchain: https://github.com/leetal/ios-cmake.git

Error message as below:
[ 1%] Linking CXX static library ../../mac32/clang/lib/libTKernel.a
error: /software/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: @CMakeFiles/TKernel.dir/objects1.rsp (No such file or directory)
TagsNo tags attached.
Test case number

Attached Files

  • cmake settings.png (297,268 bytes)

Relationships

related to 0032011 closedbugmaster Open CASCADE Configuration - add batch files to build OCCT for macOS and iOS targets 
related to 0032013 closedbugmaster Open CASCADE Samples - iOS sample compilation errors 

Activities

Vico Liang

2019-09-25 16:29

developer  

cmake settings.png (297,268 bytes)

Vico Liang

2019-09-28 18:29

developer   ~0087593

It has no problem when building for ios device without opengles2.0. The issue just occur for simulator.

abv

2019-10-19 23:35

manager   ~0088337

Vico, I encourage you to investigate this issue and propose the correction

kgv

2021-02-20 20:35

developer   ~0099008

Last edited: 2021-02-20 20:36

Vico, a sample build script created within 0032011 (adm/scripts/ios_build.sh, toSimulator option) have not found any issues with Simulator64 (though CMake has clumsy interface for iOS/macOS targets).

Script use standard CMake options for configuring iOS toolchain, not 3rd-party tool.

You are welcome to investigate issue and propose a patch (if needed for OCCT) for building using different scenarios.
So far I propose closing the issue.

Issue History

Date Modified Username Field Change
2019-09-25 16:18 Vico Liang New Issue
2019-09-25 16:18 Vico Liang Assigned To => bugmaster
2019-09-25 16:25 Vico Liang Product Version => 7.4.0
2019-09-25 16:25 Vico Liang Description Updated
2019-09-25 16:29 Vico Liang File Added: cmake settings.png
2019-09-28 18:29 Vico Liang Note Added: 0087593
2019-10-19 23:35 abv Note Added: 0088337
2019-12-17 13:44 kgv Summary CMake fails to build on IOS => Configuration - CMake fails to build on IOS
2020-03-03 10:18 bugmaster Assigned To bugmaster => apn
2020-03-03 10:18 bugmaster Status new => assigned
2020-09-11 15:37 utverdov Assigned To apn => inv
2020-09-11 15:40 utverdov Target Version 7.5.0 => 7.6.0
2020-09-11 17:08 bugmaster Assigned To inv => bugmaster
2021-02-20 20:28 kgv Relationship added related to 0032011
2021-02-20 20:28 kgv Relationship added related to 0032013
2021-02-20 20:35 kgv Note Added: 0099008
2021-02-20 20:35 kgv Assigned To bugmaster => Vico Liang
2021-02-20 20:35 kgv Status assigned => feedback
2021-02-20 20:35 kgv Assigned To Vico Liang => bugmaster
2021-02-20 20:35 kgv Resolution open => no change required
2021-02-20 20:36 kgv Note Edited: 0099008
2021-04-22 17:56 bugmaster Status feedback => closed