- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gauss,
What's your OSX version?
Would youplease try to
add -no_compact_unwind to the link line to suppress the warning message.
The option is totell the linker (ld)to notproduce compact unwind information
for example,add option "-Wl,-no_compact_unwind" to builder makefile
gcc -arch i386 -arch x86_64... -Wl,-no_compact_unwind... -o "$(name).dylib"
and see if it works?
Best Regards,
Ying H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ld: warning: direct access in __ZN3UMC20ColorSpaceConversion8GetFrameEPNS_9MediaDataES2_ to global weak symbol __ZN3UMC9VideoData12GetClassNameEv means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in __ZN3UMC20ColorSpaceConversion8GetFrameEPNS_9MediaDataES2_ to global weak symbol __ZN3UMC9VideoData12GetClassNameEv means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked the problem in internet, see some solutions as <<http://stackoverflow.com/questions/8685045/xcode-with-boost-linkerid-warning-about-visibility-settings>>.
would you please try :
set for an entire target or project with the Symbols Hidden by Default build setting to YES
and rebuild all.
let us know how it works?
Thanks
Ying

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page