THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/09/2012 at 00:32, xxxxxxxx wrote:
Originally posted by xxxxxxxx
There has to be more to this. All of my plugins have symbol stripping enabled and the proper export.txt referenced. I installed one of my plugins in my R14 that a user says is crashing C4D R14 and it worked without incident. Could it just be that they need to be recompiled if using a later version of Xcode and hope for the best?Thanks,
Robert, I've downloaded version 1.1 of DropToFloor from your page. Using this nm command (path of course specific to my machine) :
nm /Users/myaccount/DropToFloor/DropToFloor.dylib | c++filt -p -i
to the downloaded dylib reports 1360 demangled C++ symbols. Starting with:
0000000000022ee6 s stub helpers
0000000000001570 t global constructors keyed to _Z19RegisterDescriptioniRK6StringP13LocalResource
00000000000015d0 t global constructors keyed to _ZNK9DescLeveleqERKS_
000000000000dae0 t FindPlugin
0000000000016180 t GeDebugOut
0000000000016100 t GeDebugOut
0000000000015140 t GeOpenHTML
0000000000016130 t GeUpdateUI
0000000000015b40 t GetTagName
0000000000015b90 t GetTagType
0000000000005330 t IsAlienMem
00000000000152b0 t ShowBitmap
0000000000015290 t ShowBitmap
0000000000015f00 t AddShortcut
00000000000166e0 t CallCommand
0000000000010f20 t GeFCopyFile
00000000000150a0 t GeOutString
0000000000015250 t GePrintNoCR
0000000000015010 t GeShowMouse
0000000000009630 t GenerateUVW
0000000000015ed0 t GetShortcut
0000000000008010 t GetToolData
0000000000002410 t PluginStart
0000000000015600 t ReadRegInfo
00000000000152f0 t StatusClear
0000000000009550 t Triangulate
0000000000005cc0 t UpdateMenus
- in between more than 1000 symbols - and ending with:
00000000000055d0 t operator delete[]
0000000000005370 t operator delete[]
00000000000053b0 t operator delete[]
00000000000053f0 t operator delete[]
0000000000005610 t operator delete
0000000000005350 t operator delete
0000000000005390 t operator delete
00000000000053d0 t operator delete
0000000000005ab0 t operator new[]
0000000000005a00 t operator new[]
00000000000057d0 t operator new[]
0000000000005700 t operator new[]
0000000000005650 t operator new
0000000000005520 t operator new
0000000000005950 t operator new
0000000000005870 t operator new
00000000000129d0 t operator+
U ___cxa_atexit
U ___cxa_pure_virtual
U ___stack_chk_fail
U ___stack_chk_guard
0000000000022e50 t ___tcf_0
0000000000000000 t __mh_dylib_header
0000000000007480 T _c4d_main
0000000000034640 s _fallbacklevel
U _free
0000000000034600 d _lib_brushbase
00000000000345f8 d _lib_ca
00000000000345e8 d _lib_ngonbase
U _malloc
U _memcpy
U _memset
0000000000034638 s _path_storage
0000000000034620 s _resource
00000000000345f0 d _t_C4DOS
U _vsnprintf
U dyld_stub_binder
00000000000015e4 t dyld_stub_binding_helper
Either there is a bug in the XCode version you're using (can't rule that out, as we just checked it with 4.4 and 3.2.6, as these are the versions we used in r13 & r14), or you haven't enabled symbol stripping.
Best regards,
Wilfried