Jump to content
pedromosh

Environment Variables issue

Recommended Posts

Hi guys,

I'm using Houdini indie 18.0.460 with Redshift 3.2

When I add the env. variables for redshift in the houdini.env, the mops library and the sidefx labs automatically stop working. Anyone add this problem?

 

Thanks

 

 

Share this post


Link to post
Share on other sites

is probably an error probably `&` that guy you have somewhere repeated twice or isn't in the right place, etc, just guessing here.  The best thing to do is if you post you .env file here. 

Share this post


Link to post
Share on other sites

Houdini.env

 

#
# Houdini Environment Settings
#
# The contents of this file are read into the environment
# at startup.  They will override any existing entries in
# the environment.
#
# The syntax is one entry per line as follows:
#    VAR = VALUE
#
# Values may be quoted
#    VAR = "VALUE"
#
# Values may be empty
#    VAR =
#

# Example:
#
# HOUDINI_NO_SPLASH = 1

#MOPS
MOPS="D:/Dummy/Tools/MOPS"
QLIB="/path/to/qlib"
HOUDINI_PATH=$HOUDINI_PATH;$QLIB;$MOPS;&

#QLIB
QLIB="D:/Dummy/Tools/QLIB/otls"
HOUDINI_OTLSCAN_PATH=@/otls;$QLIB/base;$QLIB/future;$QLIB/experimental

#REDSHIFT
HOUDINI_DSO_ERROR = 2
PATH = "C:/ProgramData/Redshift/bin;$PATH"
HOUDINI_PATH = "C:/ProgramData/Redshift/Plugins/Houdini/18.0.460;&"

#Denoiser
HOUDINI_NVIDIA_OPTIX_DSO_PATH = C:/Users/PMAIA-PC/Documents/houdini18.0/optix

Share this post


Link to post
Share on other sites

You're redefining HOUDINI_PATH there at the end without including $HOUDINI_PATH; to make sure you're adding your new path definition to the existing one. Your last HOUDINI_PATH line should be:

HOUDINI_PATH = "$HOUDINI_PATH;C:/ProgramData/Redshift/Plugins/Houdini/18.0.460;&"

 

If you want to know more about the guts of editing the environment file, I wrote an article about this on my blog: https://www.toadstorm.com/blog/?p=678

That said, I'd recommend you switch to using packages instead of using the Houdini.env. They're a lot easier to configure. I have another article here you can read about packages, and it comes with a sample Redshift package you can use: https://www.toadstorm.com/blog/?p=722

Share this post


Link to post
Share on other sites

Hi,

Thank you very much for the help.

| HOUDINI_PATH = "$HOUDINI_PATH;C:/ProgramData/Redshift/Plugins/Houdini/18.0.460;&"  | worked just fine.

I'm going to take a look into the packages you've suggested.

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×