-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
OF 0.11.0 examples are failing to link --
Ld /Users/zachzach/Desktop/of_v0.11.0_osx_release/apps/myApps/emptyExample/bin/emptyExampleDebug.app/Contents/MacOS/emptyExampleDebug normal (in target 'emptyExample' from project 'emptyExample')
cd /Users/zachzach/Desktop/of_v0.11.0_osx_release/apps/myApps/emptyExample
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.9 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.16.sdk -L/Users/zachzach/Desktop/of_v0.11.0_osx_release/apps/myApps/emptyExample/bin -F/Users/zachzach/Desktop/of_v0.11.0_osx_release/apps/myApps/emptyExample/bin -filelist /Users/zachzach/Library/Developer/Xcode/DerivedData/emptyExample-gysceiadgyrycjawcqquejltaxcx/Build/Intermediates.noindex/emptyExample.build/Debug/emptyExample.build/Objects-normal/x86_64/emptyExampleDebug.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/zachzach/Library/Developer/Xcode/DerivedData/emptyExample-gysceiadgyrycjawcqquejltaxcx/Build/Intermediates.noindex/emptyExample.build/Debug/emptyExample.build/Objects-normal/x86_64/emptyExampleDebug_lto.o -Xlinker -no_deduplicate -stdlib\=libc++ ../../../libs/tess2/lib/osx/tess2.a ../../../libs/glew/lib/osx/glew.a ../../../libs/cairo/lib/osx/cairo-script-interpreter.a ../../../libs/cairo/lib/osx/cairo.a ../../../libs/cairo/lib/osx/pixman-1.a ../../../libs/fmodex/lib/osx/libfmodex.dylib ../../../libs/rtAudio/lib/osx/rtaudio.a ../../../libs/glfw/lib/osx/glfw3.a ../../../libs/FreeImage/lib/osx/freeimage.a ../../../libs/freetype/lib/osx/freetype.a ../../../libs/boost/lib/osx/boost_filesystem.a ../../../libs/boost/lib/osx/boost_system.a ../../../libs/curl/lib/osx/curl.a ../../../libs/uriparser/lib/osx/uriparser.a ../../../libs/pugixml/lib/osx/pugixml.a -framework Accelerate -framework AGL -framework AppKit -framework ApplicationServices -framework AudioToolbox -framework AVFoundation -framework Cocoa -framework CoreAudio -framework CoreFoundation -framework CoreMedia -framework CoreServices -framework CoreVideo -framework IOKit -framework OpenGL -framework QuartzCore -framework QTKit -framework Security -framework LDAP ../../../libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a -Xlinker -
dependency_info -Xlinker /Users/zachzach/Library/Developer/Xcode/DerivedData/emptyExample-gysceiadgyrycjawcqquejltaxcx/Build/Intermediates.noindex/emptyExample.build/Debug/emptyExample.build/Objects-normal/x86_64/emptyExampleDebug_dependency_info.dat -o /Users/zachzach/Desktop/of_v0.11.0_osx_release/apps/myApps/emptyExample/bin/emptyExampleDebug.app/Contents/MacOS/emptyExampleDebug
ld: file not found: /usr/lib/libstdc++.6.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
when you look, /usr/lib/ is full of aliases but the dylibs are removed.
OF compiles and links fine, it's just examples, With Xcode 11.5 and 12 beta.
I dug around but I couldn't see where this particular linking is happening (none of the .a files we link against seem to reference this dylib). I didn't check every lib but can dig a little further....
relevant-ish ? (around /usr/lib changing)
dotnet/msbuild#5454
https://lapcatsoftware.com/articles/bigsur.html
Metadata
Metadata
Assignees
Labels
No labels