error: garbage collection is no longer supported on hcustom

   3234   1   0
User Avatar
Member
4 posts
Joined: Jan. 2014
Offline
Hello, I am trying to make a C++ plugin.
I am using Houdini Apprentice, but I believe here's more appropriate place to ask this stuff. If this doesn't fit here, please move this to a proper place.

Anyway, I made a hello world .c file and tried `hcustom`.

hcustom -d -g -e -s a.c

And it failed with an error.

error: garbage collection is no longer supported

I discovered one of the issued command is using Objective-C GC. (-fobjc-gc)

“`xcrun –find clang++`” -DUT_DSO_TAGINFO='“3262197cbf37461a2aaa2d91552998f06542daf3ce2e99fa6da8f77b5847f185379b21c0d07c73344332f8ed67b770454bfce210ffdae355470c2eeb77f891bd4f9445a0ff924994a3268d4a1ea011fcce019bb98388”' -c -arch x86_64 -fobjc-gc -o MBSD_GC.o /Library/Frameworks/Houdini.framework/Versions/13.0.288/Resources/toolkit/include/MBSD_GC.m


The command itself executed without GC parameter, but I can't find produced executable.

“`xcrun –find clang++`” -DUT_DSO_TAGINFO='“3262197cbf37461a2aaa2d91552998f06542daf3ce2e99fa6da8f77b5847f185379b21c0d07c73344332f8ed67b770454bfce210ffdae355470c2eeb77f891bd4f9445a0ff924994a3268d4a1ea011fcce019bb98388”' -c -arch x86_64 -o MBSD_GC.o /Library/Frameworks/Houdini.framework/Versions/13.0.288/Resources/toolkit/include/MBSD_GC.m


Maybe I am missing the next step. I am using clang on OSX.

clang -v
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix


The question is,

(1) how can I build a standalone program? (-s flag) any workaround?
(2) what is the standalone program? is it really possible to build a standalone program?
User Avatar
Member
4 posts
Joined: Jan. 2014
Offline
I erased -fobjc-gc from hcustom script, and it's working fine now. Though there're bunch of python errors, but anyway build itself works well now.
  • Quick Links