Jump to content

clang: error: unknown argument: '-fobjc-gc'

Recommended Posts

Hi All,

I'm getting started with HDK, and while trying to build geoisosurface.C I encounter the error:

clang: error: unknown argument: '-fobjc-gc'

I'm compiling with hcustom -s geoisosurface.C on Mac OS Sierra 10.12.6. I am in the Houdini console, and I've successfully launched Houdini from it. I also have the most updated version of XCode, v9.1.

Right before encountering the error, the console prints out:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ geoisosurface.o -o ./geoisosurface -Wl,-rpath,/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Libraries -L/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Libraries /Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Houdini -Wl,-rpath,/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../../../.. -arch x86_64 -fobjc-gc -framework OpenGL -framework Cocoa

I've done some digging already. Read, write, and execute have been enabled with chmod. Here are the other threads I looked at:




Any help is much appreciated!



Link to comment
Share on other sites

I've tried looking for what version of Clang Houdini was compiled with, but I can't find anything. The only HDK documentation for determining version is for Linux. I've looked at the details of the application, but I can't find anything about the Clang compiling version.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...