-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS Bigsur Error when Linking file for osx #6633
Comments
Thx! It works if I build from Xcode. But there are still problems when I build from the command line. Is there any rules to fix it? |
I also need a fix when building from the makefiles on osx big sur, the makefiles themselves dont have anywhere to edit the run script line like the fix suggests. the makefile here does however, but simply changing that line does not fix the issue. |
I think this is fixed now in master/patch-release and nightly builds. If there are still issues we can re-open. Thanks! |
We need to re-open this issue as it's not fixed. I ran into the same error today on my Intel MBP running mac OS Big Sur.
I download the official open frameworks from https://openframeworks.cc and tried to follow instructions to setup from https://openframeworks.cc/setup/xcode/ which didn't work. |
System Info
macos 11.0.1
of.0.11.0
Error info
Linking bin/mySketch_debug for osx
c++ -o bin/mySketch_debug obj/osx/Debug/src/ofApp.o obj/osx/Debug/src/main.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvColorImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvShortImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvContourFinder.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvHaarFinder.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvFloatImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvGrayscaleImage.o /Users/zhangjunjie/OF/libs/openFrameworksCompiled/lib/osx/libopenFrameworksDebug.a /Users/zhangjunjie/OF/addons/ofxOpenCv/libs/opencv/lib/osx/opencv.a -stdlib=libc++ -mmacosx-version-min=10.9 -v -framework Accelerate -framework QTKit -framework AGL -framework ApplicationServices -framework AudioToolbox -framework CoreAudio -framework CoreFoundation -framework CoreServices -framework OpenGL -framework IOKit -framework Cocoa -framework CoreVideo -framework AVFoundation -framework CoreMedia -framework QuartzCore -framework Security -framework LDAP /Users/zhangjunjie/OF/libs/FreeImage/lib/osx/freeimage.a /Users/zhangjunjie/OF/libs/boost/lib/osx/boost_system.a /Users/zhangjunjie/OF/libs/boost/lib/osx/boost_filesystem.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/cairo-script-interpreter.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/cairo.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/png.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/pixman-1.a /Users/zhangjunjie/OF/libs/curl/lib/osx/curl.a /Users/zhangjunjie/OF/libs/freetype/lib/osx/freetype.a /Users/zhangjunjie/OF/libs/glew/lib/osx/glew.a /Users/zhangjunjie/OF/libs/glfw/lib/osx/glfw3.a /Users/zhangjunjie/OF/libs/pugixml/lib/osx/pugixml.a /Users/zhangjunjie/OF/libs/rtAudio/lib/osx/rtaudio.a /Users/zhangjunjie/OF/libs/tess2/lib/osx/tess2.a /Users/zhangjunjie/OF/libs/uriparser/lib/osx/uriparser.a /Users/zhangjunjie/OF/libs/fmodex/lib/osx/libfmodex.dylib -lobjc
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin20.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 10.9.0 11.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o bin/mySketch_debug -L/usr/local/lib obj/osx/Debug/src/ofApp.o obj/osx/Debug/src/main.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvColorImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvShortImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvContourFinder.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvHaarFinder.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvFloatImage.o /Users/zhangjunjie/OF/addons/obj/osx/Debug/ofxOpenCv/src/ofxCvGrayscaleImage.o /Users/zhangjunjie/OF/libs/openFrameworksCompiled/lib/osx/libopenFrameworksDebug.a /Users/zhangjunjie/OF/addons/ofxOpenCv/libs/opencv/lib/osx/opencv.a -framework Accelerate -framework QTKit -framework AGL -framework ApplicationServices -framework AudioToolbox -framework CoreAudio -framework CoreFoundation -framework CoreServices -framework OpenGL -framework IOKit -framework Cocoa -framework CoreVideo -framework AVFoundation -framework CoreMedia -framework QuartzCore -framework Security -framework LDAP /Users/zhangjunjie/OF/libs/FreeImage/lib/osx/freeimage.a /Users/zhangjunjie/OF/libs/boost/lib/osx/boost_system.a /Users/zhangjunjie/OF/libs/boost/lib/osx/boost_filesystem.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/cairo-script-interpreter.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/cairo.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/png.a /Users/zhangjunjie/OF/libs/cairo/lib/osx/pixman-1.a /Users/zhangjunjie/OF/libs/curl/lib/osx/curl.a /Users/zhangjunjie/OF/libs/freetype/lib/osx/freetype.a /Users/zhangjunjie/OF/libs/glew/lib/osx/glew.a /Users/zhangjunjie/OF/libs/glfw/lib/osx/glfw3.a /Users/zhangjunjie/OF/libs/pugixml/lib/osx/pugixml.a /Users/zhangjunjie/OF/libs/rtAudio/lib/osx/rtaudio.a /Users/zhangjunjie/OF/libs/tess2/lib/osx/tess2.a /Users/zhangjunjie/OF/libs/uriparser/lib/osx/uriparser.a /Users/zhangjunjie/OF/libs/fmodex/lib/osx/libfmodex.dylib -lobjc -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.osx.a
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)
make[2]: *** [bin/mySketch_debug] Error 1
make[1]: *** [Debug] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: