hcustom disable warnings

   2066   3   0
User Avatar
Member
8 posts
Joined: Dec. 2013
Offline
I can't figure out how to disable some warnings while using hcustom on linux (fedora).

I see that running “hcustom -cflags” shows the flags used, but how do I modify these? preferably temporarily or in my bash script.

Anyone know?
User Avatar
Member
7753 posts
Joined: July 2005
Online
Try setting the HCUSTOM_CFLAGS environment variable (introduced in 13.0.548). It needs to also include all the default compiler options I think.
User Avatar
Member
8 posts
Joined: Dec. 2013
Offline
Where do I do that?

I tried setting it in my shell script, but the environment variable gets doubled up.

I tried setting it in the houdini.env file in my home folder, but that did nothing either.

(Linux)
User Avatar
Member
7753 posts
Joined: July 2005
Online
In your shell, prior to running hcustom.

eg.
export HCUSTOM_CFLAGS=`hcustom –cflags`
echo $HCUSTOM_CFLAGS
hcustom -i . SOP_Star.C
  • Quick Links