You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to build dylib (changing 'static' to 'shared')
It fails with error:
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7 [-Wdeprecated] ld: warning: ignoring file /usr/lib/libstdc++.dylib, building for iOS-arm64 but attempting to link with file built for macOS-x86_64 ld: building for iOS, but linking in object file built for macOS, file 'macos-silicon-build/boost/bin.v2/libs/atomic/build/darwin-~macossilicon/release/threading-multi/visibility-hidden/lock_pool.o' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -dynamiclib -Wl,-single_module -install_name "libboost_atomic.dylib" -o "macos-silicon-build/boost/bin.v2/libs/atomic/build/darwin-~macossilicon/release/threading-multi/visibility-hidden/libboost_atomic.dylib" "macos-silicon-build/boost/bin.v2/libs/atomic/build/darwin-~macossilicon/release/threading-multi/visibility-hidden/lock_pool.o" -headerpad_max_install_names -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wl,-dead_strip -no_dead_strip_inits_and_terms -arch arm64
Does this script supports building Universal Boost dynamic libraries (Intel arch and Apple Silicon archs = amd64 x86_64)
The question is asked here...
https://stackoverflow.com/questions/64553398/compile-boost-as-universal-library-intel-and-apple-silicon-architectures
The text was updated successfully, but these errors were encountered: