Of 0.11.2 complete fail to build anything

Getting linker errors , even empty project wont build.
of 0.11.2 , 10.13.6. xcode 9.2.

I’ve tried removing i386 architecture, and qtkit reference as explained in other threads but nothing works. Errors below.

of. 0.10.1 works ok, so maybe I 'm stuck with that … :frowning:

Errors:

ld bin/testDebug.app/Contents/MacOS/testDebug normal x86_64
cd /Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/test
export MACOSX_DEPLOYMENT_TARGET=10.9
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/test/bin -F/Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/test/bin -filelist /Users/ian/Library/Developer/Xcode/DerivedData/test-dsmzyxipavwxxybabailzgcnfxoi/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/x86_64/testDebug.LinkFileList -mmacosx-version-min=10.9 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ian/Library/Developer/Xcode/DerivedData/test-dsmzyxipavwxxybabailzgcnfxoi/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/x86_64/testDebug_lto.o -Xlinker -export_dynamic -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/fmod/lib/osx/libfmod.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 Security …/…/…/libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a -Xlinker -dependency_info -Xlinker /Users/ian/Library/Developer/Xcode/DerivedData/test-dsmzyxipavwxxybabailzgcnfxoi/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/x86_64/testDebug_dependency_info.dat -o /Volumes/Extra/of_v0.11.2_osx_release/apps/myApps/test/bin/testDebug.app/Contents/MacOS/testDebug

Undefined symbols for architecture x86_64:
“___isPlatformVersionAtLeast”, referenced from:
_singleipconnect in curl.a(libcurl_la-connect.o)
_darwinssl_connect_common in curl.a(libcurl_la-darwinssl.o)
_darwinssl_version_from_curl in curl.a(libcurl_la-darwinssl.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hi,

For OF 0.11.1 onwards Xcode 11 is required.
See: OF 0.11.1 Release is out - #11 by theo

OF 0.11.0 should still work with Xcode 9.
Apologies! The linking issue is a byproduct of supporting Big Sur. ( ie: we can’t support the latest macOS without dropping support for Xcode 9 ).

I am going to add a note to the setup instructions about this.

Theo

2 Likes

Great - thanks Theo.