Scaleform: Undefined symbols for architecture x86_64

Not applicable
11-25-2015
04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I compile scaleform 4.3.28 for MacOS+clang/x86_64 with some minor changes with FlashPlayerFX (which compiles fine for linux), I receive this error:
Undefined symbols for architecture x86_64: "Scaleform::Platform::Device::dumpScreen(Scaleform::File*)", referenced from: Scaleform::Platform::RenderHALThread::dumpScreen(Scaleform::File*) in libgfxplatform.a(Platform_RenderHALThread.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Bin/MacOS-x86_64/clang/FxPlayer.app/Contents/MacOS/FxPlayer] Error 1 make: *** [Release+NoRTTI] Error 2
I am unsure how to proceed, please let me know if you need any more information.
Here is my log output:
make P=MacOS+clang/x86_64 clean rebuild \e]0;Making scaleform_4.3_macos_twcrm -rf Obj/MacOS-x86_64-clang/Release_NoRTTI Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxrender_gl.a Bin/MacOS-x86_64/clang/FxPlayerTiny.app Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxsound_fmod.a Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxsound_null.a Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxexpat.a Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxplatform.a Lib/MacOS-x86_64/clang/libcurl.a Lib/MacOS-x86_64/clang/libpcre.a Bin/MacOS-x86_64/clang/FxPlayer.app Bin/MacOS-x86_64/clang/HudDemo.app Bin/MacOS-x86_64/clang/MenuDemo.app rm -rf Obj/MacOS-x86_64-clang rm -rf Obj/MacOS-x86_64-clang/Debug_NoRTTI Lib/MacOS-x86_64/clang/Debug_NoRTTI/libgfxrender_gl.a Bin/MacOS-x86_64/clang/FxPlayerTiny_Debug_NoRTTI.app Lib/MacOS-x86_64/clang/Debug_NoRTTI/libgfxsound_fmod.a Lib/MacOS-x86_64/clang/Debug_NoRTTI/libgfxsound_null.a Lib/MacOS-x86_64/clang/Debug_NoRTTI/libgfxexpat.a Lib/MacOS-x86_64/clang/Debug_NoRTTI/libgfxplatform.a Lib/MacOS-x86_64/clang/libcurl.a Lib/MacOS-x86_64/clang/libpcre.a Bin/MacOS-x86_64/clang/FxPlayer_Debug_NoRTTI.app Bin/MacOS-x86_64/clang/HudDemo_Debug_NoRTTI.app Bin/MacOS-x86_64/clang/MenuDemo_Debug_NoRTTI.app rm -rf Obj/MacOS-x86_64-clang rm -rf Obj/MacOS-x86_64-clang/DebugOpt_NoRTTI Lib/MacOS-x86_64/clang/DebugOpt_NoRTTI/libgfxrender_gl.a Bin/MacOS-x86_64/clang/FxPlayerTiny_DebugOpt_NoRTTI.app Lib/MacOS-x86_64/clang/DebugOpt_NoRTTI/libgfxsound_fmod.a Lib/MacOS-x86_64/clang/DebugOpt_NoRTTI/libgfxsound_null.a Lib/MacOS-x86_64/clang/DebugOpt_NoRTTI/libgfxexpat.a Lib/MacOS-x86_64/clang/DebugOpt_NoRTTI/libgfxplatform.a Lib/MacOS-x86_64/clang/libcurl.a Lib/MacOS-x86_64/clang/libpcre.a Bin/MacOS-x86_64/clang/FxPlayer_DebugOpt_NoRTTI.app Bin/MacOS-x86_64/clang/HudDemo_DebugOpt_NoRTTI.app Bin/MacOS-x86_64/clang/MenuDemo_DebugOpt_NoRTTI.app rm -rf Obj/MacOS-x86_64-clang rm -rf Obj/MacOS-x86_64-clang/Shipping_NoRTTI Lib/MacOS-x86_64/clang/Shipping_NoRTTI/libgfxrender_gl.a Bin/MacOS-x86_64/clang/FxPlayerTiny_Shipping_NoRTTI.app Lib/MacOS-x86_64/clang/Shipping_NoRTTI/libgfxsound_fmod.a Lib/MacOS-x86_64/clang/Shipping_NoRTTI/libgfxsound_null.a Lib/MacOS-x86_64/clang/Shipping_NoRTTI/libgfxexpat.a Lib/MacOS-x86_64/clang/Shipping_NoRTTI/libgfxplatform.a Lib/MacOS-x86_64/clang/libcurl.a Lib/MacOS-x86_64/clang/libpcre.a Bin/MacOS-x86_64/clang/FxPlayer_Shipping_NoRTTI.app Bin/MacOS-x86_64/clang/HudDemo_Shipping_NoRTTI.app Bin/MacOS-x86_64/clang/MenuDemo_Shipping_NoRTTI.app rm -rf Obj/MacOS-x86_64-clang /Applications/Xcode.app/Contents/Developer/usr/bin/make P=MacOS+clang/x86_64 C=Release+NoRTTI cc Src/Render/GL/GL_HAL.cpp cc Src/Render/GL/GL_MeshCache.cpp cc Src/Render/GL/GL_Shader.cpp cc Src/Render/GL/GL_Sync.cpp cc Src/Render/GL/GL_Texture.cpp cc Src/Render/GL/GL_ShaderDescs.cpp cc Src/Render/GL/GL_ShaderSource.cpp cc Src/Render/GL/GL_Extensions.cpp ar Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxrender_gl.a cc Apps/Samples/GFxPlayerTiny/GFxPlayerTinyMacGL.mm Apps/Samples/GFxPlayerTiny/GFxPlayerTinyMacGL.mm:387:15: warning: 'loadNibNamed:owner:' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] [NSBundle loadNibNamed:@"MainMenu" owner:NSApp]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSNibLoading.h:30:1: note: 'loadNibNamed:owner:' has been explicitly marked deprecated here + (BOOL)loadNibNamed:(null_unspecified NSString *)nibName owner:(null_unspecified id)owner NS_DEPRECATED_MAC(10_0, 10_8); // Depr... ^ 1 warning generated. cc Src/XML/XML_Expat.cpp ar Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxexpat.a cc Src/Platform/Platform.cpp cc Src/Platform/Platform_CommandLine.cpp cc Src/Platform/Platform_CoreTest.cpp cc Src/Platform/Platform_RenderThread.cpp cc Src/Platform/Platform_RTCommandQueue.cpp cc Src/Platform/Platform_SystemCursorManager.cpp cc Src/Platform/Platform_Posix.cpp cc Src/Platform/Platform_RenderHALThread.cpp ar Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxplatform.a make Obj/MacOS-x86_64-clang/3rdParty/curl-7.29.0/libcurl.a make pcre ld Bin/MacOS-x86_64/clang/FxPlayerTiny.app/Contents/MacOS/FxPlayerTiny cc Src/Sound/Sound_SoundRenderer.cpp cc Src/Sound/Sound_Sound.cpp cc Src/Sound/Sound_SoundRendererFMOD.cpp ar Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxsound_fmod.a ar Lib/MacOS-x86_64/clang/Release_NoRTTI/libgfxsound_null.a cc Src/Platform/Platform_Mac_GL.mm Src/Platform/Platform_Mac_GL.mm:283:15: warning: 'NSOpenGLPFAFullScreen' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] attr[3] = NSOpenGLPFAFullScreen; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:84:2: note: 'NSOpenGLPFAFullScreen' has been explicitly marked deprecated here NSOpenGLPFAFullScreen NS_ENUM_DEPRECATED_MAC(10_0, 10_6) = 54, ^ Src/Platform/Platform_Mac_GL.mm:300:10: warning: 'setFullScreen' is deprecated: first deprecated in OS X 10.7 - Use a fullscreen NSOpenGLView instead [-Wdeprecated-declarations] [ctx setFullScreen]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:212:1: note: 'setFullScreen' has been explicitly marked deprecated here - (void)setFullScreen NS_DEPRECATED_MAC(10_0, 10_7, "Use a fullscreen NSOpenGLView instead"); ^ Src/Platform/Platform_Mac_GL.mm:903:15: warning: 'loadNibNamed:owner:' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] [NSBundle loadNibNamed:@"MainMenu" owner:NSApp]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSNibLoading.h:30:1: note: 'loadNibNamed:owner:' has been explicitly marked deprecated here + (BOOL)loadNibNamed:(null_unspecified NSString *)nibName owner:(null_unspecified id)owner NS_DEPRECATED_MAC(10_0, 10_8); // Depr... ^ 3 warnings generated. cc Apps/Samples/FxPlayer/FxPlayer.cpp cc Apps/Samples/Common/FontConfigParser.cpp cc Apps/Samples/Common/FxPlayerAppBase.cpp cc Apps/Samples/Common/FxPlayerAppBaseHUD.cpp cc Apps/Samples/Common/FxPlayerAutotest.cpp In file included from Apps/Samples/Common/FxPlayerAutotest.cpp:19: Apps/Samples/Common/FxPlayerAutotest.h:44:22: warning: private field 'App' is not used [-Wunused-private-field] FxPlayerAppBase* App; ^ 1 warning generated. cc Apps/Samples/Common/FxRenderThread.cpp cc Apps/Samples/FxPlayer/FxHUD.cpp cc Apps/Samples/Common/FxSharedObjectManager.cpp cc Apps/Samples/Common/FxAmpAppControlCallback.cpp cc Apps/Samples/Common/FxSoundFMOD.cpp ld Bin/MacOS-x86_64/clang/FxPlayer.app/Contents/MacOS/FxPlayer Undefined symbols for architecture x86_64: "Scaleform::Platform::Device::dumpScreen(Scaleform::File*)", referenced from: Scaleform::Platform::RenderHALThread::dumpScreen(Scaleform::File*) in libgfxplatform.a(Platform_RenderHALThread.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Bin/MacOS-x86_64/clang/FxPlayer.app/Contents/MacOS/FxPlayer] Error 1 make: *** [Release+NoRTTI] Error 2
Attached is the verbose log output.
Reply
Reply