Archived issue #0033557

Coding - Cocoa compilation problem

Open CASCADEOCCT:Codingverified4 public notes

Search issues

Description

compilation fails in M1 Pro Mac , xcode 13.3 , macos 13.4
[ 60%] Linking CXX shared library ../../mac64/clang/lib/libTKViewerTest.dylib
ld: warning: option -s is obsolete and being ignored
Undefined symbols for architecture arm64:
"_ViewerTest_myViews", referenced from:
FindViewId(NSWindow const*) in ViewerTest_ViewerCommands_1.mm.o
-[Cocoa_WindowController windowWillClose:] in ViewerTest_ViewerCommands_1.mm.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [mac64/clang/lib/libTKViewerTest.7.8.0.dylib] Error 1
make[1]: *** [src/TKViewerTest/CMakeFiles/TKViewerTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 68%] Built target TKDEIGES
[ 97%] Built target TKDESTEP

Steps to reproduce

Not required

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Dec 18 11:50:25 2023 +0000

    0033557: Coding - Cocoa compilation problem
    
    Fixed extern relation for VisTest component on MacOS
02Author
Dear bugmaster, please integrate:
OCCT: CR33557
03Commenter 2
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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:
Ubuntu2004-64:
OCCT
Total CPU difference: 18633.43999999986 / 18269.079999999904 [+1.99%]
Products
Total CPU difference: 11763.979999999934 / 11554.499999999949 [+1.81%]
Windows-64-VC142:
OCCT
Total CPU difference: 20136.3125 / 20132.90625 [+0.02%]
Products
Total CPU difference: 13131.234375 / 12359.828125 [+6.24%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 1
Branch [archived branch] has been deleted by Author.

[revision removed]