Jump to content

HDK basics print out


Recommended Posts

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 ?

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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

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.

Guest
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...