Hello
I am trying to compile Telemac to my macOS 10.14.6 (Macbook early 2015) with GCC9 (compile bash script and configuration file attached). However, this results in an error message which states that there is an 'unexpected token' in ld.
Currently I am working with XCode 10.3 but I tried it with 10.2.1 and 10.0.0. Both resulted in the same error.
Error message:
ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd' for architecture x86_64
Traceback (most recent call last):
File "/Users/ignace/Applications/telemac/v8p0r2/scripts/python3/compile_telemac.py", line 138, in <module>
main()
File "/Users/ignace/Applications/telemac/v8p0r2/scripts/python3/compile_telemac.py", line 126, in main
compile_cmdf(options.ncsize, modules)
File "/Users/ignace/Applications/telemac/v8p0r2/scripts/python3/compilation/compil_tools.py", line 1252, in compile_cmdf
bypass, homeres)
File "/Users/ignace/Applications/telemac/v8p0r2/scripts/python3/compilation/compil_tools.py", line 467, in create_exe_files
'Could not link your executable. ' \
utils.exceptions.TelemacException: Could not link your executable. Please verify your external library installation or the python script itself.
I would appreciate any tips or help!
Kind regards,
Ignace