rom Posted June 6, 2012 Share Posted June 6, 2012 I have just started to learn HDK, and c++ for that matter, so please excuse my ignorance. I am attempting to 'frankensteine' the Sop_Star sample. My really stupid question, is how to just print out a value, so I can start looking at what's going on. I have tried cout << "hello world", but where does this get printed to. How can I see print output in houdini ? Quote Link to comment Share on other sites More sharing options...
goldleaf Posted June 6, 2012 Share Posted June 6, 2012 The output should happen in the terminal from which you ran Houdini. I know this is how Linux/Mac work, and I would imagine that on Windows, if you are using the command line, it would print the message there as well. I have just started to learn HDK, and c++ for that matter, so please excuse my ignorance. I am attempting to 'frankensteine' the Sop_Star sample. My really stupid question, is how to just print out a value, so I can start looking at what's going on. I have tried cout << "hello world", but where does this get printed to. How can I see print output in houdini ? Quote Link to comment Share on other sites More sharing options...
kubabuk Posted June 6, 2012 Share Posted June 6, 2012 On windows there is a floating console shell window which is hidden and pops up for the first time when you run into some errors (in your code most likely). To change that behavior you need to set some hconfig variables: HOUDINI_WINDOW_CONSOLE := 0 That's why I prefer starting houdini from cygwin, which makes things more intuitive kuba Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.